Presentation is loading. Please wait.

Presentation is loading. Please wait.

Data Representation Covering… Binary addition / subtraction

Similar presentations


Presentation on theme: "Data Representation Covering… Binary addition / subtraction"— Presentation transcript:

1 Data Representation Covering… Binary addition / subtraction
2’s complement Floating Point Binary Normalisation of Floating Point Binary

2 Question 1 Question… Convert the 8-bit binary numbers to its denary equivalent. Answer… 140

3 Question 2 Question… Convert 67 denary to its 8 bit binary equivalent…
Answer…

4 Question 3 Convert the 8-bit two’s complement binary 10000010
to its denary equivalents. Answer… -126

5 Question 4 Question… Convert -120
denary to its 2’s complement 8-bit binary equivalent Answer…

6 Question 5 Question… Convert 175 denary to its hexadecimal equivalent
Answer… af

7 Question 6 Question… Convert BB hexadecimal to its denary equivalent
Answer… 187

8 Question 7 Question… Convert 9B hexadecimal to its 8-bit binary equivalent Answer…

9 Question 8 Question… Convert the 8 –bit binary 10101010
to its hexadecimal equivalent Answer… aa

10 Question 9 Question… Represent 5.125 as a binary fraction
Answer…

11 Question 10 Question… 1101000.011 What is the decimal equivalent?
Answer…

12 Question 11 Question… What is Answer…

13 Question 12 (2 marks) Question…
What is 76 – 24 in 2’s complement 8-bit binary (show working for 1 mark and right answer for 1 mark) Answer… 76-24=

14 Question 13 (2 marks) Question…
What is in 2’s complement 8-bit binary (show working for 1 mark and right answer for 1 mark) Answer… =

15 Question 14 (3 marks) Question…
The following floating binary numbers have a 10 bit 2’s complement mantissa and 6 bit 2’s complement exponent. What is the decimal value? a) b) c) Answer… a) 9.25 b) c) -3.25

16 Question 15 Question… What is the trade off when changing the size of the mantissa and exponent in terms of accuracy and range. Answer… A larger mantissa means higher accuracy and lower range whereas higher exponent means higher range but lower accuracy

17 Question 16 Question… Represent the value − in floating point form using 10-bit two’s complement mantissa and 6-bit two’s complement exponent in normalised form. Answer…


Download ppt "Data Representation Covering… Binary addition / subtraction"

Similar presentations


Ads by Google