0% found this document useful (0 votes)
20 views

Computer - Grade 9 - ClassTest

1. The document contains a class test on computer science concepts like data representation, binary conversions, bit shifting, binary addition, and two's complement notation. 2. Questions involve converting between denary, hexadecimal and binary numbers, shifting bits in registers, adding 16-bit binary numbers, and converting between two's complement binary and denary values. 3. The test has 11 questions worth a total of 50 marks testing core computer science concepts taught in Chapter 1.1 on data representation.

Uploaded by

farzinahammed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
20 views

Computer - Grade 9 - ClassTest

1. The document contains a class test on computer science concepts like data representation, binary conversions, bit shifting, binary addition, and two's complement notation. 2. Questions involve converting between denary, hexadecimal and binary numbers, shifting bits in registers, adding 16-bit binary numbers, and converting between two's complement binary and denary values. 3. The test has 11 questions worth a total of 50 marks testing core computer science concepts taught in Chapter 1.1 on data representation.

Uploaded by

farzinahammed
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

1

Class Test Grade 9 2020-21


Maavashu School, L.Maavah, Rep. of Maldives
COMPUTER SCIENCE 0478
Ch1.1: Data Representation
GRADE 9 Max. Marks - 50 05/09/2021
1:30 HOUR

CANDIDATE
NAME

CLASS INDEX NO

1. A denary value can be converted into hexadecimal and binary. [6]


Complete the table to show the hexadecimal and 8-bit binary values of the given denary
values.
Denary Hexadecimal 8-bit Binary

49

123

200

Working Space.
2

2. The hexadecimal colour code #43B7F0 is stored in three 8-bit registers. Give the 8-bit
binary values for each part of the hexadecimal code. [6]

43

B7

F0

3. An 8-bit binary register contains the value:


0 0 1 1 0 1 0 0

(a) Convert the binary value to denary. [1]

Answer:

(b) The contents of the register shifted one place to the right would give the result: [1]

Answer:

(c) The contents of the register shown at the start of question 3 are shifted two places to
the right. Show the contents of the register after this shift has taken place. [1]
Answer:

(d) State the effect this right shift has on the denary value in part (a). [3]
3

Answer:

4. A register in a computer contains binary digits. The contents of the register could
represent a binary integer. Convert the binary integer to denary and hexadecimal. [2]

0 0 1 1 0 1 1 1
Answer: Denary:

Hexadecimal:

5. (a) A long-distance running race uses an electronic counter that counts each competitor
who finishes the race. The count is stored as binary in a 12-bit register. A denary value
of the count is displayed on a screen above the finish line.
(i) The screen currently displays:
State the binary value that is currently stored to display the count shown. [2]

0039
Answer:

(ii) More competitors cross the finish line and the screen now displays:

0350
State the binary value that is currently stored to display the count shown.[2]
Answer:

(iii) At the end of the race the binary value stored is:
4

011011000111
Give the denary value that would be displayed on the screen at the end of the race.[2]
Answer:

6. Convert the following denary numbers into hexadecimal: [ 2 x 2.5 = 5 marks ]


(a) 2003 (b) 8462

Ans in hexadecimal: Ans in hexadecimal:


5

7. An 8-bit binary register contains the value:


0 0 1 0 0 1 0 0

(e) Convert the binary value to denary. [1]

Answer:

(f) The contents of the register shifted one place to the left would give the result: [1]

Answer:

(b) The contents of the register shown at the start of question 7 are shifted two places to
the left. Show the contents of the register after this shift has taken place. [1]

Answer:
(g) State the effect this left shift has on the denary value in part (a). [3]

Answer:

8. A register in a computer contains binary digits. The contents of the register could
represent a binary integer. Convert the binary integer to denary and hexadecimal. [2]

0 0 1 1 0 1 1 1
Answer: Denary:
6

Hexadecimal:
9. Carry out the following 16-bit binary additions and comment on your answers. [ 2 x 1
mark = 2 ]
(a) 0111 1111 1111 0001 + 0101 1111 0011 1001

(b) 1110 1110 0000 1011 + 1111 1101 1101 1001

10. Convert the following denary numbers into 8-bit binary numbers in the two’s
complement format: [ 3 x 2 = 6 marks ]
a) +120

b) -110
7

c) -42

11. Convert the following binary numbers (written in two’s complement format) into
denary numbers. [ 3 x 1 = 3 marks ]
(a)
1 0 1 1 0 1 1 1

(b)
0 0 1 0 0 1 1 0

(c)

1 0 1 1 1 1 0 1

You might also like