topic: number systems Flashcards

binary, hex, bit masks (6 cards)

1
Q

what is denary 203 in hexidecimal
(with the method of dividing the number by 16)

A

CB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is denary 58 in hexidecimal
(with the method of dividing the number by 16)

A

3A

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is denary 7 in hexidecimal
(with the method of dividing the number by 16)

A

7

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is denary 593 in hexidecimal
(with the method of dividing the number by 16)

A

251

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

complete the bit shifts for these calculations using 4 bits
4 OR 1
2 OR 5
3 AND 7
10 AND 12
1 XOR 10
5 XOR 3

A

0100 | 0001 = 0101 5
0010 | 0101 = 0111 7
0011 & 0111 = 0011 3
1010 & 1100 = 1000 8
0001 ^ 1010 = 1011 11
0101 ^ 0011 = 0110 6

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

complete the bit shifts for these calculations using 6 bits
2 LSHIFT 3
5 LSHIFT 1
12 RSHIFT 1
32 RSHIFT 4

A

000010 → 010000 16
000101 → 001010 10
001100 → 000110 6
100000 → 000010 2

How well did you know this?
1
Not at all
2
3
4
5
Perfectly