Component 1 SAM
Component 1 SAM
Component 1 SAM
AS COMPUTER SCIENCE
COMPONENT 1
SPECIMEN PAPER
2 hours
INSTRUCTIONS TO CANDIDATES
Write your name, centre number and candidate number in the spaces at the top of this page.
The number of marks is given in brackets at the end of each question or part-question. You
are advised to divide your time accordingly.
You are reminded of the need for good English and orderly, clear presentation in your
answers.
No certificate will be awarded to a candidate detected in any unfair practice during the
examination.
CPU
Memory
(a) Identify and explain the function of components A and B above. [4]
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
Name the logical operation and draw the truth table required to clear this register.
Include a worked example of clearing the register with the data above. [3]
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
…………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
………………………………………………………………………………………………
3. Related data stored on a computer system can become fragmented over time.
(a) Explain what is meant by the term fragmentation and give one possible effect.
[2]
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
(b)Discuss the issues surrounding the defragmentation of a Solid State Drive (SSD).
[3]
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
4. (a) Different data transmission methods are used by computer systems. Identify
the most suitable transmission method for the following scenarios and explain
their suitability.
(i) Sending sound to a speaker system. [3]
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
…………………………………………………………………………………………
(b) Describe what is meant by the terms multiplexing and switching. [3]
…........................................................................................................................
…........................................................................................................................
…........................................................................................................................
...........................................................................................................................
…........................................................................................................................
…........................................................................................................................
…........................................................................................................................
(c) Identify three typical items contained in a TCP/IP packet and describe their
purpose. [6]
…....................................................................................................................................
…....................................................................................................................................
…....................................................................................................................................
…....................................................................................................................................
…....................................................................................................................................
…....................................................................................................................................
…....................................................................................................................................
…....................................................................................................................................
5. (a) Using binary addition, calculate the number that would result from adding
00100101 and 00111100
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
………………………………………………………………………………………………….
(b) Assuming that 1 is used to indicate a negative number, show how the negative
number -1310 will be represented using sign/magnitude in an 8 bit register. [1]
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
(d) (i) Give an advantage and disadvantage of using floating point form rather than
integer form. [2]
………………………………………………………………………………………….
………………………………………………………………………………………….
………………………………………………………………………………………….
(ii) Real numbers stored in floating point form can be stored using 16 bits as
shown below:
Mantissa Exponent
(12 bits in two’s complement form. The binary (4 bits in two’s
point in the mantissa is immediately after the left complement form.)
bit.)
Convert the number 63.25 into this floating point form. [2]
………………………………………………………………………………………….
………………………………………………………………………………………….
………………………………………………………………………………………….
………………………………………………………………………………………….
0•1011000 0101
Calculate the mantissa, exponent and decimal equivalent of the number. [3]
………………………………………………………………………………………….
…………………………………………………………………………………………
…………………………………………………………………………………………
…..…………………………………………………………………………………….
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
7. When writing a program, a programmer could use a low level language or a high
level language.
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
………………………………………………………………………………………………………
8. Scientists monitoring the level of a pollutant in the air take a number of readings and
use a computer to analyse the data.
The algorithm should read the readings into an array then output:
the mean of the readings
how many readings were above the mean
the highest reading
………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
………………………………………………………………………………………………………………………………………………..
………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
………………………………………………………………………………………………………………………………………………..
………………………………………………………………………………………………………………………………………………..
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
……………………………………………………………………………………………………………………………………………….
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
………………………………………………………………………………………………….……
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
.......................................................................................................................................
(b) An algorithm is written for a bubble sort in one particular application. The
input to the algorithm is a set of 6 positive integers.
BubbleSortArray
45 32 5 35 19 62
(0) (1) (2) (3) (4) (5)
Write down two other sets of data which will more fully test the algorithm. [2]
DataSet1
DataSet2
….………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
.…………………………………………………………………………………………………
12. An organisation is responsible for paying its employees and calculating their tax and
national insurance. Each employee is paid a different hourly rate.
The employee pay details, including their hourly rate are stored in a master file. The
number of hours each employee works each month is entered and stored in a
transaction file.
At the end of each month the hours worked by the employee and the hourly rate are
used to calculate the month’s pay, tax and national insurance.
(a) Explain why sequential file organisation is the most suitable for the master file
and why serial file organisation is the most suitable for the transaction file. [2]
……………………….......................................................................................................
……………………….......................................................................................................
……………………….......................................................................................................
……………………….......................................................................................................
……………………….......................................................................................................
(b) Give one item of data that would appear in both the transaction file and the
master file. [1]
…………………………………………………………………………………………………..
…………………………………………………………………………………………………..
(c) Draw a clearly labelled diagram below which shows how the transaction file
and the master file are used to produce a pay slip for every employee. [4]
13. Before new computer systems are introduced in an organisation, different methods of
changeover are considered.
Compare two methods of changeover and consider processes that would protect the
security and integrity of data during changeover.
You should draw on your knowledge, skills and understanding from a number of
areas across your Computer Science course when answering this question. [13]
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
….……………………………………………………………………………………………………
END OF PAPER