0% found this document useful (0 votes)
74 views

Number System Assignment

This document contains an assignment on binary, hexadecimal, and octal number systems. It includes exercises to convert numbers between these number systems and decimal. It also covers signed number representation using signed magnitude, one's complement, and two's complement notation. Students are asked to write a letter explaining the importance of non-decimal number systems in computing and perform calculations using different signed number representations.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
74 views

Number System Assignment

This document contains an assignment on binary, hexadecimal, and octal number systems. It includes exercises to convert numbers between these number systems and decimal. It also covers signed number representation using signed magnitude, one's complement, and two's complement notation. Students are asked to write a letter explaining the importance of non-decimal number systems in computing and perform calculations using different signed number representations.
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 3

B Tech – II : Computer Organization

Semester – IV 2022-23
Assignment 1
Date of Submission: 02nd January ,2023

Exercise 1 - The Binary Number System

1. Conversion between Binary and Decimal

a. Convert each binary number to decimal.


10 01 11 1001
0110 1111 1101 0111
1100 1011 0101 11010010
01100111 10010011 01110111 1001101010000010

b. Convert each decimal number to binary.


5 9 2 7
72 28 93 17
274 937 118 267
8375 2885 82740 72649

c. Convert each decimal fraction to binary. Retain 8 bits to the right


of the binary point when the conversion is not exact.
0.5 0.25 0.75 0.375
0.3 0.8 0.55 0.35
0.875 0.4375 0.3872 0.8462

d. Convert each binary fraction to decimal.

0.1 0.11 0.01


0.011 0.1001 0.0111

e. Convert each decimal number to binary. Keep 8 bits to the right


of the binary point when the conversion is not exact.

5.5 2.75 4.375


29.381 948.472 2847.22853
f. Convert each binary number to decimal.
1.1 10.11 10.01
101.011 11001.01101 101001.100101

Exercise 2 _ The Hexadecimal Number System

1. Binary-Hex Conversions

a. Convert each binary number to hexadecimal.


1101 1010 1001 1111
10010011 01100111 11011000 01011100
1001001010100110 0101110101110001 1001.0011 10.0011
1.00111 101.101 10101.001 110.011

b. Convert each hex number to binary.


6F B2 4A
CC 2F35 D213
47A2 ABCD 5.F
A4.E 9.AA 6D.7C

2. Decimal-Hex Conversions
a. Convert each hex number to decimal.
F2 5C 33
DF 37A4 A3F6
F274 C721 3.F
22.D ABC.DE C.284

b. Convert each decimal number to hex.


39 13 921
554 2741 9945
1736 2267

Exercise 3 The Octal Number System


a. Convert each binary number to octal.
110 010 111
101 110011 011010
01101101 110110100 1001001

b. Convert each octal number to binary.


26 35 623
621 5243 1153
63150 2346
Exercise : 4

A legislator, trying to trim the college budget, has suggested dropping the
study of binary numbers. “Why do we need other numbers?” he asks. “Plain
numbers were good enough when I went to school.”
Write a letter to this legislator, explaining why, in this computer age,
“plain” numbers are not enough. Include specific examples of the use of binary
numbers. Be polite but forceful, and limit your letter to one page.(Note: Answer
must be different for every students).

Exercise : 5 Signed Number Representation

1. What is the 8-bit signed –magnitude binary representation for each of the
following decimal numbers?
a. 23
b. -23
c. -48
2. What is the 8-bit 1’s complement binary representation for the following
decimal numbers?
a. 23
b. -23
c. 57
d. -57
3. What is the 8-bit 2’s complement binary representation for the following
decimal numbers?
a. 23
b. -23
c. 57
d. -57
4. Convert these 5-bit two’s complement values into decimal
a. 11011
b. 10001
c. 11111
d. 10000
5. Add the values +5 and -6 in signed magnitude,1’s complement and 2’s
complement notation using 4-bits
6. Add the values +3 and -4 in magnitude,1’s complement and 2’s
complement notation two’s complement notation using 4-bits.
7. Compute -3-4 in two’s complement notation using 5-bit numbers.
8. Compute 6-7 in two’s complement notation using 5-bit numbers.

You might also like