Given: Decimal Numbers 12310 , 99410 , and -37210
3.1 Express the above numbers in 12-bit Hexadecimal representation (show all work)

Using 2's complement representation to convert these decimal numbers to binary
1)
Since this is a positive number. we can directly convert this into binary
Divide 123 successively by 2 until the quotient is 0
> 123/2 = 61, remainder is 1
> 61/2 = 30, remainder is 1
> 30/2 = 15, remainder is 0
> 15/2 = 7, remainder is 1
> 7/2 = 3, remainder is 1
> 3/2 = 1, remainder is 1
> 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 1111011
So, 123 of decimal is 1111011 in binary
Adding 5 zeros on left hand side of this number to make this of length 12
so, 123 in 2's complement binary is 000001111011
Now, let's convert {} to hexadecimal 000001111011
Hexadecimal Binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111
Use this table to convert from binary to hexadecimal
Converting 000001111011 to hexadecimal
0000 => 0
0111 => 7
1011 => B
So, in hexadecimal 000001111011 is 0x07B
Answer: 0x07B
2)
Since this is a positive number. we can directly convert this into binary
Divide 994 successively by 2 until the quotient is 0
> 994/2 = 497, remainder is 0
> 497/2 = 248, remainder is 1
> 248/2 = 124, remainder is 0
> 124/2 = 62, remainder is 0
> 62/2 = 31, remainder is 0
> 31/2 = 15, remainder is 1
> 15/2 = 7, remainder is 1
> 7/2 = 3, remainder is 1
> 3/2 = 1, remainder is 1
> 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 1111100010
So, 994 of decimal is 1111100010 in binary
Adding 2 zeros on left hand side of this number to make this of length 12
so, 994 in 2's complement binary is 001111100010
Now, let's convert {} to hexadecimal 001111100010
Hexadecimal Binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111
Use this table to convert from binary to hexadecimal
Converting 001111100010 to hexadecimal
0011 => 3
1110 => E
0010 => 2
So, in hexadecimal 001111100010 is 0x3E2
Answer: 0x3E2
3)
This is negative. so, follow these steps to convert this into a 2's complement binary
Step 1:
Divide 372 successively by 2 until the quotient is 0
> 372/2 = 186, remainder is 0
> 186/2 = 93, remainder is 0
> 93/2 = 46, remainder is 1
> 46/2 = 23, remainder is 0
> 23/2 = 11, remainder is 1
> 11/2 = 5, remainder is 1
> 5/2 = 2, remainder is 1
> 2/2 = 1, remainder is 0
> 1/2 = 0, remainder is 1
Read remainders from the bottom to top as 101110100
So, 372 of decimal is 101110100 in binary
Adding 3 zeros on left hand side of this number to make this of length 12
So, 372 in normal binary is 000101110100
Step 2: flip all the bits. Flip all 0's to 1 and all 1's to 0.
000101110100 is flipped to 111010001011
Step 3:. Add 1 to above result
111010001011 + 1 = 111010001100
so, -372 in 2's complement binary is 111010001100
Now, let's convert {} to hexadecimal 111010001100
Hexadecimal Binary
0 0000
1 0001
2 0010
3 0011
4 0100
5 0101
6 0110
7 0111
8 1000
9 1001
A 1010
B 1011
C 1100
D 1101
E 1110
F 1111
Use this table to convert from binary to hexadecimal
Converting 111010001100 to hexadecimal
1110 => E
1000 => 8
1100 => C
So, in hexadecimal 111010001100 is 0xE8C
Answer: 0xE8C
Given: Decimal Numbers 12310 , 99410 , and -37210 3.1 Express the above numbers in 12-bit...
The following questions refer to IEEE floating point numbers. Show each step for full credit. a) Give the 64-bit double precision internal representation (in hexadecimal) of the decimal value given below. -9.625 ________________________________________________ b) Give the decimal value of the 32-bit single precision floating point number whose internal representation is given below (in hexadecimal). 3f400000 ________________________ c) Give the 32-bit single precision internal representation (in hexadecimal) of the decimal value given below. +13.375 ________________________________________________
Question 3: Represent the following numbers in the memory using 32-bit floating-point representation, then in Hexadecimal. 1. (-1313.3125) 2.(0.00011011) Question 4:_Represent the following data in the memory (show your work): 1.93 // Integer : Two bytes 2.-156 //Integer: Two bytes using Two's complement Question 5: Find the real number (in decimal) which is represented in the memory using 32-bit floating-point representation as follows, please show your steps follows: JOJO AOL
Convert the decimal numbers A and B to 5-bit binary numbers. Using two’s complement representation, show (i) how to subtract the two 5-bit binary numbers (A−B); (ii) how to translate the binary result back to decimal
1. 2. Find the decimal value of the following 8-bit numbers for (i) un-signed and (ii) signed number. (a) 11010110, (b) 01011101 Express the following decimal numbers in 6-bit 2's complement representation: (a) -27, (b) 6, (c)-13, (d) -47 - 4. Convert decimal numbers 83 and 101 to 8-bit unsigned binary number. Find the sum and difference (with addition approach) of these two numbers.
1. Convert the binary number 10101102 to octal, decimal, and hexadecimal numbers. 2. Convert the decimal number 236.7510 to binary,octal, and hexadecimal numbers. 3. Add the following two binary numbers: 100111102 and 011110112. Remember to show any carries that are generated along the way. 4. Repeat the previous question, but this time subtract the second binary number from the first. Remember to show any borrows that are required along the way. 5. Determine the encoding of the decimal number 28610...
The unsigned decimal value (1,036)(base 10) is to be stored as a 16-bit word in memory. a. Show the 16-bit unsigned binary representation of (1,036)(base 10). b. Show the 4-digit unsigned hexadecimal representation of (1,036)(base 10). c. The unsigned binary value of part (a) should be stored using two bytes of a byte-addressable memory at locations 400 and 401. Specify the hexadecimal value in each byte for a “big endian” instruction set architecture. Give your answer by showing a table.
Given the interpretation and the word(s), tell what characters or decimal numbers are stored in main memory by the designated word(s). We assume our computer uses 8 bits for characters and 16 bits for binary integers: (show your work) Word I 1011 0010 0010 0000 Word II 0100 1001 0101 0010 1) Binary Integer - Word I 2) Character (ASCII) – Word II _____________________________________________________________________________________________________________________________________________________ For the following problems, assume that our computer uses 16 bits for binary integers. Find the...
1. (a) Convert the following decimal numbers into their EEE-754 single-precision (32-bit) representations. Give your answers in hexadecimal form. (12 marks) (1)-3.3125 () (11) 522240 6) Convert the following IEEE 754 single-precision numbers in hexadecimal into their decimal values accurate to 5 significant figures. (8 marks) (1) 0x800E0000 (1) Ox9FACE600
(3 pts) Consider an unsigned fixed point decimal (Base10) representation with 8 digits, 5 to the left of the decimal point and 3 to the right. a. What is the range of the expressible numbers? b. What is the precision? c. What is the error? ______________________________________________________________________________ (3 pts) Convert this unsigned base 2 number, 1001 10112, to each base given below (Note: the space in the binary string is purely for visual convenience) Show your work. Using...
2. Convert the following hexadecimal numbers into decimal and binary (32 bit size): (a) A33 (b) ACDC