(a) Hexadecimal numbers are numbers in base 16. They use the following sixteen
digits: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, A, B, C, D, E, F. They are
widely used in com-
puting, for example, to represent colors or network addresses of
computers.
i. Convert A2F1316 to decimal. Show your work.
ii. Convert 456710 into hexadecimal. Show your work.
iii. Convert 00010101100011002 to hexadecimal. Explain how can you
use
the fact that 16 = 24
?
iv. If you convert a 64-bit binary number into hexadecimal, how many hexadecimal digits does it have? Explain.
i)
=> A2F13
=> Ax16^4+2x16^3+Fx16^2+1x16^1+3x16^0
=> Ax65536+2x4096+Fx256+1x16+3x1
=> 10x65536+2x4096+15x256+1x16+3x1
=> 667411
Answer: 667411
ii)
Divide 4567 successively by 16 until the quotient is 0
4567/16 = 285, remainder is 7
285/16 = 17, remainder is 13
17/16 = 1, remainder is 1
1/16 = 0, remainder is 1
Read remainders from the bottom to top as 11D7
Answer: 0x11D7
iii)
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 0001010110001100 to hexadecimal
0001 => 1
0101 => 5
1000 => 8
1100 => C
So, in hexadecimal 0001010110001100 is 0x158C
Answer: 0x158C
iv)
each 4-bit binary is converted to a single symbol of hexadecimal
so, 64-bits binary is converted to 64/4 = 16 digits of hexadecimal
Answer: 16
(a) Hexadecimal numbers are numbers in base 16. They use the following sixteen digits: 0, 1,...
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...
- ZOOM + To TITUITU.UUT 6 Convert each of the following octal numbers to binary, hexadecimal and decimal using the most appropriate conversion method. (a) 371 7. Convert each of the following decimal numbers to binary, octal and decimal using the most appropriate conversion method. (a) 3D65E 8. Show how a 16-bit computer using a two's complement number system would perform the following computations. (a) (2925)10 -(16850).0 = (?). (b) (16850)10-(2925)10 = (?)10
<§3.2> What is 5ED4 - 07A4 when these values represent signed 16- bit hexadecimal numbers stored in sign-magnitude format? The result should be written in hexadecimal. Show your work.
Convert the following numbers to hexadecimal (base 16). Show your work. 1 1110101012 base 2 2 1011012 base 2 3 5510 base 10 4 110 base 10 5 5210 base 10
3.8) Convert the hexadecimal number 0x15 to a decimal number. 3.9) Convert the hexadecimal number 0x19 to a decimal number. 3.10) Convert the decimal number -35 to an 8-bit two’s complement binary number. 3.11) Convert the decimal number -32 to an 8-bit two’s complement binary number. 3.12) Assuming the use of the two’s complement number system find the equivalent decimal values for the following 8-bit binary numbers: a)10000001 b)11111111 c)01010000 d)11100000 e)10000011 3.13) Convert the base 8 number 204 to...
3) Convert following decimal to 8-bit signed numbers in hexadecimal, use two’s-complement for signed integer 127d, -20d, -128d, -1d 4) Convert the 16-bit signed numbers to the decimal C0A3h, 3AECh, 0101 1001 0111b, 1011 0101 1001 0111b please solve the problems step by step. It would be of great help.
I need the following problems worked out (show work). Thee answers are provided, I just need the work explained briefly for each one. 4 - What is the decimal representation of each of the following unsigned binary integers? a. 00110101 (53) b. 10010110 (150) c. 11001100 (204) 6 - What is the sum of each pair of binary numbers? a. 10101111 + 11011011 (110001010) b. 10010111 + 11111111 (110010110) c. 01110101 + 10101100 (100100001) 8 - How many bits are...
Analize the following statements in assembly language using signed
16-bit numbers.
1) Explain how to work the following statement in assembly
language
Part III (30 points)- Analyze the following statements in Assembly language using signe 16 bit numbers movf subwf i+1, bot end if mov i 1, w addwfc. end if rest of oode
Please help me with the following question. Please show your
work so I can understand how you arrived at the solution. PLEASE DO
NOT COPY OTHER ANSWERS FROM THE INTERNET. Those answers are
incorrect and or do not show work.
The following is a page table for a system with 12-bit
virtual and physical addresses and 256-byte pages. Free page frames
are to be allocated in the order 9, F, D.
**A dash for a page frame indicates that the...
Problem 1: Implement an algorithm to generate prime numbers. You will need to implement the following ingredients (some of them you developed for earlier assignments): 1. A method to generate random binary numbers with n-digits (hint: for the most significant digit, you have no choice, it will be 1; similarly, for the least significant digit there is no choice, it will have to be 1; for all other position, generate 0 or 1 at random) 2. A method to compute...