Professional Documents
Culture Documents
Grade 11 Exam
Grade 11 Exam
The
hour is represented by an 8-bit register, A, and the number of minutes is
represented by another 8-bit register, B.
(a) Identify what time is represented by the following two 8-bit registers.
A B
128 64 32 16 8 4 2 1 128 64 32 16 8 4 2 1
0 0 0 1 0 0 1 0 : 0 0 1 1 0 1 0 1
(b) An alarm has been set for 07:30. Two 8-bit registers,CandD, are used to
represent the hours and minutes of the
alarm time.
C D
:
Hours Minutes
[2]
(c) Describe how the microprocessor can determine when to sound the clock alarm.
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
............................................................................................................................................
........................................................................................................................................[3]
2. The seven stages in a von Neumann fetch-execute cycle are shown in the table
below.
Put each stage in the correct sequence by writing the numbers 1 to 7 in the right
hand column. The first one has been done for you.
Stage Sequence
number
[6]
If 1 GB = 2 12
x
then what is the value of X?
36
What hexadecimal value
is obtained when the two
hexadecimal digits C and D
are added together?
[5]
4. List the main stages you should go through when trying to solve a general problem.
.................................................................................................................................
.................................................................................................................................
.................................................................................................................................
.............................................................................................................................[4]
5. Variables and Constants are both identifiers. Explain the difference between them.
.................................................................................................................................
.................................................................................................................................
.............................................................................................................................[2]
5. The following table shows four applications which require specialist input devices.
For each application, suggest one possible input device and give a reason for your
choice. Application Input device Reason for choice of device
Disabled person
communicating with
a computer system
Automatic stock
control system at a
supermarket
Information kiosk at
an airport using a
GUI interface
[8]
6. The following flowchart inputs ten temperatures and outputs the average (mean)
temperature and the number of temperatures which were negative (i.e. < 0).
(a) Complete the trace table for this flowchart using the following test data:
[6]
(b) What values are output from the flowchart using the above test data?
.............................................................................................................................................
.........................................................................................................................................[1]
7. A school has 1800 students. The start date and leaving date for each student is stored on file.
Dates are in the format YYMMDD (e.g. a student starting on 10th September 2007 and leaving on 4th
August 2012 has the data 070910 and 120804 on file).
• inputs the start date and leaving date for each student
.............................................................................................................................................
.............................................................................................................................................
.............................................................................................................................................
.........................................................................................................................................[2]
1, 0, 1, 1, 0, 1
[4]
.....................................................................................................................[1]