9618/12 · October/November 2023 · Worked solutions

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

Question 0

Part 0 — solution

0 0 0

Mark points

  • Include the ideas shown in the solution above.

Part 0 — solution

0 1 0

Mark points

  • Include the ideas shown in the solution above.

Part 0 — solution

1 0 1

Mark points

  • Include the ideas shown in the solution above.

Part 0 — solution

1 1 0

Mark points

  • Include the ideas shown in the solution above.

Part 0 — solution

0 51 65

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. infra-red / proximity (sensor)

Mark points

  • infra-red / proximity (sensor)

Part 1(b) — solution

  1. Actuator generates a signal / causes an action / converts electrical
  2. ... to push an arm // to open a trap door // to pick up the chocolate bar

Mark points

  • Actuator generates a signal / causes an action / converts electrical
  • ... to push an arm // to open a trap door // to pick up the chocolate bar

Part 1(c)(i) — solution

  1. Dedicated to a single task // limited number of functions
  2. Built into a larger system // integrated into a larger system
  3. An embedded system must contain a processor, memory and an I/O

Mark points

  • Dedicated to a single task // limited number of functions
  • Built into a larger system // integrated into a larger system
  • An embedded system must contain a processor, memory and an I/O

Part 1(c)(ii) — solution

  1. Difficult to change / update the firmware by the user // Difficult to upgrade
  2. Cannot be easily adapted for another task
  3. Troubleshooting faults/upgrading is a specialist task
  4. Devices are often thrown away rather than repaired as difficult to upgrade

Mark points

  • Difficult to change / update the firmware by the user // Difficult to upgrade
  • Cannot be easily adapted for another task
  • Troubleshooting faults/upgrading is a specialist task
  • Devices are often thrown away rather than repaired as difficult to upgrade

Part 1 — solution

  1. An application that performs financial / banking calculations
  2. ... because it is difficult to represent decimal values exactly in normal
  3. Electronic displays, e.g. calculators, digital clocks
  4. ... because visual displays only need to show individual digits
  5. ... because conversion between denary and BCD is easier
  6. The storage of the date and time in the BIOS of a PC
  7. ... because conversion with denary is easier

Mark points

  • An application that performs financial / banking calculations
  • ... because it is difficult to represent decimal values exactly in normal
  • Electronic displays, e.g. calculators, digital clocks
  • ... because visual displays only need to show individual digits
  • ... because conversion between denary and BCD is easier
  • The storage of the date and time in the BIOS of a PC
  • ... because conversion with denary is easier

Part 1 — solution

0 0 1

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

0 1 1

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

1 0 1

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

1 1 1

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

  1. To improve the security of the LAN
  2. … so that devices do not receive unintended data
  3. … so that a compromised device does not expose the whole network
  4. ... so not all devices can access all segments
  5. To make the network management easier
  6. … because faults can be isolated more efficiently
  7. ... by appropriate example
  8. To make the network easier to expand // For better control of network
  9. … by allowing for greater range of IP addresses to be available
  10. To improve network performance
  11. To reduce network congestion
  12. … by localising network communications // by dividing data between
  13. … so that devices are not flooded with data
  14. … because data sent between devices on the same subnet stays within

Mark points

  • To improve the security of the LAN
  • … so that devices do not receive unintended data
  • … so that a compromised device does not expose the whole network
  • ... so not all devices can access all segments
  • To make the network management easier
  • … because faults can be isolated more efficiently
  • ... by appropriate example
  • To make the network easier to expand // For better control of network
  • … by allowing for greater range of IP addresses to be available
  • To improve network performance
  • To reduce network congestion
  • … by localising network communications // by dividing data between
  • … so that devices are not flooded with data
  • … because data sent between devices on the same subnet stays within

Question 2

Paper page 4 for Q2
Original paper page 4

Part 2(a) — solution

  1. An object about which data can be stored
  2. The unique attribute / combination of attributes used to identify the
  3. Makes sure that if data is changed in one place the change is reflected in
  4. Makes sure that data that does not exist cannot be referenced
  5. Ensures that every foreign key has a corresponding primary key
  6. Ensures that the data in the database is consistent / up to date
  7. Prevents records from being added/deleted/modified incorrectly
  8. Makes sure any queries return accurate and complete results

Mark points

  • An object about which data can be stored
  • The unique attribute / combination of attributes used to identify the
  • Makes sure that if data is changed in one place the change is reflected in
  • Makes sure that data that does not exist cannot be referenced
  • Ensures that every foreign key has a corresponding primary key
  • Ensures that the data in the database is consistent / up to date
  • Prevents records from being added/deleted/modified incorrectly
  • Makes sure any queries return accurate and complete results

Part 2(b) — solution

  1. Backup / recovery procedures
  2. … automatically takes copies of the database and store off site on a
  3. ... so that the data can be recovered if lost
  4. Use of access rights
  5. … some users are given different access permissions to different tables
  6. ... read/write, read only, full access, etc
  7. Views
  8. … different users are able to see different parts of the database
  9. ... only see what users need to see // by example
  10. Record and table locking
  11. … prevents simultaneous access to data
  12. ... so updates are not lost // data is not overwritten
  13. Encryption
  14. ... the data is turned into ciphertext
  15. ... so it cannot be understood without a decryption key

Mark points

  • Backup / recovery procedures
  • … automatically takes copies of the database and store off site on a
  • ... so that the data can be recovered if lost
  • Use of access rights
  • … some users are given different access permissions to different tables
  • ... read/write, read only, full access, etc
  • Views
  • … different users are able to see different parts of the database
  • ... only see what users need to see // by example
  • Record and table locking
  • … prevents simultaneous access to data
  • ... so updates are not lost // data is not overwritten
  • Encryption
  • ... the data is turned into ciphertext
  • ... so it cannot be understood without a decryption key

Part 2(c) — solution

  1. Identify repeating groups of attributes
  2. ... Subject and SubjectCode
  3. Ensure each field is atomic
  4. ... StudentName should be split into e.g. FirstName and LastName
  5. Identify the primary key for the table

Mark points

  • Identify repeating groups of attributes
  • ... Subject and SubjectCode
  • Ensure each field is atomic
  • ... StudentName should be split into e.g. FirstName and LastName
  • Identify the primary key for the table

Part 2 — solution

  1. Defragmentation software
  2. … because over time saving and deleting of small files fragments the disk
  3. ... the software makes (individual) files contiguous
  4. … so access time to the files is improved
  5. … because head movement is reduced
  6. Disk contents analysis/disk repair software
  7. … to identify and mark bad sectors
  8. ... to restore corrupted files
  9. ... to recover lost data (due to hardware failure)
  10. File compression
  11. … to reduce the size of files
  12. ... which saves storage and memory space // by example
  13. ... and reduces transmission time // by example
  14. Disk formatter
  15. … to prepare a disk for use // set up the file system
  16. ... to partition the disc
  17. ... to delete all the data from the disc

Mark points

  • Defragmentation software
  • … because over time saving and deleting of small files fragments the disk
  • ... the software makes (individual) files contiguous
  • … so access time to the files is improved
  • … because head movement is reduced
  • Disk contents analysis/disk repair software
  • … to identify and mark bad sectors
  • ... to restore corrupted files
  • ... to recover lost data (due to hardware failure)
  • File compression
  • … to reduce the size of files
  • ... which saves storage and memory space // by example
  • ... and reduces transmission time // by example
  • Disk formatter
  • … to prepare a disk for use // set up the file system
  • ... to partition the disc
  • ... to delete all the data from the disc

Question 3

Paper page 6 for Q3
Original paper page 6

Part 3(a) — solution

  1. kibibyte = 1,024 bytes // 210 bytes and
  2. kibi is binary prefix and mega is denary prefix

Mark points

  • kibibyte = 1,024 bytes // 210 bytes and
  • kibi is binary prefix and mega is denary prefix

Part 3(b)(i) — solution

1111 0011 1100 1

Mark points

  • Include the ideas shown in the solution above.

Part 3(b)(ii) — solution

Answer: 865 1

865 1

Mark points

  • Correct result: 865 1

Part 3(c) — solution

1 mark for a correct application 2

Mark points

  • Include the ideas shown in the solution above.

Question 4

Paper page 7 for Q4
Original paper page 7

Part 4(a) — solution

  1. A NAND B
  2. NOT(B XOR C)
  3. Final NAND

Mark points

  • A NAND B
  • NOT(B XOR C)
  • Final NAND

Part 4(b) — solution

1 mark for each set of rows (shaded) 2 A B C X

Mark points

  • Include the ideas shown in the solution above.

Question 5

Paper page 8 for Q5
Original paper page 8

Part 5(a) — solution

  1. Ensuring data can only be accessed by / disclosed to authorised persons
  2. Ensuring data cannot be accessed by / disclosed to unauthorised

Mark points

  • Ensuring data can only be accessed by / disclosed to authorised persons
  • Ensuring data cannot be accessed by / disclosed to unauthorised

Part 5(b) — solution

  1. Ensuring the accuracy / completeness / consistency of data (during /
  2. Ensuring the data is up to date

Mark points

  • Ensuring the accuracy / completeness / consistency of data (during /
  • Ensuring the data is up to date

Part 5(c) — solution

  1. The email pretends to be from an official body
  2. ... persuading individuals to disclose private information // by example
  3. ... or requesting authentication by redirecting to an unofficial/unauthorised
  4. Malware downloaded without the user’s knowledge
  5. ... which secretly records the user’s actions / keystrokes on the computer
  6. ... and sends logs of the actions to a third party

Mark points

  • The email pretends to be from an official body
  • ... persuading individuals to disclose private information // by example
  • ... or requesting authentication by redirecting to an unofficial/unauthorised
  • Malware downloaded without the user’s knowledge
  • ... which secretly records the user’s actions / keystrokes on the computer
  • ... and sends logs of the actions to a third party

Question 6

Paper page 9 for Q6
Original paper page 9

Part 6(a) — solution

  1. Loss of quality will not be noticed
  2. Needs to be viewed in real time so less bandwidth needed if file size
  3. Smaller file sizes will reduce buffering so the video will play more
  4. Viewers may watch on different devices, so may not need high quality
  5. Original recording may not have been made in high resolution
  6. Could be streaming to high bandwidth devices
  7. The reduction in the file size is sufficient for the receiving device
  8. Viewers do not want any loss of quality

Mark points

  • Loss of quality will not be noticed
  • Needs to be viewed in real time so less bandwidth needed if file size
  • Smaller file sizes will reduce buffering so the video will play more
  • Viewers may watch on different devices, so may not need high quality
  • Original recording may not have been made in high resolution
  • Could be streaming to high bandwidth devices
  • The reduction in the file size is sufficient for the receiving device
  • Viewers do not want any loss of quality

Part 6(b) — solution

  1. … the number of bits used for each sample is increased
  2. … there will be more values available to represent each sample // more
  3. ... each binary amplitude/note in the digital recording is closer to the
  4. … quantisation errors are reduced
  5. … the digital soundwave is closer to the original analogue soundwave
  6. … the number of bits used for each sample is decreased
  7. … there will be fewer values available to represent each sample // fewer
  8. ... each binary amplitude/note in the digital recording is further from the
  9. … quantisation errors are increased
  10. … the digital soundwave is less like the original analogue soundwave

Mark points

  • … the number of bits used for each sample is increased
  • … there will be more values available to represent each sample // more
  • ... each binary amplitude/note in the digital recording is closer to the
  • … quantisation errors are reduced
  • … the digital soundwave is closer to the original analogue soundwave
  • … the number of bits used for each sample is decreased
  • … there will be fewer values available to represent each sample // fewer
  • ... each binary amplitude/note in the digital recording is further from the
  • … quantisation errors are increased
  • … the digital soundwave is less like the original analogue soundwave

Part 6(c) — solution

1 mark for answer, 1 mark for working 2 Answer: 2.5 mebibytes Working: (2048  1024  10) / (8  1024  1024)

Mark points

  • Include the ideas shown in the solution above.

Question 7

Paper page 10 for Q7
Original paper page 10

Part 7(a) — solution

  1. Only has four groups of digits // IPv6 has eight groups
  2. Uses dotted notation instead of colons
  3. Because it is a 32 bit / 4 byte address // IPv6 is 128 bits / 16 bytes

Mark points

  • Only has four groups of digits // IPv6 has eight groups
  • Uses dotted notation instead of colons
  • Because it is a 32 bit / 4 byte address // IPv6 is 128 bits / 16 bytes

Part 7(b)(i) — solution

1 mark for server only connected to router 2

Mark points

  • Include the ideas shown in the solution above.

Part 7(b)(ii) — solution

  1. The data from the sending laptop is transmitted to the router
  2. The data has address of recipient
  3. The router determines recipient’s destination address
  4. ... by using a routing table
  5. The router transmits data directly / only to recipient

Mark points

  • The data from the sending laptop is transmitted to the router
  • The data has address of recipient
  • The router determines recipient’s destination address
  • ... by using a routing table
  • The router transmits data directly / only to recipient

Part 7(b)(iii) — solution

1 mark for each use (max 2) and 4

Mark points

  • Include the ideas shown in the solution above.

Part 7(c) — solution

  1. To monitor the communications channel
  2. To send data only when there is no data being transmitted / the line is
  3. To detect a collision and then stop transmissions of further data //
  4. To calculate a random wait time / back-off time
  5. ... then retransmit the data after that random wait time
  6. Increase random time if multiple collisions

Mark points

  • To monitor the communications channel
  • To send data only when there is no data being transmitted / the line is
  • To detect a collision and then stop transmissions of further data //
  • To calculate a random wait time / back-off time
  • ... then retransmit the data after that random wait time
  • Increase random time if multiple collisions

Part 7(d) — solution

1 mark for each highlighted area 4 Type of IP address Description an IP address that is assigned to a device public IP address to allow direct access on the internet an IP address that is fixed / doesn’t static IP address change each time a device re-joins a LAN / network an IP address used for internal LAN private IP address communication only an IP address that may be refreshed / dynamic IP address changed each time a device re-joins a LAN / network

Mark points

  • Include the ideas shown in the solution above.

Question 8

Paper page 13 for Q8
Original paper page 13

Part 8(a) — solution

  1. To hide the complexities of the hardware from the user
  2. To provide a platform for software to run
  3. To provide a user interface

Mark points

  • To hide the complexities of the hardware from the user
  • To provide a platform for software to run
  • To provide a user interface

Part 8(b) — solution

1 mark for the name of the utility software 3

Mark points

  • Include the ideas shown in the solution above.

Part 8(c)(i) — solution

  1. USB / Universal Serial Bus
  2. HDMI

Mark points

  • USB / Universal Serial Bus
  • HDMI

Part 8(c)(ii) — solution

  1. A buffer temporarily holds data until it is ready to be transmitted to the
  2. The address of the data to be written to the device (in RAM) is carried
  3. All data to be written to the device / buffer is carried on the data bus

Mark points

  • A buffer temporarily holds data until it is ready to be transmitted to the
  • The address of the data to be written to the device (in RAM) is carried
  • All data to be written to the device / buffer is carried on the data bus

Question 9

Paper page 14 for Q9
Original paper page 14

Part 9(a) — solution

  1. IN - Input and output of data
  2. ADD - Arithmetic operations
  3. JPE - Unconditional and conditional instructions
  4. CMI - Compare instructions

Mark points

  • IN - Input and output of data
  • ADD - Arithmetic operations
  • JPE - Unconditional and conditional instructions
  • CMI - Compare instructions

Part 9(b) — solution

1 mark for each set of shaded rows 4 Instruction Memory address Output ACC IX address 100 101 110 111

Mark points

  • Include the ideas shown in the solution above.

Question 20

Part 20 — solution

Answer: 13 65

13 65

Mark points

  • Correct result: 13 65

Question 21

Part 21 — solution

Answer: A

Mark points

  • Select option A

Question 22

Part 22 — solution

2023 Page 11 of 11

Mark points

  • Include the ideas shown in the solution above.