1. A hypothetical computer stores 12 bits of information. The
first bit is used for the...
1. A hypothetical computer stores 12 bits of information. The
first bit is used for the sign of the number; the second bit is
used for the sign of the exponent. Four bits are used for the
magnitude of the exponent and six bits are used for the magnitude
of the mantissa.
a. Represent the number -147.32 in Binary scientific
notation
b. How would the number be represented in the computer?
c. Calculate the true error and absolute relative true
error
Solutions
Expert Solution
ANSWER:
A) -147.32 IN BINARY SCIENTIFIC NOTATION =
-1.001001101010001×2^7
B) The computer representation of -147.32 =
101000001001
A 64 bit computer uses a memory of 32KB. Work out the
number of bits of
AR, DR, PC, AC, and the HEX code of the address of last memory
location.
b) The memory attached to a processor has access time of 400ns.
When a cache memory is
introduced in the system, it is found that on average the access
time for the computer was
30% greater than the cache access time for a miss ratio of 0.10.
Work out...
A 12-bit Hamming code word containing 8 data bits and 4 parity
bits is read from memory. What was the original 12-bit word written
into memory, if the 12-bit word read were the following?
(i) 000011101010
(ii) 101110000110
(iii) 101111110100
In a computer instruction format, the instruction length is 12
bits and the size of an address field is 5 bits. The system
architect has already designed three 2-address instructions and
thirty one 1-address instructions. How many 0-address instructions
can still be possibly accommodated?
Consider the following hypothetical microprocessor. Assume this
processor uses 32-bit instructions. Assume the 32 bits are composed
of an opcode of 7 bits and an address of 25 bits. Answer the
questions below.
What is the memory capacity (in Bytes)? Show your work and give
your final answer in megabytes (MB).
Consider the following address and data bus widths, and discuss
their impact on system speed.
Local address bus width of 32 bits, and a local data bus width
of...
Write a computer program that stores and tracks information
about high school students. The first piece of information is what
grade the student is in. Since this is for high school, the
available values are 9, 10, 11, and 12. We also want to track the
student’s GPA. Examples of GPAs are 2.2, 2.6, and 4.0. Finally, we
want to track the letter grade that the student got on his or her
final exam. These values are A, B, C,...
IEEE 754 format of 32-bit floating-point is as follows.
1
8 (bits)
23 (bits)
What’s stored in each region?
What’s the bias value and how to get it?
For decimal fraction: – 0.625, please represent it as given
format (Note: you must show the
specific procedure/stepsin order to get full
credits. If you only present final result directly, you will only
get half of the credits even if it is
correct.).
Computer Architecture
1. Define what a "word" is in computer architecture:
The size (number of bits) of the address
The total number of bits of an instruction (e.g. 16 bits)
Word and width are synonymous.
A word is the contents of a memory register.
2. What is the difference between a register’s width and a
register’s address? (choose all that apply - there may be more than
one correct answer)
They are both the same!
Address is the same for...
Using 64-bit IEEE 754 DOUBLE precision
floating point with one(1) sign bit, eleven (11) exponent bits and
fifty-two (52) mantissa bits, what is the decimal value of:
0xBFE4000000000000
1. How many 12-bit strings (that is, bit strings of length 14)
start with the sub-string 011?
2. You break your piggy bank to discover lots of pennies and
nickels.
You start arranging them in rows of 6 coins.
How many coins would you need to make all possible rows of 6
coins (not necessarily with equal numbers
of pennies and nickels)?
3. How many shortest lattice paths start at (4, 4) and end at
(13, 13)?
4. What is...