Professional Documents
Culture Documents
CANDIDATE NAME
_____________________________________________________________________________________
1
Paper-01 (50 marks)
1. (a) Andrew wants to print a single page A4 leaflet. He wants to print 10,000 copies.
State whether he should use an inkjet or a laser printer. [1]
.......................................................................................................................................................................
(b) Andrew wants to produce small 3D models of the company logo.
Explain how a 3D cutter could be used to produce the models. [2]
.......................................................................................................................................................................
.......................................................................................................................................................................
.......................................................................................................................................................................
…………………………............................................................................................................................................
2 Tina is concerned about security threats to her web server.
Identify three security threats to her web server that Tina might be concerned about. [3]
1 ....................................................................................................................................................................
2 ....................................................................................................................................................................
3 ....................................................................................................................................................................
3 A system controls the flow of vehicles through a barrier based on three lights, A, B and C.
When a light is red, the signal is zero. When a light is green, the signal is one.
The barrier will open when the output X is one. The barrier opens if either:
• light A is red and lights B and C are both green
or
• light A is green and lights B and C are both red
(a) Design a logic circuit for the system. [5]
2
(b) Complete the truth table for given logic circuit. [5]
A B C WORKSPACE X
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
Description Device
Allows a user to write on a surface using a pen; text and drawings Digital Light Projector
are then captured electronically and stored for later use.
Uses a bright white light source and micro mirrors (on a chip) to Laser Printer
produce an image to be shone onto a wall or screen.
Uses negatively charged images on a rotating drum and positively Scanner (2D)
charged toner to output a hard copy.
3
5 Six security issues and six descriptions are shown below.
Draw a line to link each security issue to its correct description. [6]
4
7. A school network is used to transmit and store data about students.
(a) Different types and methods of transmission can be used to send data across the network.
Three descriptions about data transmission are given.
Tick (3) one Method and tick (3) one Type for each description. [3]
(b) Parity bits are used to help detect errors in data transmission. A parity bit is added to each
binary value before transmission.
Three binary values are to be transmitted using even parity.
(i) Complete the parity bit that would be added to each binary value for even parity. [3]
.............................................................................................................................................................
.............................................................................................................................................................
.............................................................................................................................................................
.............................................................................................................................................................
5
9 Data is encrypted using 128-bit symmetric encryption before it is transmitted.
(i) Explain what is meant by encryption. [1]
.............................................................................................................................................................
.............................................................................................................................................................
.............................................................................................................................................................
(ii) State how the strength of the encryption can be improved. [1]
.............................................................................................................................................................
.............................................................................................................................................................
6
PAPER 2(30 MARKS)
Pre-Release Material:
Your preparation for the examination should include attempting the following practical tasks by writing
and testing a program or programs.
A system is required to record and count votes for candidates in school council elections. The voting
system will allow for one representative to be elected from a tutor group. The school has between 28
and 35 students in each tutor group, five-year groups named Year 7 to Year 11, and there are six tutor
groups in each year group. Tutor group names are their year group followed by a single letter e.g. 7A,
7B, etc.
All students are allowed to vote in the system. Each student may only vote once for a representative
from their tutor group in the election.
You will need to complete these three tasks. Each task must be fully tested.
Task 1 – Setting up the voting system to allow a tutor group to elect a representative.
Write a program to:
• allow the tutor to enter the name of the tutor group
• allow the tutor to enter the number of students in the tutor group
• allow the tutor to enter the number of candidates in the election; maximum of four candidates
• allow the tutor to enter the names of the candidates and store them in a suitable data structure
• allow each student to input their vote or to abstain
• count the votes for each candidate and student abstentions.
When all students have voted, display the name of the tutor group, the votes for each candidate and
the name of the candidate who has won the election. If there is a tie for first place, display all
candidates with the equal highest number of votes.
1 (a) All variables, constants and other identifiers must have meaningful names.
Name two variables that you could have used for Task 1. State the data type and purpose of each
variable. [3]
(C) Write an algorithm (pseudocode, flowchart) or programming statements to enter the name of
candidates (Using Arrays and FOR –Loops). [4]
……………………………….......................................................................................................................................
.......................................................................................................................................................................
.......................................................................................................................................................................
.......................................................................................................................................................................
.......................................................................................................................................................................
……………………………….......................................................................................................................................
.......................................................................................................................................................................
.......................................................................................................................................................................
.......................................................................................................................................................................
.......................................................................................................................................................................
2 Read this section of code that inputs the ages of people entering an event. The input sequence is
ended by inputting a negative value for age. The code outputs the number of people at the event
over the age of 18.
01 Num18 = 0
02 INPUT Age
03 WHILE Age >= 0 DO
04 IF Age >= 18 THEN
05 Num18 = Num18 + Age
06 ENDIF
07 ENDWHILE
08 PRINT Num18 - Age
8
Correct code ..................................................................................................................................................
3 Complete the trace table for this algorithm using the given input data. [5]
Index 0
FOR Count 0 TO 7
INPUT Value
IF Value > 50
THEN
PassMarks[Index] Value
Index Index + 1
ENDIF
NEXT Count
PRINT "Number passed ", Index
Input data: 58, 40, 67, 85, 12, 13, 75, 82
9
4 Four statement types and four examples are shown below.
Draw a line to connect each statement type to the correct example. [4]
Statement Type Example
Assignment FOR X 1 TO 10
Iteration READ X
Input PRINT X
Output X Y+Z
5 A database table, DEVICE, has been set up to record the electronic equipment used in a small
business.
11