Quiz 2 – Computer Org, MIPS
Score for this quiz: 10 out of 15
Submitted Feb 11 at 4:32pm
This attempt took 2.939 minutes.
Question 1
1 / 1 pts
CPU’s Execution Unit contains all these:
ALU + ICU + registers Correct!
CPU + GPU
ICU + PSW
ALU + registers
Question 2
1 / 1 pts
A CPU core contains which blocks:
L1 caches + Registers
ALU + L2 cache
Execution Unit + L1 caches Correct!
ALU + Registers
Question 3
1 / 1 pts
An SoC can contain which functional elements:
Any of these Correct!
CPU
FPU
GPU
Question 4
0/1 pts
MIPS32 ISA contains:
Integer and FPU primitives + pseudo ops Correct!
Integer square-root
pseudo ops + macros
Integer + FPU directives
Question 5
1 / 1 pts
A MIPS CPU may contain an Integer unit + any of these, except
which one:
GPU Correct!
up to 4 co-processors
CPO + CP1
FPU
Question 6
1 / 1 pts
MIPS CPO contains which set of registers:
PC+RA
PSW + PC
BadVA + Status + Cause + EPC Correct!
FPU + EPC
Question 7
1 / 1 pts
MIPS CP1 contains which set of registers:
$fO – $g15
$fO – $$31 Correct!
$0 – $31
PC. RA, SP, FP
Question 8
1 / 1 pts
MIPS CP2 contains which set of registers:
PC, RA, SP, FP
SO – $31
TBD (not defined) Correct!
SO – Sf15
Question 9
0 / 1 pts
MIPS FPU is also called:
SO – Sf31
PSW
CP1 Correct!
TBD (not defined)
Question 10
1 / 1 pts
MIPS FPU has these instructions in its ISA, except which
sub.d
add.s
addi Correct!
mfc1
Question 11
1 / 1 pts
MIPS “Load” instructions can read data from which memory
segments:
All of these Correct!
.heap
.stack
.data
Question 12
0 / 1 pts
MIPS “Store” instructions first write data via a “Write Buffer”
directly into where:
L1 D-cache Correct!
L1 l-cache
L2 cache
Main memory
Question 13
1 / 1 pts
MIPS32 “Load Immediate (“Ii”) and “Load Address” (“la”)
instructions are what kind of instructions:
primitive
none of these
macro
pseudo Correct!
Question 14
0 / 1 pts
MIPS32 Iw, Ih, Ihu, Ib, Ibu instructions are what kind of
instructions:
pseudo
primitive Correct!
none of these
macro
Question 15
0 / 1 pts
In MIPS32, execution of this code results in data being stored
into which memory segment:
li $t2,0x100400a
sb $t1,($t2)
stack
data
global
heap Correct!