0% found this document useful (0 votes)
2K views2 pages

Cs302 Assignment#1 Solution

The document contains solutions to 4 questions about binary, hexadecimal, and decimal number conversions. It provides step-by-step workings for converting decimal numbers to binary and representing binary numbers in hexadecimal. It also lists the highest decimal numbers representable by a given number of binary digits. The document recommends the website http://vujannat.ning.com/ as a helpful resource for VU students.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2K views2 pages

Cs302 Assignment#1 Solution

The document contains solutions to 4 questions about binary, hexadecimal, and decimal number conversions. It provides step-by-step workings for converting decimal numbers to binary and representing binary numbers in hexadecimal. It also lists the highest decimal numbers representable by a given number of binary digits. The document recommends the website http://vujannat.ning.com/ as a helpful resource for VU students.
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 2

http://vujannat.ning.

com/
Best Website To Help VU Students

CS302 Assignment No. 1 solution


Monday, November 08, 2010 Edit This
Question_1:

Convert following decimal values to binary:

• 3.25

3.25 = 11.01

• 20.20

10100.00110011

Question_2:

Express each decimal number as an 8-bit number in the 2's complement form:

• +18

00010010

• -117

11110101

Question_3:

Represent the following binary numbers in Hexadecimal:

• 1111110000

0011

1111

0000 3

0
Two zeros have been added to complete a 4-bit ***** at the left

http://vujannat.ning.com/
Best Website To Help VU Students
http://vujannat.ning.com/
Best Website To Help VU Students

• 1001001001000

0001

0010

0100

1000 1

8
Three zeros have been added to complete a 4-bit ***** at the left

Question_4:

What is the highest decimal number that can be represented by each of the following
numbers of binary digits (bits) ? (litlle doubted plz confirm ur self)

• two

10

• eight

1000

• sixteen
• 10000
• thirty-two

100000

http://vujannat.ning.com/
Best Website To Help VU Students

You might also like