Fundamentals of data representation Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What is a natural number?

A

Natural numbers (N) are positive whole numbers.

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

What is an integer?

A

Integer numbers (Z) are whole numbers both positive and negative.

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

What is a rational number?

A

Rational numbers (Q) are numbers that can be written as fractions.

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

What is an irrational number?

A

Irrational numbers are numbers that cannot be written as fractions.

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

What is a real number?

A

Real numbers (R) are real world quantities that include: natural, rational and irrational numbers.

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

What is an ordinal number?

A

Ordinal numbers are used to describe the positions of objects.

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

What base is decimal?

A

Base 10

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

What base are binary numbers?

A

Base 2

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

What base is hexadecimal?

A

Base 16

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

What can a bit represent?

A

0 or 1

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

How many different values can be represented with n bits?

A

2^n

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

What do Ki, Mi, Gi and Ti represent?

A

Kibibytes, Mebibytes, Gibibytes, Tebibytes

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

Is a Gibibyte or a Gigabyte bigger?

A

Gibibyte

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

What are the minimum and maximum values of n number of bits?

A

Minimum = 0, Maximum = 2n-1

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

How do you tell if a floating point number is normalised?

A

It either begins with a 0 followed by a 1 or a 1 followed by a 0.

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

How can you tell if a signed binary number is negative?

A

The most significant bit is a 1.

17
Q

Why is fixed/floating point inaccurate?

A

It isn’t able to represent all decimal numbers (0.1, 0.3…)

18
Q

How do you calculate absolute error?

A

Approximated Value - Actual Value

19
Q

How do you calculate relative error?

A

(Approximated Value - Actual Value)/Actual Value

20
Q

How does binary underflow occur?

A

When the binary digit is deemed close enough to 0 to be negligible (divide a very small number by a very large number)

21
Q

How does binary overflow occur?

A

When the binary digit exceeds the allocated number of bits (multiply a big number by a big number)