Binary to Decimal Flashcards

(8 cards)

1
Q

ASCII

A

Each character of the alphabet, some special symbols and control codes are represented by a agreed binary patterns using 8-bit .(limit for characters is 256)

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

Primitive Data types

A

> Integer (whole number)
Boolean (value of true or false)
Real /Float (a number with a fractional part(3.45.-6.25))
character (a letter, number or special symbol))
string (anything enclosed with quotation marks)

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

Unicode

A

> Originally 16-bit code allowing for more than 65,000 characters to be represented.
Then updated to remove the 16-bit restriction by using a series of code pages with each page being chosen language symbols
original ASCII includes.

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

Bases of code systems
>Denary
>Binary
>Hex

A

> Denary base^10
Binary base^2
Hex base^16

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

MSB and LSB

A

> MSB = Most Significant Bit

> LSB = Least Significant Bit

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

Binary Addition rules

A
0 + 0 = 0
0 + 1 = 1
1 + 0 = 1
1 + 1 = 0 carry the 1
1 + 1 + 1= 1 carry the 1
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Binary Subtraction rules

A

0 - 0 =0
1 - 1 = 0
1 - 0 = 1
0 - 1 = 1 (after borrowing 2 from the left)

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

Why use hex?

A

> Easier to read and remember

> Quicker to use and write

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