Question
Quick Computer science questions Perform the following calculations on 8-bit twos complement integers (Questions 22-through-26) and answer 27-30. Will rate positive if all answered 22.
Quick Computer science questions
Perform the following calculations on 8-bit twos complement integers (Questions 22-through-26) and answer 27-30. Will rate positive if all answered
22. 001011012 + 011011112 (do addition)
A: 100111002 B: 000111002 C: 100110002 D: overflow occurs E: none of these
23. 000100002 * 000000112 (do multiplication)
A: 000110002 B: 001100112 C: 001100002 D: 110000002 E: none of these
24. 010111112 000010002 (do integer division and disregard remainder)
A: 000010102 B: 000010112 C: 000001112 D: 000001012 E: none of these
25. (Continuing 24) What is the remainder?
A: 000010102 B: 000010112 C: 000001112 D: 000001012 E: none of these
26. T or F? 011111102 111111112 = 011111112 (do subtraction)
27. What is the base 10 equivalent of 101010102 when the 8-bit code is interpreted as an unsigned 8-bit integer?
A: 160 B: 170 C: -86 D: -85 E: none of these
28. What is the base 10 equivalent of 101010102 if when 8-bit code is interpreted as a twos complement 8-bit integer?
A: 160 B: 170 C: -86 D: -85 E: none of these
29. Which one of the following is not a correct numeric representation of the ASCII character 'A'? Hint See pages 138-139 in our text book.
A: 6510 B: 010000012 C: 4116 D: 1018 E: 2315
30. What is 12310 represented in base 9 (nonary)?
A: 6419 B: 4169 C: 1649 D: 1469 E: none of these
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started