Professional Documents
Culture Documents
Revision 2023 Number Systems
Revision 2023 Number Systems
A denary value of the count is displayed on a screen above the finish line.
0 0 3 9
State the binary value that is currently stored to display the count shown.
00000010011 |
...........................................................................................................................................
..................................................................................................................................... [2]
(ii) More competitors cross the finish line and the screen now displays:
0 3 5 0
State the binary value that is currently stored to display the count shown.
101011118
...........................................................................................................................................
..................................................................................................................................... [2]
(iii) At the end of the race the binary value stored is:
011011000111
Give the denary value that would be displayed on the screen at the end of the race.
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
Tick
File size
(3)
20 MB
10 GB N
[1]
(b) Bob has a file stored on his computer that is 3500 kB in size. Gerty has a file that is 3 MB in
size.
Tick
File size
(3)
3500 kB v
3 MB
[1]
The school library has a website that customers can use to search for a book.
The website has a background colour with the hexadecimal colour code #F92A10
A10 101000010000
[6]
Victoria is building a website for her cake design business.
(a) She uses the hexadecimal colour code #D2E3F5 as the background colour for her website.
D2E
10110010111 0
3F5 00 11 ( I / 10 10 I
[6]
Programmers can use denary and hexadecimal values. These values are stored in a computer
system using binary.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [2]
Hexadecimal is used for MAC addresses.
97 – 5C – E1
Each pair of digits is stored as binary in an 8-bit register.
(a) Show what the binary register stores for each pair of the given digits.
97 10 0 1 0 1 1 I
1 0 1 / 100
5C
0
E1
1/10000 [6]
...................................................................................................................................................
Assigned by manufacturer
-
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [4]
...................................................................................................................................................
# P address
Example 2 .................................................................................................................................
...................................................................................................................................................
[2]
An electronic guessing game compares denary integer values input by a user with pre-stored
values. The pre-stored values are held in 10-bit binary format.
Binary Denary
3122567786432168427
0001001110 78
0110110111 439
1000000001 513
[3]
(b) When planning the game, the designer decided to use hexadecimal notation to represent the
binary values.
Easier to read
...................................................................................................................................................
-
Easier to debug
...................................................................................................................................................
-
less error
...................................................................................................................................................
............................................................................................................................................. [2]
32168427
An 8-bit binary register contains the value:
0 0 1 1 0 1 0 0
32
...................................................................................................................................................
............................................................................................................................................. [1]
(b) The contents of the register shifted one place to the right would give the result:
0 0 0 1 1 0 1 0
The contents of the register shown at the start of question 4 are shifted two places to the left.
Show the contents of the register after this shift has taken place.
I 1010000
[1]
(c) State the effect this shift has on the denary value in part (a).
208,multiplyby 4
...................................................................................................................................................
............................................................................................................................................. [1]
7
( ) Complete the table to show how the denary value would be stored as binary in an 8-bit
register.
129 10000001
56 00111000
[2]
Working space
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
o h a o sho ho h h a a au ou so as a a
s
00 1 / 10 1010 0 I
[3]
Colour codes
1 ................................................................................................................................................
IP address
2 ................................................................................................................................................
[2]
8 Programs can be written in a low-level language.
Machine code
Feature 1 ..................................................................................................................................
Machine dependent
Feature 2 ..................................................................................................................................
Assembly language
Example 1 .................................................................................................................................
Machine language
Example 2 .................................................................................................................................
[2]
(c) Give one drawback of writing programs in a low-level language, instead of a high-level
language.
Error
prone
...................................................................................................................................................
............................................................................................................................................. [1]
(i) Give the 8-bit binary value of the two denary values:
18110100
180 ....................................................................................................................................
11081001
201 ....................................................................................................................................
[2]
Working space
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
...........................................................................................................................................
(a) Give the denary value of each of the three 12-bit binary values.
(i) 000000001100
12
..................................................................................................................................... [1]
(ii) 000011000110
198
..................................................................................................................................... [1]
(iii) 010011000001
1217
..................................................................................................................................... [1]
Working space
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
000011101001
233
............................................................................................................................................. [3]
2
(a) The first three hexadecimal values he reads are 15, 102 and A9.
2
15 ..............................................................................................................................................
102 ............................................................................................................................................
169
A9 .............................................................................................................................................
[3]
Working space
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
(b) Pradeep has two 8-bit binary values that he needs to convert to hexadecimal values for his
project.
Give the hexadecimal values for the two 8-bit binary values.
50
01010000 ..................................................................................................................................
00111101 ..................................................................................................................................
[4]
2
Each computer in the network has a media access control (MAC) address.
97–5C–E1
(a) Complete the binary register for these two pairs of digits.
97
5C
[4]
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
............................................................................................................................................. [4]
1 ................................................................................................................................................
2 ........................................................................................................................................... [2]
3
0 1 0 1 0 0 1 0
(i) A logical left shift of two places is performed on the binary value.
Complete the binary register to show its contents after this logical left shift.
[1]
(ii) State one effect this logical shift has on the binary value.
...........................................................................................................................................
...................................................................................................................................... [1]
(e) Negative denary numbers can also be represented as binary using two’s complement.
...................................................................................................................................................
...................................................................................................................................................
...................................................................................................................................................
Register:
[2]