Data representation Flashcards

1
Q

What are natural numbers?

A

A positive whole number used for counting

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

What is the notation for an infinite set of natural numbers

A

N

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

What are integer numbers

A

A positive or negative whole number, includes 0

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

What is the notation for integer numbers

A

Z

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

What are rational numbers

A

Any number which can be expressed as a ratio or fraction

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

What is the notation for a rational number

A

Q

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

What are real numbers

A

Any possible real world quantity, can be whole numbers and decimals. Does not include imaginary numbers such as infinity

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

What is the notation for real numbers

A

R

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

What are ordinal numbers

A

A number used to describe the numerical position of objects (e.g: he came second in a race, I took the fourth object from the top)

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

What is the notation for ordinal numbers

A

There is no notation for ordinal numbers

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

What number system is denary

A

Base 10

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

What does base 10 mean

A

There are 10 different values to choose from (0-9)

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

What number system is binary

A

Base 2

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

What does base 2 mean

A

There are only 2 values to choose from (0 and 1)

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

What base is hexadecimal

A

Base 16

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

What does base 16 mean

A

There are 16 values (0-F)

17
Q

How do you convert binary to hexadecimal

A

Split the binary into 4 bit segments. 1011 0011
Add the 4 bits. 1011 = 11, 0011 = 3
Convert denary to hexadecimal 11 = B, 3 = 3
1011 0011 = B3

18
Q

What can a single bit represent

A

Either 1 or 0

19
Q

What is a byte

A

8 bits

20
Q

What are the binary prefixes (base 2)

A

Kibi, 1024 bits
Mebi, 1,048,576 bits
Gibi, 1,073,741,824 bits
Tebi, 1,099,511,627,776 bits

21
Q

What are the decimal prefixes (base 10)

A

Kilo, 1000 bits
Mega, 1,000,000 bits
Giga, 1,000,000,000 bits
Tera, 1,000,000,000,000 bits

22
Q

What happens to the most significant bit in two’s compliment

A

Turns negative

23
Q

How do you turn a positive to a negative in twos compliment

A

Reverse the positive binary (e.g 01110101 turns into 10001011 or 117 to -117) (this works both ways)