JRII Worksheet
JRII Worksheet
CAMBRIDGE WING
TEST
[1]
(b) A binary value is stored in a register.
128 64 32 16 8 4 2 1
………………………………………………………………………………………………………………………
0 1 1 0 1 0 1 0
1 0 0 1 1 0 0 0
………………………………………………………………………………………………………………………
1 0 0 0 0 0 0 1 0 This addition causes and OVERFLOW error.
………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………..[2]
(d) Explain how simple images can be stores ad binary code in a digital file using the sample black
0 0 0 0 1 0 0 0 0
0 0 0 1 1 1 0 0 0
0 0 1 1 1 1 1 0 0
0 1 1 1 1 1 1 1 0
0 0 1 1 1 1 1 0 0
0 0 1 1 1 1 1 0 0
0 0 1 1 0 1 1 0 0
0 0 1 1 0 1 1 0 0 [2]
0 0 1 1 0 1 1 0 0
Representing Black with 0 and White with 1. Also create a bitmap image on the space provided.
A simple image can be stored as binary code by converting it into a bitmap image. If
………………………………………………………………………………………………………………………
we have a black and whote image, means a two coloured image then we’ll calculate the
………………………………………………………………………………………………………………………
colour depth as 2^1=2 so 1 bit will be used to represent each pixel (colour) 1 bit for
………………………………………………………………………………………………………………………
(e) What is the largest decimal number that can be stored as an 8-bit binary?
(f) What does 74 looks a like when it is stores as when A=63, a =97
01001010
Binary ……………………….
L
ASCII ………………………. [2]
BAHRIA COLLEGE ANCHORAGE
CAMBRIDGE WING
TEST
[1]
(b) A binary value is stored in a register.
1 1
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
…………………………………………………………………………………………………………………..[2]
(d) Explain how simple images can be stores ad binary code in a digital file using the sample black
0 0 0 0 0 0 0 0 0
0 0 0 0 1 0 0 0 0
0 0 0 0 1 1 0 0 0
0 0 0 0 1 1 1 0 0
0 0 0 0 1 1 1 0 0
1 1 1 1 1 1 1 1 1
0 1 1 1 1 1 1 1 0
0 0 1 1 1 1 1 0 0 [2]
0 0 0 0 0 0 0 0 0
Representing Black with 0 and White with 1. Also create a bitmap image on the space provided.
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………………
………………………………………………………………………………………………………………… [2]
(e) What is the largest decimal number that can be stored as an 8-bit binary?
………………………………………………………………………………………………………………… [1]
(f) What does 80 looks a like when it is stores as when A=63, a =97
01010000
Binary ……………………….
R
ASCII ………………………. [2]
178
10110010
………………………………………………………..…………………………………………………………[1]