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.   ALU + Registers
B.   ALU + L2 cache
C.   Execution Unit + L1 caches
D.   L1 caches + 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.   pseudo ops + macros
B.   Integer square-root
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.   GPU
B.   CP0 + CP1
C.   FPU
D.   up to 4 co-processors
Question #6
MIPS CP0 contains which set of registers:
A.   PC+RA
B.   FPU + EPC
C.   PSW + PC
D.   BadVA + Status + Cause + EPC
Question #7
MIPS CP1 contains which set of registers:
A.   PC, RA, SP, FP
B.   $f0 - $g15
C.   $0 - $31
D.   $f0 - $f31
Question #8
MIPS CP2 contains which set of registers:
A.   TBD (not defined)
B.   $f0 - $f15
C.   $0 - $31
D.   PC, RA, SP, FP
Question #9
MIPS FPU is also called:
A.   $f0 - $f31
B.   TBD (not defined)
C.   PSW
D.   CP1
Question #10
MIPS FPU has these instructions in its ISA, except which
A.   sub.d
B.   addi
C.   mfc1
D.   add.s
Question #11
MIPS “Load” instructions can read data from which memory segments:
A.   data, stack and heap
B.   stack
C.   data
D.   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.   macro
C.   pseudo
D.   primitive
Question #14
MIPS32 lw, lh, lhu, lb, lbu instructions are what kind of instructions:
A.   macro
B.   pseudo
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.   heap
C.   global
D.   data

Need help with your exam preparation?