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

Need help with your exam preparation?