Computer 222 - Computer Organization » Fall 2021 » Quiz 2 Computer Org MIPS

Need help with your exam preparation?

Question #1
CPU’s Execution Unit contains all these:
A.   ALU + ICU + registers
B.   ICU + PSW
C.   CPU + GPU
D.   ALU + registers
Question #2
A CPU core contains which blocks:
A.   Execution Unit + L1 caches
B.   ALU + L2 cache
C.   ALU + Registers
D.   L1 caches + Registers
Question #3
An SoC can contain which functional elements:
A.   GPU
B.   FPU
C.   CPU
D.   Any of these
Question #4
MIPS32 ISA contains:
A.   pseudo ops + macros
B.   Integer + FPU directives
C.   Integer square-root
D.   Integer and FPU primitives + pseudo ops
Question #5
A MIPS CPU may contain an Integer unit + any of these, except which one:
A.   FPU
B.   up to 4 co-processors
C.   CP0 + CP1
D.   GPU
Question #6
MIPS CP0 contains which set of registers:
A.   PC+RA
B.   BadVA + Status + Cause + EPC
C.   FPU + EPC
D.   PSW + PC
Question #7
MIPS CP1 contains which set of registers:
A.   $f0 - $f31
B.   PC, RA, SP, FP
C.   $f0 - $g15
D.   $0 - $31
Question #8
MIPS CP2 contains which set of registers:
A.   $0 - $31
B.   $f0 - $f15
C.   PC, RA, SP, FP
D.   TBD (not defined)
Question #9
MIPS FPU is also called:
A.   PSW
B.   CP1
C.   TBD (not defined)
D.   $f0 - $f31
Question #10
MIPS FPU has these instructions in its ISA, except which
A.   sub.d
B.   mfc1
C.   add.s
D.   addi
Question #11
MIPS “Load” instructions can read data from which memory segments:
A.   data
B.   heap
C.   stack
D.   data, stack and heap
Question #12
MIPS “Store” instructions first write data via a “Write Buffer” directly into where:
A.   L1 D-cache
B.   Main memory
C.   L1 I-cache
D.   L2 cache
Question #13
MIPS32 “Load Immediate” (“li”) and “Load Address” (“la”) instructions are what kind of instructions:
A.   primitive
B.   none of these
C.   pseudo
D.   macro
Question #14
MIPS32 lw, lh, lhu, lb, lbu instructions are what kind of instructions:
A.   none of these
B.   pseudo
C.   macro
D.   primitive
Question #15
In MIPS32, execution of this code results in data being stored into which memory segment: li $t2,0x100400a sb $t1,($t2)
A.   heap
B.   stack
C.   data
D.   global

Need help with your exam preparation?