2 Convert each of the following octal numbers to 10bit binar

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

Solution

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

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

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site