Professional Documents
Culture Documents
Vũ Hoàng Long: Câu Hỏi
Vũ Hoàng Long: Câu Hỏi
Nhà của tôi Các khoá học của tôi 2122I_ELT3047E_20 General Quizz 2
1. When representing -5.0 in IEEE 754 floating-point format with single precision, the exponent field is
a. 11111110
b. 00000010
c. 10000001
d. 01111110
Câu Hỏi 2 Sai
2. What is the minimum number of bits to encode all the letters in the English alphabet (from A to Z)
a. 8
b. 4
c. 2
d. 6
3. A program has 106 instructions in a mix of 50% ALU, 30% Load/store, and 20% branch running on an
ISA implementation with clock rate of 4 GHz. If this ISA completes ALU instruction in 1 clock cycle,
Load/store instruction in 3 clock cycles, and branch instruction in 2 clock cycles, what's the run time for this
program?
a. 2 ms
b. 0.5 ms
c. 2 ns
d. 0.5 ns
Câu Hỏi 4 Đúng
4. Assume that register $s1 stores the base address of an array A containing single precision float
numbers. The MIPS instruction "lw $t0, 8($s1)" does which of the following operation
a. $t0 ← A[2]
b. $t0 ← $s1+8
c. $t0 ← A[8]
d. $t0 ← $s1*8
a. Hybrid instructions
b. Run-length instructions
c. Variable-length instructions
d. Fixed-length instructions
Câu Hỏi 6 Đúng
add
$8, $8, $10 # rlt addr: 4
End: # rlt addr: 16
What is the value of the immediate field in the beq instruction encoding?
a. 3
b. End
c. 16
d. 4
7. Suppose a system has operation times for I & D memories, ALU, Decode & register file access are 200
ps, 180 ps, 150 ps respectively. What's the clock rate for single-cycle implementation if we ignore delays in
the PC register, mux, extender, and wires?
a. 1.47 GHz
b. 1.14 GHz
c. 1.37 GHz
d. 1.87 GHz
Câu Hỏi 8 Sai
8. Assume that individual stages of the datapath have the following latencies: IF=250 ps, ID = 350 ps, EX =
150 ps, MEM = 300 ps, WB = 200 ps. What is the total latency of an lw instruction in a pipelined processor?
a. 1250 ps
b. 1750 ps
c. 750 ps
d. 350 ps
9. Suppose the following repeating pattern (e.g., in a loop) of branch outcomes: T, NT, T, T, NT. What is the
accuracy of the 2-bit predictor for the first four branches in this pattern, assuming that the predictor starts off
with the predict bit equals to 0 (not taken)?
A. 100%
B. 75%
C. 25%
D. 50%
Câu Hỏi 10 Đúng
Find the AMAT (in ns) for a 2-level cache system with:
Answer: 0,85