2. What is the binary representation of decimal 34:(10pnts) 3. What is the hexad
ID: 3870198 • Letter: 2
Question
2. What is the binary representation of decimal 34:(10pnts) 3. What is the hexadecimal representation of decimal 35: (10pnts) 4. What is the sum of the binary integers 1101101 and 00111011: (10pnts) 5. What is the 8-bit two's complement of binary 00000010: (10pnts) 6. What is the binary representation of decimal-42: (10pnts) 8: 8. The expression-XA-Y is true whes false andis true. (10pnts) 9. T or F: To translate an unsigned decimal integer into binary, repeatedly divide the integer by 2, saving each remainder as a bi (10pnts) 10. A dynamic link library (DLL) is usually written in the. language. (10pnts)Explanation / Answer
2.
remainder
2|34
2|17 0
2|8 1
2|4 0
2|2 0
2|1 0
2|0 1
= (100010)2
3. 35
remainder
16|35
16|2 3
16|0 2
= (23)16
4.
0110 1101
+0011 1011
-------------------
1010 1000
----------------
5. 0000 0010
1's complement = 1111 1101
2's complement = 1's complement + 1
= 1111 1101 + 1= 1111 1110
6.
-42
negative number can be represented by two's complement of 42
remainder
2|42
2|21 0
2|10 1
2|5 0
2|2 1
2|1 0
2|0 1
= 101010
1's complement = 010101
2's complement = 1's complement + 1
= 010101 +1
= 010110 = -42
7.
20 + 21 + 22 + 23 + 24 + 25 + 26 + 27 + 28 + 29
= 1 + 2+ 4+ 8+ 16+ 32 + 64+ 128 + 256 + 512
= 1023
8.
x is false
and y is true
9. True.
10. High level languages
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.