Loading....
|
Press & Hold to Drag Around |
|||
|
Click Here to Close |
|||
Question 1 Report
A student is learning about different number systems used in computing.
| Number system | Base | Digits used |
|---|---|---|
| Binary | ||
| Denary (decimal) | ||
| Hexadecimal |
(a) Complete the table. [3]
(b) Convert the denary number 157 into binary. Show your working. [2]
(c) Convert the binary number 11010110 into hexadecimal. Show your working. [1]
(a) The three number systems commonly used in computing are:
| Number system | Base | Digits used |
|---|---|---|
| Binary | Base 2 | 0 and 1 [1] |
| Denary (decimal) | Base 10 | 0 to 9 [1] |
| Hexadecimal | Base 16 | 0 to 9 and A to F [1] |
Binary uses only two digits because computer hardware operates on two electrical states (on/off). Denary is the everyday human counting system. Hexadecimal is a shorthand for binary: each hex digit maps to exactly four binary bits, making long binary strings easier to read.
(b) Converting 157 to binary using the place-value method:
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 |
157 = 128 + 16 + 8 + 4 + 1, so the binary representation is 10011101. [2]
(c) Converting 11010110 to hexadecimal:
Split the 8-bit binary number into two groups of 4 bits:
Therefore 11010110 in hexadecimal is D6. [1]
(a) The three number systems commonly used in computing are:
| Number system | Base | Digits used |
|---|---|---|
| Binary | Base 2 | 0 and 1 [1] |
| Denary (decimal) | Base 10 | 0 to 9 [1] |
| Hexadecimal | Base 16 | 0 to 9 and A to F [1] |
Binary uses only two digits because computer hardware operates on two electrical states (on/off). Denary is the everyday human counting system. Hexadecimal is a shorthand for binary: each hex digit maps to exactly four binary bits, making long binary strings easier to read.
(b) Converting 157 to binary using the place-value method:
| 128 | 64 | 32 | 16 | 8 | 4 | 2 | 1 |
|---|---|---|---|---|---|---|---|
| 1 | 0 | 0 | 1 | 1 | 1 | 0 | 1 |
157 = 128 + 16 + 8 + 4 + 1, so the binary representation is 10011101. [2]
(c) Converting 11010110 to hexadecimal:
Split the 8-bit binary number into two groups of 4 bits:
Therefore 11010110 in hexadecimal is D6. [1]
Question 2 Report
A warehouse uses automated guided vehicles (AGVs) to move goods from shelves to the packing area.
(a) Describe how an AGV navigates around the warehouse. [3]
(b) Identify two sensors an AGV uses to avoid collisions. For each, describe how it helps prevent accidents. [4]
(a) How an automated guided vehicle (AGV) navigates a warehouse:
(b) Two sensors for collision avoidance:
(a) How an automated guided vehicle (AGV) navigates a warehouse:
(b) Two sensors for collision avoidance:
Question 3 Report
Embedded systems are found in many everyday devices.
(a) Describe what is meant by an embedded system. [2]
(b) State three examples of devices that contain embedded systems. For each device, describe the task the embedded system performs. [2]
(a) An embedded system is a dedicated computer system built into a larger device to perform a specific, fixed function. [1] Unlike a general-purpose computer, it is designed for one task only. It typically contains a microprocessor, a small amount of memory and input/output interfaces, and runs a fixed program stored in ROM that does not change during normal operation. [1]
(b) Devices containing embedded systems include:
(Any three valid device-plus-task pairs earn the marks.)
(a) An embedded system is a dedicated computer system built into a larger device to perform a specific, fixed function. [1] Unlike a general-purpose computer, it is designed for one task only. It typically contains a microprocessor, a small amount of memory and input/output interfaces, and runs a fixed program stored in ROM that does not change during normal operation. [1]
(b) Devices containing embedded systems include:
(Any three valid device-plus-task pairs earn the marks.)
Question 4 Report
(a) Complete the table showing the properties of different register sizes for unsigned integers.
| Register size | Maximum unsigned denary value | Number of different values |
|---|---|---|
| 8-bit | ||
| 16-bit | ||
| 32-bit |
[6]
(b) A sensor reading returns a value of 50000. State the minimum register size from the table that could store this value as an unsigned integer. Explain your answer.
[2]
(a)
| Register size | Maximum unsigned denary value | Number of different values |
|---|---|---|
| 8-bit | 255 | 256 |
| 16-bit | 65535 | 65536 |
| 32-bit | 4,294,967,295 | 4,294,967,296 |
The pattern follows the formula: maximum value = \(2^n - 1\) and number of different values = \(2^n\), where n is the register size in bits. [6]
(b) The minimum register size is 16-bit. [1] An 8-bit register can store a maximum of 255, which is far less than 50000. A 16-bit register can store up to 65535, which is greater than 50000, so it is the smallest register from the table that can hold this value. [1]
(a)
| Register size | Maximum unsigned denary value | Number of different values |
|---|---|---|
| 8-bit | 255 | 256 |
| 16-bit | 65535 | 65536 |
| 32-bit | 4,294,967,295 | 4,294,967,296 |
The pattern follows the formula: maximum value = \(2^n - 1\) and number of different values = \(2^n\), where n is the register size in bits. [6]
(b) The minimum register size is 16-bit. [1] An 8-bit register can store a maximum of 255, which is far less than 50000. A 16-bit register can store up to 65535, which is greater than 50000, so it is the smallest register from the table that can hold this value. [1]
Question 5 Report
(a) The diagram shows an analogue sound wave being digitised.
Explain what the black dots on the diagram represent.
[2]
(b) Explain why the digitised version of the sound is not a perfect copy of the original analogue wave.
[2]
(c) Describe two ways the accuracy of the digital recording could be improved.
[2]
(a) Explain what the black dots on the diagram represent. [2]
The black dots are sample points where the amplitude (loudness) of the analogue sound wave has been measured and recorded as a digital value. [1] Each dot captures the height of the wave at one specific moment in time. The analogue-to-digital converter (ADC) takes these measurements at regular intervals determined by the sampling rate. [1]
(b) Explain why the digitised version is not a perfect copy. [2]
The digital recording only captures the wave's amplitude at the discrete sample points, so any changes in the sound between samples are missed entirely. The faster the wave changes, the more detail is lost between samples. [1] Additionally, the amplitude value at each sample is rounded to the nearest level allowed by the bit depth (this is called quantisation). If the true amplitude falls between two available levels, the recorded value is an approximation, introducing a small error called quantisation noise. [1]
(c) Describe two ways the accuracy of the digital recording could be improved. [2]
Way 1: Increase the sampling rate (take more samples per second). This captures the wave at more frequent intervals, so less detail is lost between sample points. The digitised waveform follows the original shape much more closely. [1]
Way 2: Increase the bit depth (use more bits per sample). This provides more amplitude levels to choose from, so each sample value is a closer approximation to the true amplitude. The gap between consecutive levels becomes smaller, reducing quantisation error. [1]
(a) Explain what the black dots on the diagram represent. [2]
The black dots are sample points where the amplitude (loudness) of the analogue sound wave has been measured and recorded as a digital value. [1] Each dot captures the height of the wave at one specific moment in time. The analogue-to-digital converter (ADC) takes these measurements at regular intervals determined by the sampling rate. [1]
(b) Explain why the digitised version is not a perfect copy. [2]
The digital recording only captures the wave's amplitude at the discrete sample points, so any changes in the sound between samples are missed entirely. The faster the wave changes, the more detail is lost between samples. [1] Additionally, the amplitude value at each sample is rounded to the nearest level allowed by the bit depth (this is called quantisation). If the true amplitude falls between two available levels, the recorded value is an approximation, introducing a small error called quantisation noise. [1]
(c) Describe two ways the accuracy of the digital recording could be improved. [2]
Way 1: Increase the sampling rate (take more samples per second). This captures the wave at more frequent intervals, so less detail is lost between sample points. The digitised waveform follows the original shape much more closely. [1]
Way 2: Increase the bit depth (use more bits per sample). This provides more amplitude levels to choose from, so each sample value is a closer approximation to the true amplitude. The gap between consecutive levels becomes smaller, reducing quantisation error. [1]
Question 6 Report
A fast-food restaurant uses a concept keyboard for taking orders at the counter.
(a) Describe how a concept keyboard, such as the one shown above, works. [2]
(b) State two advantages of using a concept keyboard instead of a standard keyboard in a fast-food restaurant. [2]
(c) State two disadvantages of using a concept keyboard. [1]
(a) How a concept keyboard works:
Each key on the concept keyboard is a large button with an image or label representing a specific item or action (such as "Burger", "Large", or "Complete Order"). [1] When the operator presses a button, it sends a signal to the computer system to add the corresponding item to the order or perform the associated action. [1]
Unlike a standard keyboard where each key represents a single character, each key on a concept keyboard triggers a predefined command specific to the application it was designed for.
(b) Two advantages of using a concept keyboard in a fast-food restaurant:
(c) Two disadvantages of using a concept keyboard:
(a) How a concept keyboard works:
Each key on the concept keyboard is a large button with an image or label representing a specific item or action (such as "Burger", "Large", or "Complete Order"). [1] When the operator presses a button, it sends a signal to the computer system to add the corresponding item to the order or perform the associated action. [1]
Unlike a standard keyboard where each key represents a single character, each key on a concept keyboard triggers a predefined command specific to the application it was designed for.
(b) Two advantages of using a concept keyboard in a fast-food restaurant:
(c) Two disadvantages of using a concept keyboard:
Question 7 Report
A school uses different input and output devices in its ICT suite.
| Device | Input or Output | Purpose |
|---|---|---|
| Microphone | ||
| Projector | ||
| Scanner |
(a) Complete the table by stating whether each device is an input or output device, and describing its purpose in the school. [3]
(a) The completed table:
| Device | Input or Output | Purpose |
|---|---|---|
| Microphone | Input | Captures the teacher's voice for recording lessons or for use in video conferencing, converting sound waves into electrical signals the computer can process. [1] |
| Projector | Output | Displays images, videos or presentations from a computer onto a large screen or wall so the whole class can see the content. [1] |
| Scanner | Input | Converts printed documents or images into digital files that can be stored, edited or shared on the computer. [1] |
A microphone is an input device because it sends data into the computer. A projector is an output device because it receives data from the computer and presents it visually. A scanner is an input device because it captures external data (a printed page) and digitises it for the computer to use.
(a) The completed table:
| Device | Input or Output | Purpose |
|---|---|---|
| Microphone | Input | Captures the teacher's voice for recording lessons or for use in video conferencing, converting sound waves into electrical signals the computer can process. [1] |
| Projector | Output | Displays images, videos or presentations from a computer onto a large screen or wall so the whole class can see the content. [1] |
| Scanner | Input | Converts printed documents or images into digital files that can be stored, edited or shared on the computer. [1] |
A microphone is an input device because it sends data into the computer. A projector is an output device because it receives data from the computer and presents it visually. A scanner is an input device because it captures external data (a printed page) and digitises it for the computer to use.
Question 8 Report
A programmer writes a program that uses loops and selection.
(a) Describe the difference between a FOR loop and a WHILE loop. [2]
(b) State one situation where a FOR loop is more appropriate than a WHILE loop. Give a reason. [2]
(c) Describe what is meant by selection (IF-THEN-ELSE) in programming. [2]
(d) Describe what is meant by nested selection. Give an example scenario where it would be used. [2]
(e) Describe the difference between a WHILE loop and a REPEAT-UNTIL loop.
[2]
(f) Write pseudocode using a REPEAT-UNTIL loop that asks the user to enter a password until the correct password "abc123" is entered.
[2]
(g) Write pseudocode using nested IF statements for a grading system that assigns grades based on a student's mark: 70 or above = "Distinction", 50-69 = "Merit", 40-49 = "Pass", below 40 = "Fail".
[4]
(a) A FOR loop repeats a block of code a predetermined number of times. It uses a counter variable that is automatically initialised, incremented and checked by the loop structure itself. [1] A WHILE loop repeats a block of code as long as a specified condition remains true. The number of repetitions is not known in advance; the loop continues until the condition becomes false. [1]
(b) A FOR loop is more appropriate when the number of iterations is known in advance. For example, printing exam results for exactly 30 students is best handled by a FOR loop. [1] The loop counter automatically counts from 1 to 30, making the code simpler and avoiding the need for a separate counter variable and manual condition check. [1]
(c) Selection (IF-THEN-ELSE) allows the program to choose between different paths of execution based on whether a condition evaluates to true or false. [1] For example: IF a student's mark is 50 or above THEN display "Pass" ELSE display "Fail". The condition is evaluated, and only one of the two branches executes. [1]
(d) Nested selection is when one IF statement is placed inside another, allowing the program to test multiple conditions in a structured sequence. [1] For example, a ticketing system might first check if the customer is under 16 (child), and if so, check whether they are under 5 (free ticket) or aged 5-15 (child-rate ticket). Each subsequent condition refines the decision further. [1]
(e) A WHILE loop checks its condition before the loop body executes. If the condition is initially false, the body never executes at all. [1] A REPEAT-UNTIL loop executes the body first and then checks the condition afterwards. This guarantees the body always executes at least once, regardless of the condition. [1]
(f)
REPEAT
INPUT Password
UNTIL Password = "abc123"The REPEAT-UNTIL structure is ideal here because the user must be asked for input at least once before the password can be checked. [1] The loop continues prompting until the correct password is entered. [1]
(g)
INPUT Mark
IF Mark >= 70 THEN
OUTPUT "Distinction"
ELSE
IF Mark >= 50 THEN
OUTPUT "Merit"
ELSE
IF Mark >= 40 THEN
OUTPUT "Pass"
ELSE
OUTPUT "Fail"
ENDIF
ENDIF
ENDIFThe nested IF structure tests conditions from highest to lowest. Once a condition is met, the corresponding grade is output and no further conditions are tested. [1] [1] [1] [1]
(a) A FOR loop repeats a block of code a predetermined number of times. It uses a counter variable that is automatically initialised, incremented and checked by the loop structure itself. [1] A WHILE loop repeats a block of code as long as a specified condition remains true. The number of repetitions is not known in advance; the loop continues until the condition becomes false. [1]
(b) A FOR loop is more appropriate when the number of iterations is known in advance. For example, printing exam results for exactly 30 students is best handled by a FOR loop. [1] The loop counter automatically counts from 1 to 30, making the code simpler and avoiding the need for a separate counter variable and manual condition check. [1]
(c) Selection (IF-THEN-ELSE) allows the program to choose between different paths of execution based on whether a condition evaluates to true or false. [1] For example: IF a student's mark is 50 or above THEN display "Pass" ELSE display "Fail". The condition is evaluated, and only one of the two branches executes. [1]
(d) Nested selection is when one IF statement is placed inside another, allowing the program to test multiple conditions in a structured sequence. [1] For example, a ticketing system might first check if the customer is under 16 (child), and if so, check whether they are under 5 (free ticket) or aged 5-15 (child-rate ticket). Each subsequent condition refines the decision further. [1]
(e) A WHILE loop checks its condition before the loop body executes. If the condition is initially false, the body never executes at all. [1] A REPEAT-UNTIL loop executes the body first and then checks the condition afterwards. This guarantees the body always executes at least once, regardless of the condition. [1]
(f)
REPEAT
INPUT Password
UNTIL Password = "abc123"The REPEAT-UNTIL structure is ideal here because the user must be asked for input at least once before the password can be checked. [1] The loop continues prompting until the correct password is entered. [1]
(g)
INPUT Mark
IF Mark >= 70 THEN
OUTPUT "Distinction"
ELSE
IF Mark >= 50 THEN
OUTPUT "Merit"
ELSE
IF Mark >= 40 THEN
OUTPUT "Pass"
ELSE
OUTPUT "Fail"
ENDIF
ENDIF
ENDIFThe nested IF structure tests conditions from highest to lowest. Once a condition is met, the corresponding grade is output and no further conditions are tested. [1] [1] [1] [1]
Question 9 Report
(a) The logic circuit below has two inputs (A and B) and one output (X).
Complete the truth table for this circuit.
| A | B | NOT A | X |
|---|---|---|---|
| 0 | 0 | ||
| 0 | 1 | ||
| 1 | 0 | ||
| 1 | 1 |
[4]
(b) Write the Boolean expression for output X.
[2]
(c) Describe in words a real-world situation that this logic circuit could model.
[2]
(d) Draw a truth table for the Boolean expression X = A OR (NOT B).
[3]
(e) State two uses of logic gates in everyday electronic devices.
[2]
(a) The circuit passes input A through a NOT gate, then feeds the result (NOT A) and input B into an AND gate to produce output X. The truth table is completed by evaluating each row:
| A | B | NOT A | X = (NOT A) AND B |
|---|---|---|---|
| 0 | 0 | 1 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 0 |
Row 1: NOT 0 = 1; 1 AND 0 = 0. [1]
Row 2: NOT 0 = 1; 1 AND 1 = 1. [1]
Row 3: NOT 1 = 0; 0 AND 0 = 0. [1]
Row 4: NOT 1 = 0; 0 AND 1 = 0. [1]
(b) X = (NOT A) AND B [1+1]
This reads: the output X is 1 only when A is 0 (NOT A = 1) and B is 1.
(c) A real-world example: a security light that turns on (X = 1) when it is dark outside (A = 0, meaning NOT A = 1) AND motion is detected (B = 1). During daytime (A = 1) or when there is no motion (B = 0), the light stays off. [2]
(d) Truth table for X = A OR (NOT B):
| A | B | NOT B | X = A OR (NOT B) |
|---|---|---|---|
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
Row 1: NOT 0 = 1; 0 OR 1 = 1. [1]
Row 2: NOT 1 = 0; 0 OR 0 = 0. [1]
Row 3: NOT 0 = 1; 1 OR 1 = 1.
Row 4: NOT 1 = 0; 1 OR 0 = 1. [1]
(e) Two uses of logic gates in everyday electronic devices:
(a) The circuit passes input A through a NOT gate, then feeds the result (NOT A) and input B into an AND gate to produce output X. The truth table is completed by evaluating each row:
| A | B | NOT A | X = (NOT A) AND B |
|---|---|---|---|
| 0 | 0 | 1 | 0 |
| 0 | 1 | 1 | 1 |
| 1 | 0 | 0 | 0 |
| 1 | 1 | 0 | 0 |
Row 1: NOT 0 = 1; 1 AND 0 = 0. [1]
Row 2: NOT 0 = 1; 1 AND 1 = 1. [1]
Row 3: NOT 1 = 0; 0 AND 0 = 0. [1]
Row 4: NOT 1 = 0; 0 AND 1 = 0. [1]
(b) X = (NOT A) AND B [1+1]
This reads: the output X is 1 only when A is 0 (NOT A = 1) and B is 1.
(c) A real-world example: a security light that turns on (X = 1) when it is dark outside (A = 0, meaning NOT A = 1) AND motion is detected (B = 1). During daytime (A = 1) or when there is no motion (B = 0), the light stays off. [2]
(d) Truth table for X = A OR (NOT B):
| A | B | NOT B | X = A OR (NOT B) |
|---|---|---|---|
| 0 | 0 | 1 | 1 |
| 0 | 1 | 0 | 0 |
| 1 | 0 | 1 | 1 |
| 1 | 1 | 0 | 1 |
Row 1: NOT 0 = 1; 0 OR 1 = 1. [1]
Row 2: NOT 1 = 0; 0 OR 0 = 0. [1]
Row 3: NOT 0 = 1; 1 OR 1 = 1.
Row 4: NOT 1 = 0; 1 OR 0 = 1. [1]
(e) Two uses of logic gates in everyday electronic devices:
Would you like to proceed with this action?