OCRpapersFilteredForAQA Papers2014
OCRpapersFilteredForAQA Papers2014
CSE Com
C mputter Scien
S nce
Maay 20
014
Pastt Pap
perss
Nam
me _
______
_____________
_______
_________
The following sheets are the past papers from the OCR board and amended to
reflect the topics that you study.
The grade boundaries for each exam have been adjusted and below you can
see the grades achievable based on the amended question papers.
There are spaces for some papers which are not available in this booklet but
we will sit in the run up to study leave.
Paper A* A B C D E F
Jan 11 61(90%) 54(80%) 48(70%) 41(60%) 34(50%) 27(40%) 20(30%)
Jun 11 50(90%) 44(80%) 39(70%) 33(60%) 28(50%) 22(40%) 17(30%)
Jan 12 51(84%) 46(75%) 40(66%) 35(58%) 29(48%) 24(39%) 18(30%)
Jun 12 44(85%) 38(74%) 33(63%) 28(53%) 22(43%) 18(34%) 13(25%)
Jan 13 51(85%) 45(75%) 39(65%) 34(56%) 27(45%) 21(35%) 15(25%)
Jun 13 67(89%) 59(78%) 50(66%) 42(55%) 34(45%) 27(35%) 19(25%)
GENERAL CERTIFICATE OF SECONDARY EDUCATION
COMPUTING A451
Computer Systems and Programming
* A 4 5 1 *
INSTRUCTIONS TO CANDIDATES
• Write your name, centre number and candidate number in the boxes above. Please write
clearly and in capital letters.
• Use black ink. Pencil may be used for graphs and diagrams only.
• Read each question carefully. Make sure you know what you have to do before starting
your answer.
• Write your answer to each question in the space provided. Additional paper may be
used if necessary but you must clearly show your candidate number, centre number and
question number(s).
• Answer all the questions.
• Do not write in the bar codes.
...................................................................................................................................................
.............................................................................................................................................. [1]
3MHz CPU
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
quad-core CPU
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
© OCR 2011
3
2 A small business has three stand-alone computers, a printer and an internet connection in an
office.
(a) State two advantages of connecting the computers to create a local area network.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
(b) Describe, using a diagram, how the computers can be connected to each other using a bus
topology, stating what hardware will be needed.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [6]
© OCR 2011 Turn over
4
3 (a) Calculate the denary value of the 8-bit binary number 10010111.
You must show your working.
.................................................... [2]
(b) Add the following two 8-bit binary numbers and explain the result.
You must show your working.
1 0 0 1 0 1 1 1
+
1 1 0 1 1 0 0 0
...................................................................................................................................................
.............................................................................................................................................. [3]
© OCR 2011
5
4 A desk-top computer’s memory includes ROM and RAM.
Tick one box in each row to show whether each of the statements is true for ROM or RAM.
ROM RAM
State an input, output and storage device which will be needed by the computer. For each, explain
the reason why it is needed.
Input device
..................................................................................................................................................... [1]
Reason
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..................................................................................................................................................... [2]
Output device:
..................................................................................................................................................... [1]
Reason
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..................................................................................................................................................... [2]
Storage device:
..................................................................................................................................................... [1]
Reason
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..................................................................................................................................................... [2]
(a) PUPIL and CLASS are two entities used in this database.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
(b) The data for the first four pupils in the PUPIL table is shown below.
(i) State the primary key for the PUPIL table and explain your answer.
Explanation
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
(ii) The database also contains a CLASS table. The primary key for the CLASS table is
ClassCode.
Explain why ClassCode has also been included in the PUPIL table.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [3]
© OCR 2011
9
8 A syntax error can occur when writing a program.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
(b) Describe tools and facilities available in an integrated development environment (IDE) which
can help the programmer to identify and correct syntax errors.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [4]
The quality of written communication will be assessed in your answer to this question.
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..................................................................................................................................................... [6]
© OCR 2011
11
10 (a) Explain how ASCII is used to represent text in a computer system.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [3]
...................................................................................................................................................
.............................................................................................................................................. [1]
Explain the difference between the character sets of Unicode and ASCII.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
(a) When the player rolls the three dice, the player is given points according to the algorithm
expressed in the flow diagram below.
BEGIN
END
© OCR 2011
13
(b) Some rolls of the dice result in a negative score.
State a set of three numbers which can be used to test whether the algorithm produces a
negative score when it should, and state the expected output for your test data.
When the dice are rolled, the results are stored in an array called DiceResult.
For example, if the first dice shows a 5 then the value of DiceResult(1) becomes 5.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
(d) State the data type and size of the array DiceResult giving a reason for each.
Reason: ....................................................................................................................................
...................................................................................................................................................
Reason: ....................................................................................................................................
.............................................................................................................................................. [4]
BEGIN RollTheDice
DiceResult(1) = Random Number between 1 and 6
DiceResult(2) = Random Number between 1 and 6
DiceResult(3) = Random Number between 1 and 6
END
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [4]
[END]
© OCR 2011
GENERAL CERTIFICATE OF SECONDARY EDUCATION
COMPUTING A451
Computer Systems and Programming
* A 4 5 1 *
INSTRUCTIONS TO CANDIDATES
• Write your name, centre number and candidate number in the boxes above. Please write
clearly and in capital letters.
• Use black ink. Pencil may be used for graphs and diagrams only.
• Read each question carefully. Make sure you know what you have to do before starting
your answer.
• Write your answer to each question in the space provided. Additional paper may be
used if necessary but you must clearly show your candidate number, centre number and
question number(s).
• Answer all the questions.
• Do not write in the bar codes.
Storage Device:
...................................................................................................................................................
...................................................................................................................................................
Input Device:
...................................................................................................................................................
...................................................................................................................................................
Output Device:
...................................................................................................................................................
...................................................................................................................................................
[3]
A secondary school is upgrading its computer equipment.
(b) Complete the table below to show whether magnetic, optical or solid state storage is most
appropriate for each of the following uses. Give a reason for each case.
The first one has been done for you.
Magnetic, optical or
Use Reason why this is most appropriate
solid state
Storing pictures in a solid state Is not affected by the camera being moved
digital camera around
...........................................................................
...........................................................................
...........................................................................
© OCR 2011
[6]
3
(c)* The secondary school wants the computer systems to be more accessible to students with
disabilities.
Describe, with examples, input and output devices which are available for students with
disabilities.
The quality of written communication will be assessed in your answer to this question.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [6]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [3]
Describe each of these and give one example of how it would be used in the shop’s
database.
Form
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
Example
...................................................................................................................................................
.............................................................................................................................................. [1]
Report
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
Example
...................................................................................................................................................
.............................................................................................................................................. [1]
© OCR 2011
5
Here is some data from the supermarket’s database.
(c) The shop runs queries using logical operators to select data for different purposes.
(i) State the ProductID of the products in the above sample which fit the following criteria.
Supplier = Killey’s
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
[4]
(ii) Write the criteria which can be used to select all products which are not discontinued
and where the QuantityLeft is lower than the ReorderLevel.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [3]
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
(b) A list of file extensions for common file standards used on the internet is shown below.
Complete the table below to show which file format from the list given above may be used
for each of the following files.
[5]
© OCR 2011
7
(c) Some of the file formats use compression.
(i) Explain the importance of compressing files when transmitting them via the internet.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
(ii) Describe the difference between lossy and lossless compression and give an example
where each would be used.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [4]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
(d) Explain why hexadecimal numbers are often used to represent binary numbers.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
© OCR 2011
11
7 A program contains the following code to calculate the circumference of a bicycle wheel, using the
wheel size (diameter).
BEGIN
CONSTANT Pi = 3.14
INPUT WheelSize
Circumference = Pi * WheelSize
OUTPUT Circumference
END
Constant: ...........................................................................................................................
Variables: ...........................................................................................................................
[2]
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
(b) The data type of WheelSize is integer and the data type of Circumference is real number.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
Write an algorithm to calculate and output the human equivalent of the age of a dog using the
method described.
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..........................................................................................................................................................
..................................................................................................................................................... [5]
[END]
© OCR 2011
Wednesday 11 January 2012 – Afternoon
GCSE COMPUTING
A451/01 Computer Systems and Programming
* A 4 2 6 2 6 0 1 1 2 *
* A 4 5 1 0 1 *
INSTRUCTIONS TO CANDIDATES
• Write your name, centre number and candidate number in the boxes above. Please write
clearly and in capital letters.
• Use black ink. HB pencil may be used for graphs and diagrams only.
• Answer all the questions.
• Read each question carefully. Make sure you know what you have to do before starting
your answer.
• Write your answer to each question in the space provided. Additional paper may be
used if necessary but you must clearly show your candidate number, centre number and
question number(s).
• Do not write in the bar codes.
© OCR 2012
3
1 Bytes, Kilobytes and Megabytes are units used for the amount of data stored in a computer.
(a) State which of these units is most appropriate for the following items of data.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
1 ................................................................................................................................................
...................................................................................................................................................
2 ................................................................................................................................................
.............................................................................................................................................. [2]
The company uses the following algorithm to convert sizes before printing them in its catalogue.
Half sizes are not possible (e.g. size 12.5).
INPUT Size
INPUT Origin
IF Origin = “America” THEN
Size = Size + 2
ELSE
IF Origin = “France” THEN
Size = Size – 26
END IF
END IF
PRINT Size
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
(ii) State the most appropriate data type for the variables Origin and Size, giving a reason
for your choice.
Origin
Reason ..............................................................................................................................
...........................................................................................................................................
Size
Reason ..............................................................................................................................
...................................................................................................................................... [4]
© OCR 2012
5
(b) The company sells the following dresses.
State the size which will be printed in the catalogue using the algorithm given.
Dress A .....................................................................................................................................
Dress B .....................................................................................................................................
(a) Tick one box in each row to show whether or not each of the following items must be included
in the bitmap file.
...........................................................................................................................................
...................................................................................................................................... [1]
(ii) How does the resolution affect the size of the bitmap file?
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
(a) The DOG table contains fields for the sex and weight of the dog.
(i) Describe a validation check that can be done on the sex field.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
(ii) Describe a different validation check that can be done on the weight field.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [3]
© OCR 2012
9
(c) Mrs Smith uses a query to select jobs using the following criteria:
List the JobNumbers of the jobs that will be selected from the extract shown.
...................................................................................................................................................
.............................................................................................................................................. [1]
(d) Mrs Smith wants to use database management software to create a report of all the jobs that
she needs to perform on any given day, using data from the DOG and JOB tables.
[6]
(a) Describe two ways in which modern computer technology can help the school monitor the
pupils.
1. ...............................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
2. ...............................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [4]
1 ........................................................................................................................................
...........................................................................................................................................
2 ........................................................................................................................................
...................................................................................................................................... [2]
1 ........................................................................................................................................
...........................................................................................................................................
2 ........................................................................................................................................
...................................................................................................................................... [2]
© OCR 2012
11
(c)* Explain how the school might address any legal issues when creating a system which stores
personal data about pupils.
The quality of written communication will be assessed in your answer to this question.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [6]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [2]
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
...........................................................................................................................................
...................................................................................................................................... [1]
Explain how this upgrade will affect the performance of the computer.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
© OCR 2012
14
9 The program in a vending machine uses an array called Coins to store the value in pence of all the
coins that have been entered in the current sale.
After each sale, the array is reset so that all values are 0.
(a) Here is an example of the contents of the array Coins during a sale.
10 100 20 50 5 0 0 0 0 0
Coins(4) ....................................................................................................................................
(b) An algorithm to reset the contents of the array Coins after each sale is shown below. This
algorithm contains a logic error.
i=1
REPEAT
Coins(i) = 0
i=i+1
UNTIL i = 10
...........................................................................................................................................
...................................................................................................................................... [1]
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...................................................................................................................................... [2]
© OCR 2012
15
(c) Write an algorithm to calculate the total value of the coins entered in the current sale using
the contents of the array Coins.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
.............................................................................................................................................. [5]
© OCR 2012