Question

- Convert a 10 digit binary number that has 3 decimal digits (of your own choosing) to decimal (show all steps) .
- Find the twos complement of the following number: (show all steps) 88 decimals (first convert to binary)

Answer #1

**Converting Binary to Decimal**

Convert binary to decimal using Positional Notation

Since number numbers are type of positional number system. That
means weight of the positions from right to left are as
2^{0}, 2^{1}, 2^{2}, 2^{3}... and
so on for the integer part and weight of the positions from left to
right are as 2^{-1}, 2^{-2}, 2^{-3},
2^{-4}... and so on for the fractional part.

I am taking a 3 decimal digit number 618

1001101010

2^{9} x 1 + 2^{8} x 0 + 2^{7} x 0 +
2^{6} x 1 + 2^{5} x 1 + 2^{4} x 0 +
2^{3} x 1 + 2^{2} x 0 + 2^{1} x 1 +
2^{0} x 0

= 512 + 64 + 32 + 8 + 2

= **618**

===================================================================

**Finding two's complement of a number**

To get 2’s complement of binary number is 1’s complement of given number plus 1 to the least significant bit (LSB).

For example 2’s complement of binary number 10010 is (01101) + 1 = 01110.

Given number 88.

Convert it into binary

|_88_____

2|_44 - 0

2|_22 - 0

2|_11 - 0

2|_5 - 1

2|_2 - 1

2|_1 - 0

The binary is **1011000**

First find 1's complement of binary number

1's complement is convert **all 0 to 1 and 1 to
0.**

Therefore 1's complement of 1011000 is
**0100111**

Then **add 1 to the 1's complement**

(0100111) + 1 = **0101000**

**Thank you. Please ask me if you have any
doubt.**

Convert the hexadecimal number DEADBEEF to
binary.
Convert the following decimal number to binary:
a) 356
b) 658
What decimal value does the 8-bit binary number 10011110
represent if it is on a computer using two’s complement
representation?
What decimal value does the 8-bit binary number 10110100 have
if it is on a computer using two’s complement representation?
please show your work for question number 4. thank you.

Convert (2846.782)base 10 to binary. Find the first 5 digits of the
fractional part.
Convert 1100101011 to octal.
Convert 1100101011 to hexadecimal.
Please show all work im trying to understand this

2 Convert each of the following octal numbers to 10-bit binary,
hexadecimal, and decimal. Show your work.
(a) 368
(b) 7568
3 Convert the following binary values into Decimal, Octal and
hexadecimal. Show your work.
(a) 111010101011112
(b) 1010111011001102
(c) 1011101010001112
(d) 1111101011102
4 Convert the following hexadecimal numbers to 16-bit binary and
decimal numbers. Show your work.
(a) FE9816
(b) FCAD16
(c) B00C16
(d) FEDF16
5 Perform the addition on the following unsigned binary numbers.
Indicate whether or not...

Add decimal numbers using binary additions for 170 and 493.
Steps: Convert each number to binary first. Then add the two binary
numbers using binary addition. Make sure to keep track of the carry
bit and show the carry for each step even when it is zero. Please
show all work.

1) convert binary number 10.011 into equivalent
decimal number
2) Determine the two's complement of the given binary number
10011100
3) Design a combinational logic circuit that can add 3 bit binary
imputs

Find the 2's complement of the following decimal numbers (You
must convert the number to binary and the answer has to be in
binary with the same number of bits as the conversion)?
a. 20
b. 15
c. 2126
d. 266
e. 466
please explain how you did it!

Assuming nine-bit 2’s complement representation, convert the
decimal number -137 to binary, show the effect of
the ROL operation on it with initial carry C=1,
show the status bits and then convert the result back to decimal.
Repeat with the ASR operation. Write the
RTL specification of both operations shown
here.

Convert the decimal number 147 base 10 to base 3. However, do this
using a POWER SERIES EXPANSION of the form 147_10=a_2
*R^2+a_1*R^1+a_0*R^0, where R is the number 10 in the base of the
number you want to convert to (3) (i.e., R=10_3) and {a_0, a_1,a_2}
are the coefficients represented in base 3. Verify your answer
using the "division method". Show all your work and all
steps.

EE 263 Homework Assignment 1
Perform the following conversions:
Convert 51 (decimal) to binary and to hex
Convert 0xD1 (hexadecimal) to binary and to decimal
Convert 0b11001001 (binary) to hex and to decimal
Find the 2’s complement of the following 4-bit numbers
1101
0101
Perform the following 4-bit unsigned operations. For
each, indicate the 4-bit result and the carry bit, and indicate if
the answer is correct or not.
5 + 8
2 + 12
13 – 7
4...

1. Show how you would do the following sum in binary (make sure
to convert to binary first and give the result in both binary and
base 10): 63+125
2. How many binary sequences are there of length n?
3. What is two’s complement and why is it used?

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 52 seconds ago

asked 55 minutes ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 1 hour ago

asked 2 hours ago

asked 2 hours ago

asked 2 hours ago