Binary number systems Flashcards Preview

Paper 2 - Computer Science > Binary number systems > Flashcards

Flashcards in Binary number systems Deck (21)
Loading flashcards...
1

Steps to normalise with a positive mantissa, positive exponent.

shift right for positive exponent

2

Steps to normalise with a positive mantissa, negative exponent.

shift left for negative exponent

3

Steps to normalise with a negative mantissa, positive exponent.

Complete two's complement, then shift right for positive exponent

4

Steps to normalise with a negative mantissa, negative exponent.

Complete two's complement on the number, then shift left for negative exponent

5

What is the difference between signed and unsigned Binary?

Signed Binary can represent positive and negative numbers whereas unsigned binary only represents positive numbers

6

What is an advantage of using unsigned binary?

Unsigned Binary can store larger numbers

7

What does rounding do?

Rounding is necessary when we can't represent a number however it creates an error as it's not as accurate.

8

What are the two types of errors?

Absolute and Relative

9

How do we calculate Absolute error?

Real value - Stored value

10

How do we calculate Relative error?

Exact value - Stored value / Exact value
or
Absolute Error / Exact value

11

What is precision?

Precision is to do with word length and the maximum number of significant digits that can be represented

12

What is Range?

Range is the set of all numbers that can be represented using a specific number system

13

What is floating point?

is a real data type where the binary point can move within a number

14

What is fixed point?

is a real data type where a number has a fixed number of digits either before or after the decimal point.

15

What's an advantage of Fixed point over Floating point?

- Fixed point binary has more precision than floating point
- Used when a high level of precision and speed is needed

16

What's an advantage of Floating point over Fixed point?

Floating point can represent a wider range of numbers that fixed point
- Used when a wide range of values needs to be represented

17

What is normalised floating point?

is where the binary point position is fixed in a standard form position and the exponent can float to reflect different values of that number

18

What is Underflow ?

Underflow occurs when the required value is too small to be stored using the number of bits available

19

What is Overflow ?

Overflow occurs when the required value is too large to be stored using the number of bits available

20

How do you calculate the range of an unsigned binary bit pattern?

2^n = the amount of numbers that can be represented, then 0 to (2^n -1) is the range

21

How do you calculate the range of an signed binary bit pattern?

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