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

Need help with your exam preparation?