9618/11 · October/November 2024 · Worked solutions

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

Question 1

Paper page 2 for Q1
Original paper page 2

Part 1(a) — solution

  1. A tebibyte = 1024 gibibytes / 1 048 576 kibibytes / 240 bytes whereas a
  2. Tebi is binary prefix giga is denary prefix

Mark points

  • A tebibyte = 1024 gibibytes / 1 048 576 kibibytes / 240 bytes whereas a
  • Tebi is binary prefix giga is denary prefix

Part 1(b)(i) — solution

Answer: C67

1 mark for: 1 C67

Mark points

  • Correct result: C67

Part 1(b)(ii) — solution

1 mark for: 1 −1641

Mark points

  • Include the ideas shown in the solution above.

Part 1(b)(iii) — solution

Answer: 573

1 mark for: 1 573

Mark points

  • Correct result: 573

Part 1(c) — solution

1 mark for working 1 mark for answer. 2 Working Using the two’s complement and adding:

Mark points

  • Include the ideas shown in the solution above.

Part 1(d) — solution

  1. The answer cannot be represented in the number of bits available
  2. The answer is larger than the maximum positive number that can be
  3. The answer is smaller than the most negative number that can be stored

Mark points

  • The answer cannot be represented in the number of bits available
  • The answer is larger than the maximum positive number that can be
  • The answer is smaller than the most negative number that can be stored

Question 2

Paper page 4 for Q2
Original paper page 4

Part 2(a) — solution

  1. Separate linked tables are used
  2. Data items are stored once so reduces data duplication / data
  3. Data changed once in one place will automatically update elsewhere
  4. Linked data cannot be entered differently in two tables
  5. Referential integrity can be enforced
  6. Changes to the data structure are managed by the DBMS
  7. … and queries are not dependent on the structure of the data
  8. … and changes to the data do not require programs to be re-written

Mark points

  • Separate linked tables are used
  • Data items are stored once so reduces data duplication / data
  • Data changed once in one place will automatically update elsewhere
  • Linked data cannot be entered differently in two tables
  • Referential integrity can be enforced
  • Changes to the data structure are managed by the DBMS
  • … and queries are not dependent on the structure of the data
  • … and changes to the data do not require programs to be re-written

Part 2(b)(i) — solution

1 mark for each correct relation 3

Mark points

  • Include the ideas shown in the solution above.

Part 2(b)(ii) — solution

  1. Create table REPAIR_PART with opening and closing brackets, all
  2. PartID and RepairNumber as varchar (or equivalent)
  3. Quantity as integer
  4. At least 1 appropriate constraint
  5. Dual primary key

Mark points

  • Create table REPAIR_PART with opening and closing brackets, all
  • PartID and RepairNumber as varchar (or equivalent)
  • Quantity as integer
  • At least 1 appropriate constraint
  • Dual primary key

Part 2(b)(iii) — solution

  1. Select SUM of AmountDue
  2. From the correct table and one correct condition
  3. Second correct condition

Mark points

  • Select SUM of AmountDue
  • From the correct table and one correct condition
  • Second correct condition

Part 2(c) — solution

1 mark for each correct definition 3 Database Term Definition All duplicate entries of data between tables are Referential Integrity consistent // all foreign keys are matched to an appropriate primary key A field that could be a primary key but is not // an Candidate Key attribute or smallest set of attributes in a table where no tuple has the same value A row / record in a table // one instance of an entity in Tuple a table

Mark points

  • Include the ideas shown in the solution above.

Question 3

Part 3(a) — solution

  1. To synchronise operations
  2. ... by creating and transmitting timing signals on the control bus
  3. Sends/receives control signals along control bus
  4. Reads an instruction from the contents of the memory location whose
  5. Coordinates/synchronises the activity of other components in the CPU
  6. Manages the execution of instructions
  7. Controls communication between the components in the CPU

Mark points

  • To synchronise operations
  • ... by creating and transmitting timing signals on the control bus
  • Sends/receives control signals along control bus
  • Reads an instruction from the contents of the memory location whose
  • Coordinates/synchronises the activity of other components in the CPU
  • Manages the execution of instructions
  • Controls communication between the components in the CPU

Part 3(b)(i) — solution

  1. Higher clock speed means that more F-E cycles are executed per second
  2. Larger bus width means that more data transferred at the same time

Mark points

  • Higher clock speed means that more F-E cycles are executed per second
  • Larger bus width means that more data transferred at the same time

Part 3(b)(ii) — solution

  1. A voltage change occurs when the drive is plugged in
  2. The computer detects this voltage change
  3. The code of the device is transferred to computer
  4. … the OS finds the code of the device in the list of devices
  5. … and loads the appropriate device driver

Mark points

  • A voltage change occurs when the drive is plugged in
  • The computer detects this voltage change
  • The code of the device is transferred to computer
  • … the OS finds the code of the device in the list of devices
  • … and loads the appropriate device driver

Part 3(c) — solution

  1. DRAM requires constant refresh cycles unlike SRAM
  2. DRAM has lower access speed than SRAM

Mark points

  • DRAM requires constant refresh cycles unlike SRAM
  • DRAM has lower access speed than SRAM

Part 3(d)(i) — solution

  1. The disc is spun at high speed
  2. A laser is shone onto the disc to read / write
  3. … using optical head to move it into position
  4. … it follows the spiral track from the centre outwards
  5. When writing the laser burns pits to represent the data
  6. When reading the laser reflects from pits and lands
  7. The reflection from a pit and a land is different
  8. ... the differences are interpreted as 1 or 0

Mark points

  • The disc is spun at high speed
  • A laser is shone onto the disc to read / write
  • … using optical head to move it into position
  • … it follows the spiral track from the centre outwards
  • When writing the laser burns pits to represent the data
  • When reading the laser reflects from pits and lands
  • The reflection from a pit and a land is different
  • ... the differences are interpreted as 1 or 0

Part 3(d)(ii) — solution

  1. The computer and optical disc reader/writer send and receive at different
  2. A buffer allows temporary storage of the data
  3. … so that the computer can transfer data to the buffer at the higher speed
  4. ... and is not held up waiting for data to transfer // so the computer can
  5. ... so the optical disc reader/writer is not overloaded
  6. … and so that data is transferred to optical disc reader/writer from the

Mark points

  • The computer and optical disc reader/writer send and receive at different
  • A buffer allows temporary storage of the data
  • … so that the computer can transfer data to the buffer at the higher speed
  • ... and is not held up waiting for data to transfer // so the computer can
  • ... so the optical disc reader/writer is not overloaded
  • … and so that data is transferred to optical disc reader/writer from the

Question 4

Part 4(a)(i) — solution

  1. Secondary storage space is divided into file allocation units
  2. Space on secondary storage is allocated to particular files
  3. Maintains/creates directory structures
  4. Specifies the logical method of file storage e.g. FAT or NTFS
  5. Provides file naming conventions
  6. Controls user access // implements access rights //implements password
  7. Controls access to the file by other software
  8. Specifies tasks that can be performed on a file e.g. open, close, delete,
  9. Allows searching for a file

Mark points

  • Secondary storage space is divided into file allocation units
  • Space on secondary storage is allocated to particular files
  • Maintains/creates directory structures
  • Specifies the logical method of file storage e.g. FAT or NTFS
  • Provides file naming conventions
  • Controls user access // implements access rights //implements password
  • Controls access to the file by other software
  • Specifies tasks that can be performed on a file e.g. open, close, delete,
  • Allows searching for a file

Part 4(a)(ii) — solution

  1. To allow data to be retrieved / restored when lost
  2. To automatically make a duplicate copy of data…
  3. …so the user does not have to remember to backup data
  4. To make regular duplicate copies of data

Mark points

  • To allow data to be retrieved / restored when lost
  • To automatically make a duplicate copy of data…
  • …so the user does not have to remember to backup data
  • To make regular duplicate copies of data

Part 4(b)(i) — solution

  1. Less of the teacher’s storage space is used
  2. ... so more student work can be stored
  3. Transmission time is reduced
  4. … so the teacher does not have to wait as long for it to arrive
  5. Bandwidth usage is reduced
  6. … so other transmissions are not adversely affected
  7. Less data allowance is used on the teacher’s email system

Mark points

  • Less of the teacher’s storage space is used
  • ... so more student work can be stored
  • Transmission time is reduced
  • … so the teacher does not have to wait as long for it to arrive
  • Bandwidth usage is reduced
  • … so other transmissions are not adversely affected
  • Less data allowance is used on the teacher’s email system

Part 4(b)(ii) — solution

  1. Run-Length Encoding // RLE
  2. Repeated sequences of the same characters are replaced by
  3. ... a single copy of the character
  4. ... and a count of the number of characters

Mark points

  • Run-Length Encoding // RLE
  • Repeated sequences of the same characters are replaced by
  • ... a single copy of the character
  • ... and a count of the number of characters

Part 4(c) — solution

  1. It saves development time for the student
  2. … by using pre-written code
  3. There is less testing to do // the routines are more likely to work correctly
  4. … because they have already been tested and are error-free
  5. It results in a more robust program
  6. Subroutines can be used that they do not have the skill to write
  7. … which enables a more complex program to be written

Mark points

  • It saves development time for the student
  • … by using pre-written code
  • There is less testing to do // the routines are more likely to work correctly
  • … because they have already been tested and are error-free
  • It results in a more robust program
  • Subroutines can be used that they do not have the skill to write
  • … which enables a more complex program to be written

Part 4(d)(i) — solution

  1. Expand/collapse code blocks…
  2. … sections of source code that are part of the same block can be
  3. Auto-indentation // auto-formatting
  4. ... automatically indents/formats code as the user types so that the

Mark points

  • Expand/collapse code blocks…
  • … sections of source code that are part of the same block can be
  • Auto-indentation // auto-formatting
  • ... automatically indents/formats code as the user types so that the

Part 4(d)(ii) — solution

  1. Breakpoints …
  2. … stops the code running on a set line to view the current status/variable
  3. Report window // variable watch window …
  4. … shows the values in variables/data structures and how they change

Mark points

  • Breakpoints …
  • … stops the code running on a set line to view the current status/variable
  • Report window // variable watch window …
  • … shows the values in variables/data structures and how they change

Question 5

Part 5(a) — solution

1 mark for all 3 appropriate sensors 1 Scenario Type of sensor A door is open. Pressure sensor // Infra-red The external daylight-level is below a set Light sensor amount. A person is detected within 2 metres. Infra-red

Mark points

  • Include the ideas shown in the solution above.

Part 5(b) — solution

  1. X = E AND A AND C
  2. Y = E AND (B OR C OR D)

Mark points

  • X = E AND A AND C
  • Y = E AND (B OR C OR D)

Part 5(c) — solution

  1. There is no use of feedback // The light and the alarm are just warnings
  2. The output of the floodlight or the audio alarm does not affect the input of
  3. The system does not have any actuators

Mark points

  • There is no use of feedback // The light and the alarm are just warnings
  • The output of the floodlight or the audio alarm does not affect the input of
  • The system does not have any actuators

Question 6

Part 6 — solution

  1. It uses image recognition
  2. The pixels of each image from the camera are stored
  3. … and matched to the expected shape/size/colour of registration number
  4. It uses optical character recognition
  5. The pixels within the registration number area identified are analysed
  6. … and compared to expected characters/letters/numbers

Mark points

  • It uses image recognition
  • The pixels of each image from the camera are stored
  • … and matched to the expected shape/size/colour of registration number
  • It uses optical character recognition
  • The pixels within the registration number area identified are analysed
  • … and compared to expected characters/letters/numbers

Question 7

Part 7(a) — solution

  1. The user can test/trial the program before purchasing to see whether it
  2. There is no initial cost
  3. Users who try the software may spread the word so the developer gets
  4. The developer can get feedback to improve the program

Mark points

  • The user can test/trial the program before purchasing to see whether it
  • There is no initial cost
  • Users who try the software may spread the word so the developer gets
  • The developer can get feedback to improve the program

Part 7(b) — solution

  1. The owner/developer can earn a fee
  2. Comprehensive support is usually offered so problems can be easily
  3. The software is usually well tested so few bugs

Mark points

  • The owner/developer can earn a fee
  • Comprehensive support is usually offered so problems can be easily
  • The software is usually well tested so few bugs

Question 8

Paper page 14 for Q8
Original paper page 14

Part 8(a) — solution

  1. To store the value of flags/bits
  2. … that can be changed/set/cleared after arithmetic / logical operations
  3. To allow flags to be checked
  4. … to change instruction sequence

Mark points

  • To store the value of flags/bits
  • … that can be changed/set/cleared after arithmetic / logical operations
  • To allow flags to be checked
  • … to change instruction sequence

Part 8(b) — solution

  1. Special purpose registers have a specified role in the machine whereas
  2. Special purpose registers hold the state of the program’s execution while

Mark points

  • Special purpose registers have a specified role in the machine whereas
  • Special purpose registers hold the state of the program’s execution while

Question 23

Part 23 — solution

Answer: 0100 1010 · 0100 1010 · 0011 0011

  1. 0001 0111

Mark points

  • 0001 0111