Exercise 2 Number Systems and Data Representation PDF

Title Exercise 2 Number Systems and Data Representation
Author Artur Ka
Course Computer Architecture and Networks
Institution Coventry University
Pages 3
File Size 94.5 KB
File Type PDF
Total Downloads 38
Total Views 139

Summary

Exercise 2 Number Systems and Data Representation...


Description

w/c 10/10/2016

120CT

Computer Architecture and Networks – 120CT Exercise 2: Number Systems and Data Representation

Part A 1) Convert the following binary numbers to decimal: a. 1101 b. 01101001 c. 1101001110.101

2) Convert the following decimal numbers to binary: a. 67 b. 381 c. 40.375

3) Convert the following decimal numbers to 8-bit binary values: a. 48 b. 103 c. 165

4) Convert the following hexadecimal numbers to binary: a. 63F b. BEEF c. F00D

5) Convert the following binary numbers to hexadecimal: a. 10010011 b. 1010001011100101 c. 110010011101100001

6) Convert the following octal numbers to binary: a. 627 b. 4550 c. 2771

7) Convert the following binary numbers to octal: a. 101011001 b. 111100000 c. 1100101011

w/c 10/10/2016

120CT

8) Convert each of the following decimal numbers to BCD: a. 8 b. 39 c. 526

9) Convert each of the following BCD numbers to decimal: a. 1001 b. 00100111 c. 011000010100

10)Perform the following arithmetic operations: a. 11012 + 10112 b. 001011002 + 000100012

11)Determine the 1’s complement of each of the following binary numbers: a. 11011100 b. 01101001 c. 01010010

12)Determine the 2’s complement of each of the following binary numbers: a. 00111010 b. 10110011 c. 01101100

13)Express each of the following decimal numbers as an 8-bit number in the 1’s complement form: a. -34 b. +103 c. -99

14)Express each of the following decimal numbers as an 8-bit number in the 2’s complement form: a. -68 b. +101 c. -109

w/c 10/10/2016

120CT

15)Determine the decimal value of each of the following signed binary numbers which are in the 1’s complement form: a. 00010011 b. 10100010 c. 11001001

16)Determine the decimal value of each of the following signed binary numbers which are in the 2’s complement form: a. 00111001 b. 11010011 c. 11001001

Part B 17)Convert each of the following pairs of decimal numbers to binary and add using the 2’s complement form (keep your answer in the 2’s complement form, and indicate if an overflow occurs): a. 33 and 15 b. 56 and -27 c. -46 and 25 d. -110 and -84

18)Convert +4.7510 to a 32-bit binary word, using the IEEE 754 floating point standard [1 sign bit, 8 bits for the exponent, 23 bits for the argument].

19)Convert -10.62510 to a 32-bit binary word, using the IEEE 754 floating point standard [1 sign bit, 8 bits for the exponent, 23 bits for the argument].

20)My name (“Dianabasi”) in ASCII is “0x44 0x69 0x61 0x6E 0x61 0x62 0x61 0x73 0x69”. What is your name converted into ASCII?...


Similar Free PDFs