A desktop laser printer has a 300-pixel-per

advertisement
A desktop laser printer has a 300-pixel-per-inch resolution. If each pixel is stored in
one bit of memory how many bytes of memory are required to store the complete
image of one 8.5 X 11 inch of paper?
A. About 8 KB
B. About .5 MB
C. About 1 MB
D. About 4 MB
E. About 8 MB
Assuming nine-bit two's complement binary representation, convert 1B4 from hexadecimal to
decimal. Remember to check the sign bit:
1B4 (hex) = Blank 1
(bin) =
(dec)
Assuming nine-bit two's complement representation, convert 94 to binary, show the effect of the
ASL operation on it, then convert the result back to decimal.
94 (dec) =
(bin) ASL
=
(bin) =
(dec), NZVC =
Determine the output of the following Pep/8 machine language program.
The left column in each part is the memory address of the first byte on the line:
0000
0003
0004
0007
000A
000B
000C
C1000C
18
F1000B
51000B
00
00
F0D4
A. *
B. /
C. +
D. 1. In the Bible, Exodus Chapter 18 describes how Moses was overwhelmed as the
single judge of Israel because of the large number of trivial cases that were brought
before him. His father-in-law, Jethro, recommended a hierarchical system of
appellate courts where the lowest-level judge had responsibility for 10 citizens. Five
judges of 10 sent the difficult cases that they could not resolve to a judge of 50
citizens. Two judges of 50 were under a judge of 100 and 10 judges of 100 were
under a judge of 1,000. The judges of 1,000 citizens reported to Moses, who had to
decide only the most difficult cases. If the population were exactly 10,000 citizens
(excluding judges), how many judges (including Moses) were needed?
1. Suppose you have a 12-bit cell. Find a binary number such that when you add it to
0110 0101 0111, the sum is all 0's. That is, find the missing number in the following
operation. Be sure your answer is in the correct format.
Answer: [x1]
Suppose you need to process a list of 31,000 integers contained in Pep/8 memory at one
integer per word. You estimate that 20% of the instructions in a typical program are unary
instructions. Keep in mind that your applications program must share memory with the
operating system and your data.
Your program can have a maximum of:
Blank 1
unary instructions and
Blank 2
nonunary instruction
For IEEE 754 single precision floating point, what is the number, as written in binary scientific
notation, whose hexadecimal representation is:
For IEEE 754 single precision floating point, write the hexadecimal representation for -1.0.
Download