9618/33 · May/June 2026
Download PDFUser-defined data types may be created by programmers when writing software. Explain the reasons why user-defined data types are needed.
Write the pseudocode statement to declare a non-composite data type, Fibonacci, that holds the following numbers: 0, 1, 2, 3, 5, 8, 13, 21
Complete the following paragraph using the most appropriate words from the given list. Some words are not used. adjacent Application BitTorrent corresponding Internet layer Link lower protocol route Transport upper The implementation of a .................................................. suite can be viewed as a stack. Each .................................................. of the stack has its own specific functionality and can only communicate with .................................................. layers of the stack. User interaction is associated with the highest level of the stack, which is the .................................................. layer.
State one example of where serial file organisation could be used.
Describe how records are organised in serial files.
Outline the process that is used to find a record in a serial file.
Describe the characteristics of massively parallel computers.
State one difference and one similarity between the SIMD and MISD computer architectures. difference .................................................................................................................................. ................................................................................................................................................... ................................................................................................................................................... similarity .................................................................................................................................... ................................................................................................................................................... ...................................................................................................................................................
Numbers are stored in a computer system using binary floating-point representation with: • 12 bits for the mantissa • 4 bits for the exponent • two’s complement form for both the mantissa and the exponent.
Calculate the normalised binary floating-point representation of –18.5625 in this system. Show your working.
Explain the problem that would occur if the two binary floating-point numbers representing the denary numbers 91.5 and 123.25 were added together and the result stored in the given system.
The Karnaugh map (K-map) represents a logic circuit with four inputs. Draw loop(s) around appropriate group(s) in the K-map to produce an optimal sum-of-products.
Write the Boolean expression from your answer to 6(a)(i) as a simplified sum-of-products. Do not carry out any further simplification.
Write the Boolean expression from your answer to 6(a)(ii) in its simplest form by using Boolean algebra to simplify it.
Simplify the following expression using De Morgan’s laws and Boolean algebra. Show all the stages in your simplification.
Outline the process of using a stack to evaluate an expression written using Reverse Polish Notation (RPN).
Write the following infix expression in RPN. ((18 – 15 + 3) * 5) / 12
The RPN expression 16 3 * 36 6 / 18 6 - * + is to be evaluated. Show the changing contents of the stack as the RPN expression is evaluated.
Describe the purpose of quantum cryptography.
Outline two benefits and two drawbacks of quantum cryptography. benefit 1 .................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... benefit 2 .................................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... drawback 1 ............................................................................................................................... ................................................................................................................................................... ................................................................................................................................................... drawback 2 ............................................................................................................................... ................................................................................................................................................... ...................................................................................................................................................

Explain what is meant by regression methods in relation to machine learning.
The A* algorithm is used to perform searches on a graph. Calculate the best path between the W and E nodes on the following diagram using the A* algorithm. Show your working in the table provided. The first two rows have been done for you.
A program declares a 1D array globally as PartName[1:1000000] OF STRING, and sorts its contents in ascending alphabetical order. The function PartSearch performs a binary search on the array. The item to be found is passed as a parameter. If it is found, its location in the array is returned, otherwise, –1 is returned.
Complete the following table to define the variables used in the function.
Complete the pseudocode for the function to perform a binary search on PartName using all the variables from the table in 10(a)(i). Some lines may be left blank. FUNCTION PartSearch( ................................................................................................ ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ........................................................................................................................................... ENDFUNCTION
Describe how the time efficiency of a binary search changes as the number of items in the search list increases. Refer to Big O notation in your answer.
The table shows assembly language instructions for a processor that has one register, the Accumulator (ACC). label instruction explanation opcode operand LDM #n Load the number n to ACC LDD <address> Load the contents of the location at the given address to ACC LDI <address> The address to be used is at the given address. Load the contents of this second address to ACC ADD <address> Add the contents of the given address to the ACC ADD #n Add the number n to the ACC SUB <address> Subtract the contents of the given address from the ACC SUB #n Subtract the number n from the ACC STO <address> Store the contents of ACC at the given address <label>: <data> Gives a symbolic address <label> to the memory location with the contents <data> # denotes a denary number, e.g. #123 <label> can be used in place of <address> The current contents of memory are: address data 232 120 580 26
Use only the given instruction set to write assembly language code to: • store the denary value 325 in labelled variable A • store the value from location 232 in labelled variable B • subtract the value 50 from the value stored in variable B • store the current value in the accumulator in location 875 • add the value stored in location 580 to the value stored in variable A • subtract the value stored in location 875 from the current value in the accumulator • store the result in variable Final.
Show the values of the variables A, B and Final from 11(a) in the following table, after the code has been run: label data A: B: Final:






