9618/11 · 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 1

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 0

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.

Question 1

Paper page 3 for Q1
Original paper page 3

Part 1(a) — solution

2 marks for all 3 lines correct 2

Mark points

  • Include the ideas shown in the solution above.

Part 1 — solution

mark for 1 line correct Description Term a component created drawing list using a formula defines one characteristic drawing object of a component data required to create all property components in the graphic

Mark points

  • Include the ideas shown in the solution above.

Part 1(b) — solution

  1. The number of bits used to represent each colour

Mark points

  • The number of bits used to represent each colour

Part 1 — solution

  1. Increase in bit depth means the image has a greater range of colours //
  2. Increase in bit depth makes the image closer to the original / more

Mark points

  • Increase in bit depth means the image has a greater range of colours //
  • Increase in bit depth makes the image closer to the original / more

Part 1(c) — solution

  1. Reduced bandwidth usage when transmitting the message
  2. Reduced transmission time from email client to email server
  3. Reduced storage space on the email
  4. Email accounts often have a maximum size for an attachment

Mark points

  • Reduced bandwidth usage when transmitting the message
  • Reduced transmission time from email client to email server
  • Reduced storage space on the email
  • Email accounts often have a maximum size for an attachment

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

mark for NOT gate and OR gate and NOR gate

Mark points

  • Include the ideas shown in the solution above.

Question 2

Paper page 4 for Q2
Original paper page 4

Part 2(a) — solution

  1. Receives packets from internet / external network
  2. Implements a firewall
  3. Analyses the destination IP address of each packet
  4. Forwards the packet towards its destination // send packets onto local
  5. ...using the routing table
  6. Maintains / updates the routing
  7. Allocates private IP addresses
  8. Finds the most efficient route to the destination
  9. Changes the packet format for transmission over the next network //
  10. Network Address Translation (NAT):NAT is a technique used by routers

Mark points

  • Receives packets from internet / external network
  • Implements a firewall
  • Analyses the destination IP address of each packet
  • Forwards the packet towards its destination // send packets onto local
  • ...using the routing table
  • Maintains / updates the routing
  • Allocates private IP addresses
  • Finds the most efficient route to the destination
  • Changes the packet format for transmission over the next network //
  • Network Address Translation (NAT):NAT is a technique used by routers

Part 2(b) — solution

  1. To allow two or more devices to communicate with one another
  2. To connect individual devices to each other
  3. To receive transmissions and forward them to their destination
  4. To allow connection of devices (to the central device) using radio
  5. To allow the central device to send / receive radio signals / Wi-Fi signals
  6. To allow wireless enabled devices to connect to a wired network
  7. To connect two LANs / segments with the same protocol
  8. To transmit data between two networks with the same protocol

Mark points

  • To allow two or more devices to communicate with one another
  • To connect individual devices to each other
  • To receive transmissions and forward them to their destination
  • To allow connection of devices (to the central device) using radio
  • To allow the central device to send / receive radio signals / Wi-Fi signals
  • To allow wireless enabled devices to connect to a wired network
  • To connect two LANs / segments with the same protocol
  • To transmit data between two networks with the same protocol

Part 2(c) — solution

  1. The students cannot access their files without a reliable internet
  2. The amount of space for no payment may be limited so students will have
  3. The students do not have control over the backup (or security) of their

Mark points

  • The students cannot access their files without a reliable internet
  • The amount of space for no payment may be limited so students will have
  • The students do not have control over the backup (or security) of their

Part 2(d) — solution

  1. Star topology is more resilient to faults
  2. …because there is no single cable and leads to less disruption to teaching
  3. Higher performance as fewer collisions
  4. ...because each device in the classroom is only connected to the switch
  5. Easier to add new nodes
  6. …because each device in the classroom connects directly to the switch
  7. Easier to fault find compared to bus topology

Mark points

  • Star topology is more resilient to faults
  • …because there is no single cable and leads to less disruption to teaching
  • Higher performance as fewer collisions
  • ...because each device in the classroom is only connected to the switch
  • Easier to add new nodes
  • …because each device in the classroom connects directly to the switch
  • Easier to fault find compared to bus topology

Question 3

Paper page 6 for Q3
Original paper page 6

Part 3(a) — solution

  1. 1:M between CUSTOMER and SHOP_ORDER
  2. 1:M between SUPPLIER and ITEM
  3. 1:M between SHOP_ORDER and ORDER_ITEM and M:1 between

Mark points

  • 1:M between CUSTOMER and SHOP_ORDER
  • 1:M between SUPPLIER and ITEM
  • 1:M between SHOP_ORDER and ORDER_ITEM and M:1 between

Part 3(b) — solution

  1. Reduced data redundancy
  2. Improved data integrity / consistency / referential integrity
  3. Allows for views / improved privacy
  4. Allows for program-data independence
  5. Complex queries can be executed

Mark points

  • Reduced data redundancy
  • Improved data integrity / consistency / referential integrity
  • Allows for views / improved privacy
  • Allows for program-data independence
  • Complex queries can be executed

Part 3(c)(i) — solution

1 mark for 1 CREATE DATABASE SHOP;

Mark points

  • Include the ideas shown in the solution above.

Part 3(c)(ii) — solution

Answer: AND SHOP_ORDER.CustomerID = 'HJ231'; · OR

  1. WHERE ORDER_ITEM.OrderNo = SHOP_ORDER.OrderNo
  2. AND SHOP_ORDER.CustomerID = 'HJ231';
  3. ON ORDER_ITEM.OrderNo = SHOP_ORDER.OrderNo
  4. WHERE SHOP_ORDER.CustomerID = 'HJ231';

Mark points

  • WHERE ORDER_ITEM.OrderNo = SHOP_ORDER.OrderNo
  • AND SHOP_ORDER.CustomerID = 'HJ231';
  • ON ORDER_ITEM.OrderNo = SHOP_ORDER.OrderNo
  • WHERE SHOP_ORDER.CustomerID = 'HJ231';

Question 4

Paper page 8 for Q4
Original paper page 8

Part 4(a) — solution

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

Mark points

  • Include the ideas shown in the solution above.

Part 4(b) — solution

1 mark for both AND gates 2

Mark points

  • Include the ideas shown in the solution above.

Question 5

Paper page 9 for Q5
Original paper page 9

Part 5(a) — solution

  1. Program Counter (PC)
  2. stores the address where the next instruction is to be read from
  3. Memory Address Register (MAR)
  4. stores the address of the memory location (or an I/O component)
  5. Current Instruction Register (CIR)
  6. holds the instruction currently being decoded and/or executed
  7. Status Register
  8. Contains bits which can be referenced individually and set or cleared

Mark points

  • Program Counter (PC)
  • stores the address where the next instruction is to be read from
  • Memory Address Register (MAR)
  • stores the address of the memory location (or an I/O component)
  • Current Instruction Register (CIR)
  • holds the instruction currently being decoded and/or executed
  • Status Register
  • Contains bits which can be referenced individually and set or cleared

Part 5(b) — solution

  1. Immediate Access Store holds all the data / instructions / programs
  2. Immediate Access Store is volatile memory
  3. Immediate Access Store has fast access times

Mark points

  • Immediate Access Store holds all the data / instructions / programs
  • Immediate Access Store is volatile memory
  • Immediate Access Store has fast access times

Part 5(c)(i) — solution

  1. The CPU can now perform nearly twice as many F-E cycles per second
  2. Instead of 2.1 billion F-E cycles per second, the CPU can now perform 4

Mark points

  • The CPU can now perform nearly twice as many F-E cycles per second
  • Instead of 2.1 billion F-E cycles per second, the CPU can now perform 4

Part 5(c)(ii) — solution

  1. Multiple cores introduce additional overheads
  2. …because of the need for communication between cores
  3. Software may not be designed for multiple cores…
  4. …so one of the cores will be left idle
  5. Memory access speed may not match speed of cores…
  6. …so causing delay
  7. The two computers may have more differences than just the cores
  8. …one may have more RAM which allows faster multitasking
  9. ...one may have a GPU
  10. ...etc

Mark points

  • Multiple cores introduce additional overheads
  • …because of the need for communication between cores
  • Software may not be designed for multiple cores…
  • …so one of the cores will be left idle
  • Memory access speed may not match speed of cores…
  • …so causing delay
  • The two computers may have more differences than just the cores
  • …one may have more RAM which allows faster multitasking
  • ...one may have a GPU
  • ...etc

Question 6

Paper page 11 for Q6
Original paper page 11

Part 6(a) — solution

  1. easier to debug the program
  2. … because it translates line-by-line and stops when an error is found
  3. … only reporting one error at a time
  4. … which allows the error to be corrected in real time
  5. ... and the program can restart at same point when error occurred
  6. The effect of any changes made by the programmer can be seen
  7. A partially completed program can be translated / tested on its own

Mark points

  • easier to debug the program
  • … because it translates line-by-line and stops when an error is found
  • … only reporting one error at a time
  • … which allows the error to be corrected in real time
  • ... and the program can restart at same point when error occurred
  • The effect of any changes made by the programmer can be seen
  • A partially completed program can be translated / tested on its own

Part 6(b) — solution

  1. Partially compiled programs can be used on different platforms as they
  2. Code is optimised for the CPU as machine code is generated at run time
  3. Source code does not need recompiling so more efficient to run

Mark points

  • Partially compiled programs can be used on different platforms as they
  • Code is optimised for the CPU as machine code is generated at run time
  • Source code does not need recompiling so more efficient to run

Part 6(c)(i) — solution

  1. Prettyprint
  2. Expand/collapse code blocks
  3. Auto indentation / formatting

Mark points

  • Prettyprint
  • Expand/collapse code blocks
  • Auto indentation / formatting

Part 6(c)(ii) — solution

  1. Single stepping
  2. Breakpoints
  3. Report window
  4. Variable expressions

Mark points

  • Single stepping
  • Breakpoints
  • Report window
  • Variable expressions

Question 7

Paper page 12 for Q7
Original paper page 12

Part 7(a) — solution

  1. Additive manufacturing
  2. Uses a digital 3D model or a Computer Aided Design (CAD) (file)
  3. Builds up the model one layer at a time
  4. ...starting from the bottom
  5. ...using x, y and z co-ordinates
  6. The material is fused / cured together layer by layer
  7. Material is heated and pushed through nozzle / extruder
  8. Photosensitive liquid resin is exposed to a UV-laser beam
  9. Uses liquid plastic resin melted with arc lamps
  10. Uses a laser to form objects from powdered material

Mark points

  • Additive manufacturing
  • Uses a digital 3D model or a Computer Aided Design (CAD) (file)
  • Builds up the model one layer at a time
  • ...starting from the bottom
  • ...using x, y and z co-ordinates
  • The material is fused / cured together layer by layer
  • Material is heated and pushed through nozzle / extruder
  • Photosensitive liquid resin is exposed to a UV-laser beam
  • Uses liquid plastic resin melted with arc lamps
  • Uses a laser to form objects from powdered material

Part 7(b) — solution

  1. To prevent overheating // ensure material is hot enough
  2. ...by identifying the temperature of the object (being printed)
  3. ...by identifying the temperature of the material being used

Mark points

  • To prevent overheating // ensure material is hot enough
  • ...by identifying the temperature of the object (being printed)
  • ...by identifying the temperature of the material being used

Part 7(c) — solution

  1. Dynamic RAM has lower cost per unit
  2. A fast access speed is not needed
  3. Higher bit density // more data can be stored per chip

Mark points

  • Dynamic RAM has lower cost per unit
  • A fast access speed is not needed
  • Higher bit density // more data can be stored per chip

Question 8

Part 8(a) — solution

  1. To create a symbol table

Mark points

  • To create a symbol table

Part 8(b)(i) — solution

  1. Data movement: e.g. LDR #50 // STO 201
  2. Arithmetic operation: e.g. ADD 100 // INC IX
  3. Conditional instruction: e.g. JPE 96

Mark points

  • Data movement: e.g. LDR #50 // STO 201
  • Arithmetic operation: e.g. ADD 100 // INC IX
  • Conditional instruction: e.g. JPE 96

Part 8(b)(ii) — solution

  1. both load the contents of an address into the Accumulator
  2. direct accesses the address given by the operand whereas indexed adds

Mark points

  • both load the contents of an address into the Accumulator
  • direct accesses the address given by the operand whereas indexed adds

Part 8(b)(iii) — solution

  1. Indirect (addressing)
  2. Relative (addressing)

Mark points

  • Indirect (addressing)
  • Relative (addressing)

Part 8(c)(i) — solution

0000 0101 1

Mark points

  • Include the ideas shown in the solution above.

Part 8(c)(ii) — solution

0000 0010 1

Mark points

  • Include the ideas shown in the solution above.

Part 8(c)(iii) — solution

1101 0010 1

Mark points

  • Include the ideas shown in the solution above.

Question 9

Paper page 16 for Q9
Original paper page 16

Part 9(a) — solution

  1. Feedback ensures that a system operates within set criteria / constraints
  2. ...by enabling system output to affect (subsequent) system input
  3. ...thus allowing conditions to be automatically adjusted

Mark points

  • Feedback ensures that a system operates within set criteria / constraints
  • ...by enabling system output to affect (subsequent) system input
  • ...thus allowing conditions to be automatically adjusted

Part 9(b) — solution

  1. Dedicated to one task applied to example
  2. Does not require much processing power applied to example
  3. Built into a larger system applied to example
  4. Contains firmware that cannot be easily updated applied to example
  5. The system does not have its own operating system
  6. An embedded system must contain a processor, memory and an I/O

Mark points

  • Dedicated to one task applied to example
  • Does not require much processing power applied to example
  • Built into a larger system applied to example
  • Contains firmware that cannot be easily updated applied to example
  • The system does not have its own operating system
  • An embedded system must contain a processor, memory and an I/O