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.   ICU + PSW
B.   ALU + registers
C.   ALU + ICU + registers
D.   CPU + GPU
Question #2
A CPU core contains which blocks:
A.   ALU + Registers
B.   Execution Unit + L1 caches
C.   ALU + L2 cache
D.   L1 caches + Registers
Question #3
An SoC can contain which functional elements:
A.   Any of these
B.   CPU
C.   FPU
D.   GPU
Question #4
MIPS32 ISA contains:
A.   Integer + FPU directives
B.   pseudo ops + macros
C.   Integer and FPU primitives + pseudo ops
D.   Integer square-root
Question #5
A MIPS CPU may contain an Integer unit + any of these, except which one:
A.   CP0 + CP1
B.   FPU
C.   up to 4 co-processors
D.   GPU
Question #6
MIPS CP0 contains which set of registers:
A.   BadVA + Status + Cause + EPC
B.   PSW + PC
C.   FPU + EPC
D.   PC+RA
Question #7
MIPS CP1 contains which set of registers:
A.   PC, RA, SP, FP
B.   $f0 - $g15
C.   $f0 - $f31
D.   $0 - $31
Question #8
MIPS CP2 contains which set of registers:
A.   TBD (not defined)
B.   $0 - $31
C.   PC, RA, SP, FP
D.   $f0 - $f15
Question #9
MIPS FPU is also called:
A.   PSW
B.   $f0 - $f31
C.   TBD (not defined)
D.   CP1
Question #10
MIPS FPU has these instructions in its ISA, except which
A.   add.s
B.   mfc1
C.   sub.d
D.   addi
Question #11
MIPS “Load” instructions can read data from which memory segments:
A.   data, stack and heap
B.   stack
C.   heap
D.   data
Question #12
MIPS “Store” instructions first write data via a “Write Buffer” directly into where:
A.   L1 I-cache
B.   L2 cache
C.   Main memory
D.   L1 D-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.   pseudo
B.   macro
C.   none of these
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.   stack
B.   data
C.   global
D.   heap

Need help with your exam preparation?