Number System Flashcards

(33 cards)

1
Q

What is the difference between ordinal and cardinal

A

represents a position of an item ( first second , third ) / number of items in a size

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

What do you need to do to perform first compliment

A

Change the number to opposite

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

Why are hexadecimal used

A

Because it is a more compact representation

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

How do you change a number to the 2’s compliment

A

Add one to the first compliment

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

How do you perform arithmetic on a signed number

A

for a signed number 1 is negative and 0 is positive

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

how can logic operation be used to discover the state of the most significcant bits

A

Identify the number of signicifant bits and add 0000 to the rest

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

What is a fixed point represnetation

A

The decimal is fixed

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

What is a floating point representation

A

radix point is movable mantissa x 2^exponent

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

Express a number in sign and magnitude vs two’s components

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

for a two’c compliment number what is the formation of the number

A

the first two value must alternate

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

what is the advantage of a floating number

A

greater range of numbers with a given
number of bits than fixed point.

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

What is an underflow

A

Underflow occurs when very small numbers are to be
represented but there are not enough bits available.

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

What is overflow

A

Overflow occurs when a number is too large to be represented with the available bits.
Overflow is particularly important when using signed binary.

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

what is the formula for relative error

A

absolute error / true value x 100

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

Explain how the floating point system used could be modified to allow a more accurate representation

A

Adjust the mantissa

Reallocate (one) bit; from the exponent to the mantissa

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

Why are bit patterns often displayed using hexadecimal instead of binary?

A

Easier for people to understand

15
Q

Describe how an unsigned binary integer such as 010010101110 can be converted directly into hexadecimal.

The method you describe must not involve converting into decimal.

A

Put the bits into groups of four/nibbles

Convert each group of bits/nibble into a hexadecimal digit;

16
Q

What is the following in the power of 2 :
kibibyte
mebibyte
gibibyte
tebibyte

A

2 ^ 10
2^20
2^30
2^40

17
Q

What is an unsigned binary range

18
Q

What is a signed binary range

A

-2^n -1 to (2^n-1) -1

19
Q

difference between natural numbers and real numbers

A

Natural number is used to count discrete objetct , real numbers is continous quantities

20
Q

advantages of hexadecimal

A
  • compact it uses 8 binary digit
  • Easier for humans to red and remember
  • Easier conversion
21
Q

What is hexadecimal used for

A

used to store memory address
used to store dolor codes
used to store mac addresses
used to store error codes

22
Q

when does overflow occur

A

by adding two positive numbers or two negative numbers adding a positive and negative number cannot give an overflow

23
How do you know a number is normaliseed
Positive mantisa starts with 0.1 and negative starts with 1.0
24
Why do we normalise numbers
This is becus eit maximises precisionby ensuring no bits are wasted on leading zeros
25
What is the difference between fixed point and floating point
Fixed point -Limited - Consistent range Used for finance and embedded systems Floating point - Much larger - Used for scientific computing and graphics - More precise
26
Effects of a larger mantissa compared to a smaller mantissa
Larger mantissa means more significant figures , higher precisions Fewer mantissa means lower precision , larger rounding errors
27
Effects of a larger exponent compared to a smaller exponents
Large rrange of values , can represent very larger numbers Smaller exponents , smaller range and more likely to have an underflow
28
Why can't 0.1 be stored in binary ?
it produces an infinite repeating binary fraction and cannot be expressed as a finite sum of powers of 2
29
Formula for absolute value
Stored value - True value
30
Explain why the relative error is usually considered to be more important measure of error than absolute error
The impact of an error depends on its size relative to the number that is represented
31