19/02/24 CT Flashcards
What is the binary line
128-64-32-16-8-4-2-1
Why do computers use 0s and 1s
- It is the only language they understand.
- Only 2 states.
What is the highest number you can make with the binary line
0 - 255
0 + 0 =
0
0 + 1 =
1
1 + 0 =
1
1 + 1 =
0 carry the 1
1 + 1 + 1 =
1 carry the 1
Hexadecimals table
0 = 0
1 = 1
2 = 2
3 = 3
4 = 4
5 = 5
6 = 6
7 = 7
8 = 8
9 = 9
10 = A
11 = B
12 = C
13 = D
14 = E
15 = F
How do you convert denary to HEX
e.g. 184
(Short division) 16 ÷ 184
11.8…
11 = B
8 = 8
Answer = B8
How do you convert HEX to denary
e.g. DA
D x 16 + A
13 x 16 + 10
208 + 10
Answer = 218
How do you convert HEX to binary
e.g. 5A
5A
5 = 0101
A = 10 = 1010
Answer = 01011010
How do you convert binary to HEX
e.g. 180
180 = 10110100
1011 - 0100
11 - 4
Answer = B4
What is the 16 times table
1 x 16 = 16
2 x 16 = 32
3 x 16 = 48
4 x 16 = 64
5 x 16 = 80
6 x 16 = 96
7 x 16 = 112
8 x 16 = 128
9 x 16 = 144
10 x 16 = 160
11 x 16 = 176
12 x 16 = 192
13 x 16 = 208
14 x 16 = 224
15 x 16 = 240
16 x 16 = 256
What are the 3 logic gates
- NOT gates
- AND gates
- OR gates
NOT gates
- Only has 1 input
- Output should be the opposite of an input.