Question

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 the sum overflows an 8-bit result. Show your work.

(a) 100110012 + 010001002

(b) 110100102 + 101101102.

Convert this floating point number in IEEE format to a real number. Show your work. 4070000016 10.

6 Convert the following decimal numbers to 16-bit signed binary numbers. Show your work.

(a) -8910

(b) -1510

Subject: Microcontroller Programming

Note- Please can you solve all the problem with step by step and solution also. Thanks

Answer #1

**Answer:**

**a) 368 , Convert from octal to binary : For this convert
each bit of octal number to 3 digit binary number as:**

**368 = 011 110 1000 is in binary**

**Conver octal to hexadecimal : 368 , first we convert it
into the decimal and then decimal to hexadecimal.**

**368 to convert it into the decimal by multiplying each
digit with 8^n-1 like :**

**3 * 8^2 + 6 *8^1 + 8*8^0 = 192 +48 +8 = 248 base
10**

**Now convert 248 to hexadecimal :**

**16 | 248
| 15 --1
= 151 in hexadecimal.**

**b) 7568 to convert it to binary , right each digit in
binary in 3 bits :**

**7568 = 111 101 110 1000 it is in binary.**

**Now to convert it into the hexadecimal, first convert it
in the decimal : -**

**7568 = 7*8^3 + 5*8^2 + 6*8^1 + 8*8^0 = 3960 base
10**

**Now to change it in hexadecimal divide 3960 by 16 and
take remainders = 278 is in hexadecimal**

Convert each of the following decimal numbers to binary, octal,
and hexadecimal numbers. Only go to 7 bits to the right of the
decimal and be sure to appropriately round the 7th bit.
(f) 250.8

Convert each of the following decimal numbers to octal,
hexadecimal, and decimal numbers using the most appropriate
conversion method.
(c) 0.375

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 the following decimal numbers into IEEE single precision
format. Give your answer in hexadecimal. Show all
work
A) -15.5625
B) 10.9375

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...

1a. Convert 101011101011011101 (base 2) to hexadecimal. Show
your work.
1b. Convert 67 (base 10) to 8-bit binary using signed magnitude.
Show your work.
1c. Convert 69 (base 10) to 8-bit binary using one’s complement.
Show your work.
1d. Convert 70 (base 10) to 8-bit binary using two’s complement.
Show your work.

a) Decimal 345.625 to binary, octal, and hexadecimal. please
show work, i am lost.

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.

Convert the following binary floating point number
100101.1001010101
using IEEE-756 single precision representation
Plz show work, thanks!

1-What is the decimal number of the binary numbers
(101111)2?
2-What is 123 in BCD code?
3-Convert the binary (10101011101)2 into octal and
hexadecimal?
4-What is 2's complement of (1101110)2?
5-Convert the decimal number 152.25 into
binary?

ADVERTISEMENT

Get Answers For Free

Most questions answered within 1 hours.

ADVERTISEMENT

asked 22 minutes ago

asked 23 minutes ago

asked 45 minutes ago

asked 45 minutes ago

asked 48 minutes ago

asked 48 minutes 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