9618/12 · October/November 2024 · Worked solutions

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

Question 0

Part 0 — solution

0 0 1

Mark points

  • Include the ideas shown in the solution above.

Part 0 — solution

0 1 1

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 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 mark for each shaded part. 2 A B C X

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

0 0 1

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

0 1 0

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(b) — solution

1 mark for (P XOR Q) and (Q OR NOT R) 2

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

mark for second XOR gate and final NAND gate with appropriate inputs

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

  1. Open Source Initiative // Free Software Foundation

Mark points

  • Open Source Initiative // Free Software Foundation

Part 1 — solution

  1. Allows program source code to be examined
  2. … so that the business can adapt/modify the program to meet their needs
  3. Allows the programmer to earn money for the software and updates

Mark points

  • Allows program source code to be examined
  • … so that the business can adapt/modify the program to meet their needs
  • Allows the programmer to earn money for the software and updates

Part 1 — solution

mark for correct IX column Instructions ACC content IX content LDM #19

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

Answer: 18 20

18 20 DEC ACC LDD 23

Mark points

  • Correct result: 18 20

Part 1 — solution

LSL #2 0110 1000 ADD #5

Mark points

  • Include the ideas shown in the solution above.

Question 2

Part 2(a) — solution

  1. It is difficult to change / update the firmware by the user
  2. Errors cannot be fixed easily // Troubleshooting / fault-finding / repairing is
  3. Functionality cannot be changed/extended easily // Cannot be easily
  4. Faulty / outdated devices are often thrown away rather than repaired
  5. … leading to e-waste

Mark points

  • It is difficult to change / update the firmware by the user
  • Errors cannot be fixed easily // Troubleshooting / fault-finding / repairing is
  • Functionality cannot be changed/extended easily // Cannot be easily
  • Faulty / outdated devices are often thrown away rather than repaired
  • … leading to e-waste

Part 2(b) — solution

  1. DRAM is less expensive to manufacture/purchase than SRAM in the
  2. DRAM has a higher bit density per chip // more data can be stored

Mark points

  • DRAM is less expensive to manufacture/purchase than SRAM in the
  • DRAM has a higher bit density per chip // more data can be stored

Part 2(c) — solution

  1. EPROM uses ultraviolet light to erase data whilst EEPROM uses an
  2. EPROM has to be removed from the circuit board when changing the
  3. EPROM erases all the data, EEPROM can erase parts of the data

Mark points

  • EPROM uses ultraviolet light to erase data whilst EEPROM uses an
  • EPROM has to be removed from the circuit board when changing the
  • EPROM erases all the data, EEPROM can erase parts of the data

Part 2 — solution

Answer: 40 20 · ADD 19

40 20 ADD 19 LDI 25

Mark points

  • Correct result: 40 20
  • Correct result: ADD 19

Part 2 — solution

Answer: 0001 1110 · AND #30 · OR B11110010

  1. [B11110010] Obtain/use: OR

Mark points

  • [B11110010] Obtain/use: OR

Question 3

Paper page 4 for Q3
Original paper page 4

Part 3(a) — solution

1 mark for each correct purpose 4 Register Purpose Program Counter Stores the address of the next instruction to be (PC) fetched/executed Memory Address Stores the address of the memory location Register (MAR) where data will be read from/written to Stores the data read from the address in the Memory Data MAR // stores the data to be written to the Register (MDR) address in the MAR Stores a number that will be added to the Index Register (IX) operand, to form the address of the data

Mark points

  • Include the ideas shown in the solution above.

Part 3(b) — solution

  1. HDMI has faster transfer rates than VGA
  2. … needed due to high resolution / large number of pixels of monitor //
  3. HDMI supports video and audio transfer between computer and
  4. … so no separate sound cable is needed unlike VGA
  5. HDMI is digital interface therefore no data is lost in transfer to analogue
  6. HDMI is less prone to error/crosstalk/external interference

Mark points

  • HDMI has faster transfer rates than VGA
  • … needed due to high resolution / large number of pixels of monitor //
  • HDMI supports video and audio transfer between computer and
  • … so no separate sound cable is needed unlike VGA
  • HDMI is digital interface therefore no data is lost in transfer to analogue
  • HDMI is less prone to error/crosstalk/external interference

Part 3(c) — solution

  1. It manages the scheduling of processes // Decides which process is to be
  2. Allows multi-tasking/multi-processing
  3. Ensures fair access
  4. Handles interrupts
  5. Manages / allocates which resources the processes require
  6. Facilitates the sharing and exchange of data between processes
  7. Prevents interference between processes // conflict resolution

Mark points

  • It manages the scheduling of processes // Decides which process is to be
  • Allows multi-tasking/multi-processing
  • Ensures fair access
  • Handles interrupts
  • Manages / allocates which resources the processes require
  • Facilitates the sharing and exchange of data between processes
  • Prevents interference between processes // conflict resolution

Part 3 — solution

Answer: 5 20

5 20 INC ACC LDR #21

Mark points

  • Correct result: 5 20

Part 3 — solution

Answer: 1111 1011

1111 1011 INC ACC

Mark points

  • Correct result: 1111 1011

Question 4

Paper page 6 for Q4
Original paper page 6

Part 4(a) — solution

  1. Single stepping
  2. Run the program one line at a time
  3. … and check the variable contents / program flow // show the effect of
  4. Set breakpoints
  5. … run the code up to a set line
  6. ... and then check the status
  7. Variable/report watch window
  8. … view how the data changes as the program is running

Mark points

  • Single stepping
  • Run the program one line at a time
  • … and check the variable contents / program flow // show the effect of
  • Set breakpoints
  • … run the code up to a set line
  • ... and then check the status
  • Variable/report watch window
  • … view how the data changes as the program is running

Part 4(b) — solution

  1. Subroutines can be shared / reused
  2. … between team members who are working independently
  3. … without having to rewrite/re-test them which saves the
  4. A program library provides continuity between programs/programmers
  5. Individual programmers can contribute their specialisms to the library //

Mark points

  • Subroutines can be shared / reused
  • … between team members who are working independently
  • … without having to rewrite/re-test them which saves the
  • A program library provides continuity between programs/programmers
  • Individual programmers can contribute their specialisms to the library //

Part 4(c) — solution

  1. File contents are converted to cipher text
  2. If intercepted the data cannot be understood without the decryption key

Mark points

  • File contents are converted to cipher text
  • If intercepted the data cannot be understood without the decryption key

Part 4 — solution

Answer: 15 21

15 21 LDX 2

Mark points

  • Correct result: 15 21

Question 5

Part 5(a) — solution

  1. Treat colleagues fairly and avoid acts of discrimination
  2. Be prepared to accept / offer critique
  3. … so that technical work can be improved
  4. Credit the contributions of colleagues
  5. … so that they feel valued / respected
  6. Help / train colleagues
  7. Maintain the health, safety and welfare of the public
  8. … so as not to endanger anyone
  9. Be honest / realistic in making claims about the software
  10. … so that public trust is maintained
  11. Maintain the security of the public's data

Mark points

  • Treat colleagues fairly and avoid acts of discrimination
  • Be prepared to accept / offer critique
  • … so that technical work can be improved
  • Credit the contributions of colleagues
  • … so that they feel valued / respected
  • Help / train colleagues
  • Maintain the health, safety and welfare of the public
  • … so as not to endanger anyone
  • Be honest / realistic in making claims about the software
  • … so that public trust is maintained
  • Maintain the security of the public's data

Part 5(b)(i) — solution

Type of software licence 3

Mark points

  • Include the ideas shown in the solution above.

Part 5(b)(ii) — solution

  1. To identify themselves as the owner/author // To gain formal recognition
  2. To allow for legal consequences if anyone steals/copies it
  3. To restrict competition

Mark points

  • To identify themselves as the owner/author // To gain formal recognition
  • To allow for legal consequences if anyone steals/copies it
  • To restrict competition

Question 6

Paper page 8 for Q6
Original paper page 8

Part 6(a) — solution

  1. There is reduced data redundancy // less repeated data
  2. … because each item of data is only stored once
  3. Data consistency is maintained // Data integrity is improved
  4. … changes in one table will automatically update in another
  5. ... linked data cannot be entered differently in two tables
  6. Program-data independence is ensured
  7. … changes to the data do not require programs to be re-written // queries
  8. Complex queries are easier to run
  9. Different views can be provided
  10. …. so users can only see specific aspects of the database
  11. Multiple concurrent access is possible
  12. ... through record locking

Mark points

  • There is reduced data redundancy // less repeated data
  • … because each item of data is only stored once
  • Data consistency is maintained // Data integrity is improved
  • … changes in one table will automatically update in another
  • ... linked data cannot be entered differently in two tables
  • Program-data independence is ensured
  • … changes to the data do not require programs to be re-written // queries
  • Complex queries are easier to run
  • Different views can be provided
  • …. so users can only see specific aspects of the database
  • Multiple concurrent access is possible
  • ... through record locking

Part 6(b)(i) — solution

  1. CUSTOMER to JOB is 1 to many
  2. … implemented by Primary Key in CUSTOMER is Foreign Key in JOB
  3. EMPLOYEE to LOGIN_DATA is 1 to 1
  4. … implemented by Primary Key in EMPLOYEE is Foreign Key in
  5. JOB to JOB_EMPLOYEE is 1 to many
  6. … implemented by Primary Key in JOB is Foreign Key in
  7. EMPLOYEE to JOB_EMPLOYEE is 1 to many
  8. … implemented by Primary Key in EMPLOYEE is Foreign Key in

Mark points

  • CUSTOMER to JOB is 1 to many
  • … implemented by Primary Key in CUSTOMER is Foreign Key in JOB
  • EMPLOYEE to LOGIN_DATA is 1 to 1
  • … implemented by Primary Key in EMPLOYEE is Foreign Key in
  • JOB to JOB_EMPLOYEE is 1 to many
  • … implemented by Primary Key in JOB is Foreign Key in
  • EMPLOYEE to JOB_EMPLOYEE is 1 to many
  • … implemented by Primary Key in EMPLOYEE is Foreign Key in

Part 6(b)(ii) — solution

Answer: AND DateSent >= #01/01/2023# AND DateSent <=

  1. Select SUM of Amount
  2. From the correct table and one correct condition
  3. Remaining correct condition

Mark points

  • Select SUM of Amount
  • From the correct table and one correct condition
  • Remaining correct condition

Question 7

Paper page 10 for Q7
Original paper page 10

Part 7(a)(i) — solution

  1. the number of bits used to represent a colour // the number of colours that
  2. stores data about the image file / metadata

Mark points

  • the number of bits used to represent a colour // the number of colours that
  • stores data about the image file / metadata

Part 7(a)(ii) — solution

  1. Decreasing resolution means details within the image are lost because
  2. Decreasing the resolution will decrease the file size because there are

Mark points

  • Decreasing resolution means details within the image are lost because
  • Decreasing the resolution will decrease the file size because there are

Part 7(a)(iii) — solution

  1. Run-Length Encoding

Mark points

  • Run-Length Encoding

Part 7(b) — solution

  1. an attribute of a drawing object // data about a shape // defines one
  2. all the drawing objects/shapes in an image // stores the

Mark points

  • an attribute of a drawing object // data about a shape // defines one
  • all the drawing objects/shapes in an image // stores the

Question 8

Paper page 12 for Q8
Original paper page 12

Part 8(a) — solution

1 mark for each correct content of the ACC (4) 5

Mark points

  • Include the ideas shown in the solution above.

Part 8(b)(i) — solution

1 mark each correct content of ACC 3 Instructions ACC content

Mark points

  • Include the ideas shown in the solution above.

Part 8(b)(ii) — solution

  1. An odd binary number will have a 1 in the Least Significant Bit (LSB)
  2. A bit manipulation operation is required to access/mask only the LSB and
  3. Compare the result of the masking with denary 1
  4. … the result of the comparison will be true if the number is odd

Mark points

  • An odd binary number will have a 1 in the Least Significant Bit (LSB)
  • A bit manipulation operation is required to access/mask only the LSB and
  • Compare the result of the masking with denary 1
  • … the result of the comparison will be true if the number is odd

Question 9

Paper page 16 for Q9
Original paper page 16

Part 9(a) — solution

  1. Infra-red sensor
  2. Measure / check the height of the vehicle
  3. Pressure sensor
  4. Measure / check the weight of the vehicle

Mark points

  • Infra-red sensor
  • Measure / check the height of the vehicle
  • Pressure sensor
  • Measure / check the weight of the vehicle

Part 9(b) — solution

  1. Because there is no use of feedback // the warning sign is only
  2. ... the output of the turning on of the sign does not affect the input of data
  3. The system does not have any actuators

Mark points

  • Because there is no use of feedback // the warning sign is only
  • ... the output of the turning on of the sign does not affect the input of data
  • The system does not have any actuators