Computer 222 - Computer Organization » Fall 2021 » Midterm Exam
Need help with your exam preparation?
Get Answers to this exam for $6 USD.
Get Answers to all exams in [ Computer 222 - Computer Organization ] course for $25 USD.
Existing Quiz Clients Login here
Question #1
MIPS instruction: lw $r1,($r2) can address how much memory:
A.
1 GB
B.
32 MiB
C.
4 GiB
D.
2 MB
Question #2
A MIPS “I-format” immediate value as a signed constant can range from 0 to:
A.
-65,565 to 65,564
B.
-16,383 to 16,384
C.
-32,768 to 32,767
D.
-256 to 255
Question #3
An ARMv7 “I-format” immediate value as an unsigned constant can range from 0 to:
A.
16,384
B.
1023
C.
4095
D.
224
Question #4
ARMv7 primitives that MIPS does not have:
A.
addi, subi
B.
syscall, lui
C.
push, bkpt, dbg
D.
call, jump
Question #5
MIPS primitives that ARMv7 does not have:
A.
mult, div
B.
beq, bgtz
C.
addi, subi
D.
syscall, break, lui
Question #6
Currenty used ISA’s include these:
A.
MIPSIII, ARMv5, IA-32, RISC V
B.
MIPS64, ARMv8, IA-32, RISC V
C.
MIPSV, ARMv7, x86-64, RISC IV
D.
MIPS32, ARMv6, x86-32, RISC III
Question #7
A CPU core contains which blocks:
A.
L1 caches + Registers
B.
Execution Unit + L1 caches
C.
ALU + L2 cache
D.
ALU + Registers
Question #8
An x86 CPU, 32-bit contains:
A.
EAX, EBX, ECX, EDX registers, SI, DI, CS, SS registers, and 32-bit ALU
B.
EAX, EBX, ECX, EDX registers
C.
SI, DI, CS, SS registers
D.
32-bit ALU
Question #9
x86 is what kind of architecture:
A.
Load-Store
B.
General register
C.
Mixed register
D.
Dedicated register
Question #10
A MIPS CPU core may contain an Integer unit + any of these, except which one:
A.
CP0 + CP1
B.
FPU
C.
GPU
D.
up to 4 co-processors
Question #11
For MIPS, where are the C, V, N, Z flags located:
A.
CP0 Status register
B.
CPU GR
C.
CP1 $f2
D.
CPU Cause register
Question #12
Which register is not a GR in MIPS, but is a GR in ARMv5:
A.
$a0
B.
SP
C.
PSR
D.
PC
Question #13
CPU General Registers are loaded directly from:
A.
L1 D-cache
B.
L3 cache
C.
L1 I-cache
D.
L2 cache
Question #14
A CPU’s store word instruction will write a data word to (with write-though policy):
A.
Main memory
B.
L1 D-cache
C.
Main memory, L1 D-cache, and L2 cache
D.
L2 cache
Question #15
In general, any level cache may use which form of mapping:
A.
Direct
B.
Any of these
C.
Set associative
D.
Fully associative
Question #16
R-format is used for which MIPS instruction:
A.
addi
B.
bgtz
C.
subi
D.
add
Question #17
I-format is used for which MIPS instruction:
A.
jal
B.
div
C.
addu
D.
lui
Question #18
J-format is used for which MIPS instruction:
A.
addi
B.
bne
C.
jal
D.
la
Question #19
At the Macro architecture level, we address all of which units:
A.
Just GPU’s
B.
Just CPU cores
C.
ICU + ALU + Registers
D.
Cores and caches
Question #20
CPU’s Execution Unit contains all these:
A.
ALU + registers
B.
ICU + PSW
C.
CPU + GPU
D.
ALU + ICU + registers
Question #21
An SoC (like the Apple A13/14) can contain which functional elements:
A.
CPU + GPU cores
B.
NPU cores + ML unit
C.
Any of these
D.
L1 and L2 caches
Question #22
Which {MIPS, ARM} add instructions should be used for unsigned integers:
A.
addi, add
B.
addu, addu
C.
add, adds
D.
addu, add
Question #23
Multi-level memory hierarchy from fastest to slowest:
A.
General Registers to L1 cache to L2 cache
B.
Main to L2 cache to L1
C.
Disk to Main to L2 cache
D.
L1 cache to L2 cache to L1 cache
Question #24
Any PSW contains:
A.
Flags, Status bits, and Interrupt enables
B.
Flags
C.
Interrupt enables
D.
Status bits
Question #25
ARM v8 was redesigned from v7 to be more like:
A.
IA-64
B.
MIPS
C.
Apple A12X
D.
ARMv5
Need help with your exam preparation?
Get Answers to this exam for $6 USD.
Get Answers to all exams in [ Computer 222 - Computer Organization ] course for $25 USD.
Existing Quiz Clients Login here