0% found this document useful (0 votes)
152 views2 pages

Hw1 Solutions

This document provides solutions to homework problems involving binary, decimal, and hexadecimal numeric conversions. It includes converting positive and negative numbers between binary, decimal, and hexadecimal representations. It also includes performing addition and subtraction on numbers in two's complement binary format and converting the results to decimal.

Uploaded by

Bach Dao
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 PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
152 views2 pages

Hw1 Solutions

This document provides solutions to homework problems involving binary, decimal, and hexadecimal numeric conversions. It includes converting positive and negative numbers between binary, decimal, and hexadecimal representations. It also includes performing addition and subtraction on numbers in two's complement binary format and converting the results to decimal.

Uploaded by

Bach Dao
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 PDF, TXT or read online on Scribd
You are on page 1/ 2

EE 2310 Homework #1 Solutions Binary Numbers and Numeric

Conversions
1. Convert the following positive decimal numbers to binary (take the binary point of
non-exact fractions to at least 2x the decimal number of places):
126

57

111 1110

11 1001

0.125

0.001

23.57 10111.1001

0.875 0.111

11.0625 1011.0001

2. Convert the following positive binary numbers to decimal:


11 1011

59

1010.01

10.25

111.111

7.875

111 0011

115

0.0011

0.1875

1111.011

15.375

3. Convert the following binary numbers to hexadecimal (prefix the hexadecimal


number with 0x, which means hexadecimal number).
1101 0111 1111 1001 0011 1010.1111

0x d7f93a.f

1 0001.11

0x 11.c

1110.0111 1001 1110 1011 1111

0xe.79ebf

111 1010.001 0x7a.2

4. Convert the following hexadecimal numbers to binary (byte form):


0x d6.e8

1101 0110.1110 1

0x 2eb5.cc4 10 1110 1011 0101.1100 1100 01

0x 548cf.b3

101 0100 1000 1100 1111.1011 0011

0x f8.d8 1111 1000.1101 1

5. Convert the following twos complement binary numbers to decimal.


(Remember to show all 8 bits in 2s complement, which includes the sign bit).
1001 1111

97

1010 1111

81

0110 1000

104

1111 1100

0111 0111

119

1100 0001

63

6. Convert the following decimal numbers to signed binary numbers, using the 2s
complement sign convention:
75

0100 1011

101 1001 1011

96

1010 0000

54

1100 1010

23

121

0111 1001

1110 1001

7. Perform the indicated math operation (numbers are twos complement binary).
Write the decimal value of the answer below the binary answer.
1110 0111 (25)
+0111 1100 (124)
0110 0011
+99

0011 1000 (56)


1011 1010 ([70])
0111 1110
+126

EE 2310, Homework #1

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy