Number Systems Flashcards
What is the difference between analogue and digital signals
Analogue is continuous
Digital is descrete
Advantage of Digital and Analogue
Analogue - better resolution
Digital - less affected by noise
How many numbers can be reprented with 3 bits?
8 numbers.
2^N
How many bits in a byte?
8 bits per byte.
In the Signed Magnitude System, what indicates a positive number?
0 indicates a positive number.
1 indicates a negative number.
Calculate the 1’s Complement of 00100110
11011001
Calculate the 2’s Complement of 00100110
11011010
Find the 2’s Complement of 01110110
10001010
Find the 2’s Complement of 11111111
00000001
Find the 2’s Complement of 00111110
11000010
Find the 2’s Complement of 00000000
00000000
How do you add two binary numbers?
Add in their original form.
How do you subtract two binary numbers?
Convert the number you are subtracting to 2’s complement and add.
Define Fixed Point Number Representation
A specific number of bits is reserved to represetna a ragne of values with a certain precision.
What is the advantage of Floating Point Representation over Fixed Point?
Wider range of numbers due to the exponent part.
What is the largest exponent which can be represnted with Floating Point Representation?
255 - 127 = 128
What is the smallest exponent that can be represented with Floating Point representation?
-127
Convert 7.8125 to floating point
0 10000001 11110100000000000000000
Convert 1 10010000 11100000000000000000000 to decimal.
-245 760
Can 299 792 459 be represented within 2 decimals of precision in floating point?
1 00011101 11100111100001001010
The mantissa is 23 digits. This requires 28. The last 5 are cut off. Within 2 decimals.
Convert 23 base 10 to binary.
10111
Convert 73 base 10 to binary.
1001001
Convert 1001001 to decimal.
73
Convert 10111 to decimal.
23