Bits, Bytes And Number Bases Flashcards

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

Define Sig Fig (Significant figures) in terms of binary numbers

A

All digits except leading / trailing 0’s where they are placeholders.

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

Define a floating point number in terms of binary numbers

A

a real number represented by a sign, some significant digits and a power of two.

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

Define precision in terms of binary numbers

A

The maximum number of significant digits that can be represented in the mantissa. Precise = More bits in mantissa. Range = more bits in exponent.

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

Define normalisation in terms of binary numbers

A

Only one digit before the decimal place with an exponent for magnitude. This ensures a unique representation of a number and maximises precision for a given number of bits.

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

Define absolute error in terms of binary numbers

A

The magnitude of difference between the actual and rounded number

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

Define relative error in terms of binary numbers

A

The absolute error / the actual number

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

Define underflow in terms of binary numbers

A

A value is too small to be stored in a given number of bits

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

Define overflow in terms of binary numbers

A

A value is too large to be stored in a given number of bits

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

Define a hexadecimal number

A

A number using 16 possible characters instead of just the 10 (0-9) we use for base 10 (decimal number system)

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

Define a binary number

A

A number using 2 possible character instead of the 10 we use for the decimal number system.

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

Explain how to convert a binary number to a decimal number.

A

Create a table with each character of the binary number as a column. Multiply each row from right to left by 2^n where n starts at 0 and add all the answers together

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

Explain how to convert a decimal number to a hexadecimal number.

A

Create a table with each character of the decimal number as a column. Multiply each row from right to left by 16^n where n starts at 0 and add all the answer together

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

Explain how to convert a binary number to a hexadecimal number

A

split the binary number into 4 character numbers (nibbles) and convert each nibble into a hexadecimal digit as each 4 character binary number has a maximum value of 15 or F in hexadecimal. Then just join the digits together and create the hexadecimal number.

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

Explain how binary multiplication works

A

Split one of the two numbers into the parts that involve 1. For example, if you are multiplying 10101 by 10001, it would be the same as multiplying 10101 * 10000 + 10101 * 1.

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

Explain how a negative binary number works

A

They create a complement of a positive number by using the most significant digit as the negative form of itself.

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

Define a natural number

A

Any positive integer (Represented with an N

17
Q

Define an integer

A

Any whole number. Includes negative numbers (Represented with a Z)

18
Q

Define a rational number

A

Any number that can be written as a fraction. That includes integers at they can be written with an /1 (Represented with a Q)

19
Q

Define an irrational number

A

Any number that cannot be written as a fraction. Examples include π and √2. (Represented as Q’ as they complement Q or rational numbers)

20
Q

Define a real number

A

Encompasses both rational and irrational numbers. Does not include every number as some are considered imaginary such as i (√-1) or infinity (∞) (Represented by an R)

21
Q

Define an ordinal number

A

A number that describes an objects location in a list. For example 3rd is an ordinal number as it describes a location in a list of objects.

22
Q

Explain the difference between the kilo series of bytes and the kibi series of bytes

A
A kilobyte is 10^3 whilst a kibibyte is 2^10. Each bi byte is 2^10n whilst each ga byte is 10^3n. So:
Kilo = 10^3
Mega = 10^6
Giga = 10^9
Tera = 10^12
------------------
Kibi = 2^10
Mebi = 2^20
Gibi = 2^30
Tebi = 2^40