20
Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming 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. INFORMATION FOR CANDIDATES The number of marks is given in brackets [ ] at the end of each question or part question. The total number of marks for this paper is 80. The Quality of Written Communication is assessed in questions marked with an asterisk (*). This document consists of 20 pages. Any blank pages are indicated. * A 4 5 1 0 1 * OCR is an exempt Charity Turn over © OCR 2015 [F/600/2375] DC (ST/SG) 103917/3 Candidates answer on the Question Paper. OCR supplied materials: None Other materials required: Calculators are allowed in this exam *2700331504* Duration: 1 hour 30 minutes Oxford Cambridge and RSA

Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

  • Upload
    others

  • View
    0

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

Wednesday 3 June 2015 – MorningGCSE COMPUTING

A451/01 Computer Systems and Programming

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.

INFORMATION FOR CANDIDATES

• The number of marks is given in brackets [ ] at the end of each question or part question.

• The total number of marks for this paper is 80.• The Quality of Written Communication is assessed in questions marked with an

asterisk (*).• This document consists of 20 pages. Any blank pages are indicated.

* A 4 5 1 0 1 *

OCR is an exempt CharityTurn over

© OCR 2015 [F/600/2375]DC (ST/SG) 103917/3

Candidates answer on the Question Paper.

OCR supplied materials:None

Other materials required:• Calculators are allowed in this exam

*2700331504*

Duration: 1 hour 30 minutes

Oxford Cambridge and RSA

Page 2: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

2

© OCR 2015

Answer all the questions.

1 A typical smart phone is a computer system with input, output and storage devices.

State one input device, one output device and one secondary storage device that are built into a smart phone.

Input device ......................................................................................................................................

Output device ...................................................................................................................................

Storage device .................................................................................................................................[3]

Page 3: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

3

Turn over© OCR 2015

2 The website of a school allows visitors to download JPG, MP3, MPEG and PDF files.

(a) The table below describes the content of four files that can be downloaded from the website.

Complete the table using the file types above, identifying the most suitable file type for each item. You may use a file type more than once if appropriate.

Content Type of file

An image showing a map of the school

A text document containing information for parents about the school rules

A high resolution picture of all the staff and pupils

A short video clip of some pupils saying why they like the school

[4]

(b) The video clip is compressed using lossy compression.

Explain why lossy compression is suitable for a video clip, but not suitable for a text document.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [3]

Page 4: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

4

© OCR 2015

3 A computer program calculates the correct dose in grams of a type of medicine.

The algorithm used is shown by the flow diagram below.

BEGIN

INPUT Age

INPUT Gender

Age < 20

Gender = “Female”

INPUT isPregnant

isPregnant = TRUEAND

Dose > 1.5

Dose = Age * 0.1

Dose = Dose * 0.5

Dose = 1.5

Dose = 2

YES

YES

YES

END

NO

NO

NO

Page 5: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

5

Turn over© OCR 2015

(a) The data type of the variable Age is Integer.

State the data type of the following variables used in the flow diagram.

Variable Data Type

Gender

Dose

isPregnant

[3]

(b) Use the flow diagram to calculate the correct dose of medicine for a male aged 30.

You must show your working.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [3]

(c) Use the flow diagram to calculate the correct dose of medicine for a pregnant female aged 19. You must show your working.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [4]

Page 6: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

6

© OCR 2015

4 Security on a computer can be provided directly by the operating system or by using utility programs.

(a) Utility programs include antivirus, file transfer, firewall and system cleanup.

State which two of these utilities can be used for security.

1 ................................................................................................................................................

2 ................................................................................................................................................[2]

(b) Identify and describe two methods by which the operating system can provide additional security directly.

1 ................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

2 ................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................[4]

Page 7: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

7

Turn over© OCR 2015

BLANK PAGE

PLEASE DO NOT WRITE ON THIS PAGE

Question 5 begins on page 8

Page 8: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

8

© OCR 2015

5 Graeme is a freelance programmer. He has written a program for a client and gives the client both the high level code and the machine code of the program.

(a) (i) Describe what is meant by

High level code

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

Machine code

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................[4]

(ii) State why Graeme needs a compiler.

...........................................................................................................................................

...........................................................................................................................................

...........................................................................................................................................

...................................................................................................................................... [1]

Page 9: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

9

Turn over© OCR 2015

(b)* Graeme hires a small team of programmers to work with him on larger projects.

Describe the standards that Graeme and his team should apply to the code they produce, justifying why these standards are needed.

The quality of your written communication will be assessed in your answer.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [6]

Page 10: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

10

© OCR 2015

6 A hairdresser uses a relational database to keep records of his clients and their appointments. The hairdresser uses off-the-shelf data-handling software to manage the database.

(a) State what is meant by off-the-shelf software.

...................................................................................................................................................

.............................................................................................................................................. [1]

(b) Describe how the data-handling software can be used to set up the structure of the database, before any data is added.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [3]

(c) State two tasks the hairdresser can perform using the data-handling software, once the database is in use.

1 ................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

2 ................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................[2]

Page 11: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

11

Turn over© OCR 2015

BLANK PAGE

PLEASE DO NOT WRITE ON THIS PAGE

Question 7 begins on page 12

Page 12: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

12

© OCR 2015

7 Dipesh is thinking of buying a tablet computer to replace his old desktop computer.

(a) Describe how the CPU and RAM work together to enable the tablet computer to operate.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [3]

(b) The tablet computer also uses cache memory.

Describe the purpose of cache memory.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [2]

Page 13: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

13

Turn over© OCR 2015

(c)* Describe how the advances in memory technology have allowed significant improvement in the performance of devices such as tablet computers.

The quality of your written communication will be assessed in your answer.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [6]

Page 14: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

14

© OCR 2015

8 A microwave oven is controlled by a small, specially built CPU.

The table below shows some CPU instructions and what they mean.

CPU instruction Meaning

00001000 00010100 Add 20 to the timer

00001000 00000001 Add 1 to the timer

00000100 00000001 Subtract 1 from the timer

(a) Using examples from the instructions above, state what is meant by:

(i) an opcode

...........................................................................................................................................

...........................................................................................................................................

...................................................................................................................................... [2]

(ii) an operand

...........................................................................................................................................

...........................................................................................................................................

...................................................................................................................................... [2]

The time displayed on the microwave oven is represented as two 8-bit binary numbers, one for the minutes and one for the seconds.

For example; “8:20” is stored as 00001000 00010100 “15:45” is stored as 00001111 00101101

(b) Show how the time 5:30 will be stored.

...................................................................................................................................................

.............................................................................................................................................. [2]

Page 15: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

15

Turn over© OCR 2015

(c) 00001000 00010100 can represent either the instruction for “Add 20 to the timer” or the data for the time “8:20”.

Explain how the CPU can determine whether it represents an instruction or data.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [1]

Page 16: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

16

© OCR 2015

9 A bank uses a local area network to connect all the computers in its head office.

(a) State two ways the local area network can be used to monitor the work of employees.

1 ................................................................................................................................................

...................................................................................................................................................

2 ................................................................................................................................................

...................................................................................................................................................[2]

(b) Computers in the network can be identified using both IP addresses and MAC addresses.

Describe two differences between IP addresses and MAC addresses.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [4]

(c) The bank network uses failover.

Describe what is meant by failover and justify the need for failover in the network.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [4]

Page 17: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

17

Turn over© OCR 2015

BLANK PAGE

PLEASE DO NOT WRITE ON THIS PAGE

Question 10 begins on page 18

Page 18: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

18

© OCR 2015

10 A game on a computer shows six players around a table on seats. They are numbered 1 to 6 as shown below.

1

6 2

5 3

4

Chan

Priya

Adam

Lidia

Helen

Kwaku

The names of the players are stored in an array with six elements called PlayerName. The index position of the array is used to indicate the seat number.

For example, the value of PlayerName(1) is “Helen”.

(a) State the value of PlayerName(3).

.............................................................................................................................................. [1]

(b) Describe what will happen if the code for the game includes an instruction to print the value of PlayerName(7).

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [2]

Page 19: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

19

© OCR 2015

(c) During the game, each player sometimes moves clockwise by a given number of places.

For example, if the number of places is 2, Helen will move to seat 3, Priya will move to seat 1 etc.

Write an algorithm that will update the contents of the array PlayerName after a move has occurred. Your algorithm should:

• allow the number of places to move to be input • use iteration • ensure that all of the existing players’ names are moved to the correct position in the

array.

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

...................................................................................................................................................

.............................................................................................................................................. [6]

END OF QUESTION PAPER

Page 20: Wednesday 3 June 2015 – Morning · Wednesday 3 June 2015 – Morning GCSE COMPUTING A451/01 Computer Systems and Programming INSTRUCTIONS TO CANDIDATES † Write your name, centre

20

© OCR 2015

PLEASE DO NOT WRITE ON THIS PAGE

Oxford Cambridge and RSA

Copyright Information

OCR is committed to seeking permission to reproduce all third-party content that it uses in its assessment materials. OCR has attempted to identify and contact all copyright holders whose work is used in this paper. To avoid the issue of disclosure of answer-related information to candidates, all copyright acknowledgements are reproduced in the OCR Copyright Acknowledgements Booklet. This is produced for each series of examinations and is freely available to download from our public website (www.ocr.org.uk) after the live examination series.

If OCR has unwittingly failed to correctly acknowledge or clear any third-party content in this assessment material, OCR will be happy to correct its mistake at the earliest possible opportunity.

For queries or further information please contact the Copyright Team, First Floor, 9 Hills Road, Cambridge CB2 1GE.

OCR is part of the Cambridge Assessment Group; Cambridge Assessment is the brand name of University of Cambridge Local Examinations Syndicate (UCLES), which is itself a department of the University of Cambridge.