4 - Data Codes Flashcards

1
Q

Why use hexadecimal notation?

A
  • Convenient shorthand for binary numbers
  • Every hexadecimal digit exactly represents 4 binary bits

Most importantly, memory locations (1 byte, 8 bits) can be described in 2 hex digits, instead of 8 binary digits !

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

1001 1110 (Base 2) in Hexadecimal?

A

9E_16

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

AA3E in binary?

A

1010 1010 0011 1110

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

What is a ‘bit’ in the physics sense?

A

A high or low state of voltage in the CPU.

Higher value of volt is 1 and lower value is 0.

The specific values are different in various logic families and components.

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

How many bits are used in ASCII, EBCDIC and Unicode?

A

ASCII is 7, EBCDIC 8 and Unicode can be 8, 16 or 32.

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

How would you go from decimal to Hexadecimal ?

A

Divide by 16.

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