9618/33 · May/June 2023 · Worked solutions

Step-by-step solutions based on the mark scheme (not a mark-scheme dump).

Question 0

Part 0 — solution

1 1 1 0 0 0 1 1 1 0 0 0 1 1 1 System 2 Mantissa Exponent

Mark points

  • Include the ideas shown in the solution above.

Part 0 — solution

1 1 1 0 0 0 1 0 0 0 0 0 1 1 1

Mark points

  • Include the ideas shown in the solution above.

Question 1

Paper page 2 for Q1
Original paper page 2

Part 1(a) — solution

  1. conversion of 113.75 to binary seen 1110001.11
  2. exponent for normalisation 7 converted to binary 111 // evidence of binary
  3. system 1 answer
  4. system 2 answer showing correct version from system 1

Mark points

  • conversion of 113.75 to binary seen 1110001.11
  • exponent for normalisation 7 converted to binary 111 // evidence of binary
  • system 1 answer
  • system 2 answer showing correct version from system 1

Part 1(b) — solution

  1. the mantissa in system 2 does not have enough bits to store the whole
  2. so precision is lost / the number is truncated

Mark points

  • the mantissa in system 2 does not have enough bits to store the whole
  • so precision is lost / the number is truncated

Part 1 — solution

Fib(5) 5 Fib(4) + Fib(3)

Mark points

  • Include the ideas shown in the solution above.

Question 2

Paper page 3 for Q2
Original paper page 3

Part 2(a) — solution

One mark for each correct line connecting a machine learning technique to its 4 most appropriate description (Max 4). Machine learning category Description simulates the data processing capabilities of the human brain to Supervised make decisions learning enables learning by mapping an input to an output based on example input- Reinforcement output pairs learning enables information related to errors produced by the neural network to be transmitted Deep learning enables learning in an interactive environment by trial and error using its own experiences Unsupervised learning enables learning by allowing the process to discover patterns on its own that were previously undetected 2023 Page 3 of 10 9618/33 Cambridge International AS & A Level – Mark Scheme May/June 2023

Mark points

  • Include the ideas shown in the solution above.

Part 2(b) — solution

  1. to find the optimal / shortest / most cost-effective route
  2. … between two nodes in a
  3. … based on distance / cost / time

Mark points

  • to find the optimal / shortest / most cost-effective route
  • … between two nodes in a
  • … based on distance / cost / time

Part 2 — solution

Fib(4) 4 Fib(3) + Fib(2)

Mark points

  • Include the ideas shown in the solution above.

Question 3

Paper page 4 for Q3
Original paper page 4

Part 3(a) — solution

Answer: 1030 1 · 1050 0 · 1025 2

One mark for each correct hash value (Max 2) 2 Record key Hash value 1030 1 1050 0 1025 2

Mark points

  • Correct result: 1030 1
  • Correct result: 1050 0
  • Correct result: 1025 2

Part 3(b) — solution

One mark per mark point (Max 4) 4 MP1 A collision occurs when the record key doesn’t match the stored record key MP2 … this means the determined storage location has already been used for another record. If the record is to be stored MP3 Search the file linearly MP4 … to find the next available storage space (closed hash) MP5 Search the overflow area linearly MP6 … to find next available storage space (open hash) If the record is to be found MP7 … search the overflow area linearly (open hash) until the matching record key is found MP8 … search linearly from where you are (closed hash) until the matching record key is found MP9 If not found record is not in file

Mark points

  • Include the ideas shown in the solution above.

Part 3 — solution

Fib(3) 3 Fib(2) + Fib(1)

Mark points

  • Include the ideas shown in the solution above.

Question 4

Paper page 5 for Q4
Original paper page 5

Part 4(a) — solution

  1. TYPE Prime
  2. = (2, 3, 5, 7, 11, 13, 17, 19)

Mark points

  • TYPE Prime
  • = (2, 3, 5, 7, 11, 13, 17, 19)

Part 4(b) — solution

  1. TYPE TDayPointer
  2. = ^STRING //^DayOfWeek

Mark points

  • TYPE TDayPointer
  • = ^STRING //^DayOfWeek

Part 4 — solution

Fib(2) 2 Fib(1) + Fib(0)

Mark points

  • Include the ideas shown in the solution above.

Question 5

Paper page 5 for Q5
Original paper page 5

Part 5(a) — solution

  1. Circuit switching is used where a dedicated path needs to be sustained
  2. A typical application is standard voice communications / video streaming /

Mark points

  • Circuit switching is used where a dedicated path needs to be sustained
  • A typical application is standard voice communications / video streaming /

Part 5(b) — solution

One mark per benefit (Max 2) 4 MP1 Whole of bandwidth is available MP2 Dedicated communication channel increases the quality of transmission MP3 Data is transmitted with a fixed data rate MP4 No waiting time at switches MP5 Suitable for long continuous communication MP6 Fast method of data transfer MP7 Data arrives in the same order as it was sent MP8 Data can’t get lost MP9 Data all follows the same path / route MP10 Better for real-time MP11 Simple method of data transfer. One mark per drawback (Max 2) MP1 A dedicated connection makes it impossible to transmit other data even if the channel is free MP2 Not very flexible MP3 No alternative route in case of failure MP4 The time required to establish the physical link between the two stations can be too long MP5 The need to establish a dedicated path for each connection can have cost implications MP6 Dedicated channels require the whole bandwidth / bandwidth can’t be shared

Mark points

  • Include the ideas shown in the solution above.

Part 5 — solution

Fib(1) 1 1 1

Mark points

  • Include the ideas shown in the solution above.

Question 6

Paper page 6 for Q6
Original paper page 6

Part 6(a) — solution

One mark per correct valid/invalid and reason combination (Max 3) 3 DPAD99$ – Valid Reason – 4/multiple letters followed by 2/multiple digits followed by a symbol. DAD#95 – Invalid Reason – The symbol comes before the digits – it should be after. ADY123? – Invalid Reason – The ? is not a valid symbol.

Mark points

  • Include the ideas shown in the solution above.

Part 6(b) — solution

  1. <symbol> ::= $ | % | & | @ | # 1
  2. <letter> ::= A | D | P | R | Y

Mark points

  • <symbol> ::= $ | % | & | @ | # 1
  • <letter> ::= A | D | P | R | Y

Part 6(c) — solution

  1. begins with a letter
  2. letter can repeat and digit present
  3. digit can repeat or can be bypassed
  4. correct structure – name, boxes and arrows (in and out)

Mark points

  • begins with a letter
  • letter can repeat and digit present
  • digit can repeat or can be bypassed
  • correct structure – name, boxes and arrows (in and out)

Part 6 — solution

Fib(0) 0 0 0 (4) Fib(2) 2 1 + 0 1 (3) Fib(3) 3 1 + 1 2 (2) Fib(4) 4 2 + 1 3 (1) Fib(5) 5 3 + 2 5 2023 Page 10 of 10

Mark points

  • Include the ideas shown in the solution above.

Question 7

Paper page 8 for Q7
Original paper page 8

Part 7(a) — solution

Two marks if no errors present 2 One mark if one error present

Mark points

  • Include the ideas shown in the solution above.

Part 7(c) — solution

  1. Any correct Boolean term
  2. Boolean terms and operator correct and no other terms present

Mark points

  • Any correct Boolean term
  • Boolean terms and operator correct and no other terms present

Part 7(d) — solution

  1. (Z =) C (A + B)

Mark points

  • (Z =) C (A + B)

Question 8

Paper page 9 for Q8
Original paper page 9

Part 8 — solution

One mark per mark point (Max 3) 3 MP1 A large number of computer processors / separate computers connected together MP2 … simultaneously performing a set of coordinated computations // collaborative processing MP3 network infrastructure MP4 communicate using a message interface / by sending messages.

Mark points

  • Include the ideas shown in the solution above.

Question 9

Paper page 9 for Q9
Original paper page 9

Part 9(a) — solution

One mark per mark point (Max 2) 2 MP1 To provide better security MP2 … by using two different keys / a public key and a private key MP3 One of the keys is used to encrypt the message MP4 … the matching key is used to decrypt the message.

Mark points

  • Include the ideas shown in the solution above.

Part 9(b) — solution

One mark per benefit (Max 2) 4 MP1 Provides security based on laws of physics rather than mathematical algorithms, so more secure. MP2 To protect the security of data transmitted over fibre optic cables. MP3 Virtually unhackable. MP4 The performance of quantum cryptography is continuously improved, making it suitable for most valuable government/industrial secrets. MP5 Longer keys can be used MP6 Eavesdropping can be detected One mark per drawback (Max 2) MP1 Lacks many vital features such as digital signature, certified mail, etc. MP2 High cost of purchasing / maintaining equipment required. MP3 Currently only works over relatively short distances. MP4 Error rates are relatively high as technology is still being developed. MP5 Polarisation of light can change during transmission. MP6 Allows criminals and terrorists to hide their communications. 2023 Page 7 of 10 9618/33 Cambridge International AS & A Level – Mark Scheme May/June 2023

Mark points

  • Include the ideas shown in the solution above.

Question 10

Paper page 10 for Q10
Original paper page 10

Part 10 — solution

  1. IF Account = "" THEN

Mark points

  • IF Account = "" THEN

Question 11

Paper page 10 for Q11
Original paper page 10

Part 11(a) — solution

  1. correctly defined constant
  2. correctly defined array
  3. three correctly defined integers

Mark points

  • correctly defined constant
  • correctly defined array
  • three correctly defined integers

Part 11(b) — solution

  1. IF Length = 0 THEN

Mark points

  • IF Length = 0 THEN

Part 11(c) — solution

One mark per mark point (Max 4) 4 MP1 (Two stacks are required) so that the second stack can reverse the order of the first stack. MP2 Stack 1 operates as the queue with the newest elements at the bottom. Stack 2 is empty. MP3 To add an element, pop all the elements from stack 1 and push onto stack 2. MP4 Push the new element onto either stack. MP5 Pop all the elements of stack 2 back onto stack 1.

Mark points

  • Include the ideas shown in the solution above.

Question 12

Paper page 11 for Q12
Original paper page 11

Part 12(a) — solution

  1. A process using a function or procedure defined in terms of itself / calls
  2. A recursive process must have a base case (which is a way to return
  3. There must (also) be a general case where the recursive call takes place

Mark points

  • A process using a function or procedure defined in terms of itself / calls
  • A recursive process must have a base case (which is a way to return
  • There must (also) be a general case where the recursive call takes place

Part 12(b) — solution

  1. Call number column correct
  2. Function call and Number columns correct
  3. Result column down to base case (Winding) rows 1–6 correct
  4. Result column down from base case (Unwinding) rows 7–10 correct
  5. Return value column correct

Mark points

  • Call number column correct
  • Function call and Number columns correct
  • Result column down to base case (Winding) rows 1–6 correct
  • Result column down from base case (Unwinding) rows 7–10 correct
  • Return value column correct