9618/31 · Oct/Nov 2025
Download PDFThe composite record data type, ClubMember, is defined in pseudocode as: TYPE ClubMember DECLARE Code : INTEGER DECLARE LastName : STRING DECLARE FirstName : STRING DECLARE Telephone : STRING DECLARE JoinDate : DATE DECLARE Fees : REAL DECLARE FeesPaid : BOOLEAN ENDTYPE
Write the pseudocode statement to set up a variable for one record of the composite data type, ClubMember.
Write the pseudocode statements to assign the following values to the variable set up in part (a)(i): • 984632 to Code • TRUE to FeesPaid
An enumerated data type, Activity, is required, so that a new field, Choice, can be added to the composite data type, ClubMember, to allow members to choose an activity. Write the pseudocode statement for the type declaration of Activity to hold the names of the available activities: Badminton, Football, Golf, Snooker, Swimming, Tennis.
Write the new pseudocode statement required to update the declaration of Choice in the definition of ClubMember.
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.
Write the normalised floating‑point representation of the following positive binary number using this system. 0.00000001110101101
Calculate the normalised binary floating‑point representation of –76.1875 in this system. Show your working.
Explain why protocols are essential for communication between computer systems.
POP3 is an email communication protocol. Identify and describe two other communication protocols that are used when sending or receiving emails. Protocol 1 .................................................................................................................. Description ................................................................................................................ Protocol 2 .................................................................................................................. Description ................................................................................................................
Describe two ways in which packet switching ensures a complete message is received when passing messages across a network. 1 ................................................................................................................................ 2 ................................................................................................................................
A scheduling routine determines how processes are managed by the operating system. Identify two scheduling routines. 1 ................................................................................................................................ 2 ................................................................................................................................
Describe two ways in which the complexities of the computer hardware are hidden from the user. 1 ................................................................................................................................ 2 ................................................................................................................................
Identify two items commonly found within a digital certificate. 1 ................................................................................................................................ 2 ................................................................................................................................
Explain why a digital certificate is required to validate a digital signature.


The diagram shows a logic circuit. Complete the truth table for the given logic circuit. Show your working.
Complete the Karnaugh map (K‑map) for the Boolean expression:
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 part b(ii) as a simplified sum‑of‑products. Do not carry out any further simplification.
Identify one Artificial Intelligence (AI) algorithm to find the shortest distance between two points on a graph.
Describe Deep Learning.
Outline the purpose of lexical analysis during the compilation of a program.
Write the Reverse Polish Notation (RPN) for the given infix expression: (2 – 6) * (13 + 7) / 5
The RPN expression: d a b + * c a ‑ / is to be evaluated, where: a = 6, b = 12, c = 15 and d = 5. Show the changing contents of the stack as the RPN expression is evaluated.
A stack has been implemented using pseudocode to store a maximum of 100 string items using the global variables in the following table: Identifier | Data type | Description | Initialisation value Base | INTEGER | pointer for the bottom of the stack | 0 Top | INTEGER | pointer for the top of the stack | ‑1 StackArray | STRING | 1D array to implement the stack | [0:99] Max | INTEGER | maximum number of items in the stack | 100 The value of Top is incremented each time a data item is added to the stack and decremented every time a data item is removed.
Complete the pseudocode for the function to remove a data item from the stack. FUNCTION Pop() ........................................................................................................... DECLARE DataItem : STRING DataItem ← "" IF .................................................................................................................... THEN DataItem ← ....................................................................................................... Top ← .................................................................................................. ELSE DataItem ← "You cannot remove data; the stack is empty" ENDIF ...................................................................................................................................... ENDFUNCTION
Write the pseudocode to output the data item removed from the stack with an appropriate message.
A stack is used to implement recursion. State the three essential features of recursion. 1 ................................................................................................................................ 2 ................................................................................................................................ 3 ................................................................................................................................
Explain what is meant by exception handling. Include an example of a possible cause of an exception in your answer. Explanation ....................................................................................................................................... Example ...........................................................................................................................................
The table shows assembly language instructions for a processor that has one register, the Accumulator (ACC). Instruction Label | Opcode | Operand | Explanation | LDM | #n | Load the number n to ACC | LDD | <address> | Load the contents of the location at the given address to the ACC | LDI | <address> | The address to be used is at the given address. Load the contents of this second address to the ACC | ADD | <address> | Add the contents of the given address to the ACC | SUB | <address> | Subtract the contents of the given address from the ACC | STO | <address> | Store the contents of the ACC at the given address <label>: | | <data> | Gives a symbolic address <label> to the memory location with contents <data> # denotes a denary number, e.g. #123 <label> can be used in place of <address>
Write assembly language code, using only the given instruction set to: • store the denary value 100 as a named constant • subtract the constant from the value contained in address 632 • store the result in variable Answer. Show the initialisation of the constant and Answer in the table provided.
The address 632 contains the value 45. State the value of Answer after the code described in part (a) has executed.






