You are on page 1of 2

HALEEMA SCHOOL OF STATE

1st Monthly Assessment 2023-2024


Name: Class/ Section: Grade IXC Subject: Computer Science
Total Marks: 25 Marks Obtained: Percentage/Grade:

Teacher’s Constructive Feedback: ___________________________________________________________


_______________________________________________________________________________________
1. Six calculations are shown on the left and eleven denary values are shown to the right.
By drawing arrows, connect each calculation to its correct denary value. [8]

An 8 bit register uses two’s compliment


notation.
What is denary value of: 28
00101101?

Give the denary equivalent of the 46


following hexadecimal number:

3F

What is the denary result of the 45


following binary addition:
00010011
00011011

Find the hexadecimal of the following


denary number: 63

40

1
2. An 8 bit binary register contains the value :

0 0 1 1 0 1 1 0

a. Write down the denary value of this register. [1.5]


b. The content of this register undergo a logical shift one place to the right. [2]
i. Show the result of this right shift.
ii. Write down the denary value of this right shift.
c. The content of this register at start of a question, now undergo a logical shift of two places to
the left. [1.5]
i. Show the content of the register after this left shift.
ii. State, with reason, the effect of this shift on the denary value in part a.

3. Convert the following positive denary numbers in to eight bit binary numbers in two’s
compliment format. [2]
a. 30
4. Convert the following binary numbers into 8 bit binary numbers.
[3]
i. 123 ii. 55 iii. 180

b) Carry out the following additions using your binary values from part a:
[4]

i. 123+55 ii. 123+180

c) Write down the 2’s compliment of the: 01110100


[1]

d) Write down the binary value of -122 using 2’s compliment notation.
[1]

1 0 1 1 1 0 0 1

ii. Use 2’s compliment notation to find the eight bit binary value of 104. [1]

You might also like