wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

module 2

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

Which of the following techniques is used to reduce cache miss penalty?
A. Increasing associativity
B. Critical word first and early restart
C. Increasing cache block size indefinitely
D. Write-through policy only

a)

Increasing associativity

b)

Critical word first and early restart

c)

Increasing cache block size indefinitely

d)

Write-through policy only

2.

A victim cache is mainly used to:

a)

Store dirty blocks before write-back

b)

Reduce conflict misses

c)

Increase block size without increasing latency

d)

Store data for prefetching

3.

Which of the following is true about DRAM compared to SRAM?

a)

DRAM is faster but more expensive

b)

DRAM is slower but denser and cheaper

c)

DRAM uses flip-flops to store bits

d)

DRAM requires no refresh cycles

4.

In virtual memory, the translation from virtual address to physical address is handled by:

a)

Cache controller

b)

Page table and TLB

c)

DMA controller

d)

Instruction decoder

5.

One key advantage of using virtual machines is:

a)

Lower instruction execution latency

b)

Better direct hardware control by the user process

c)

Isolation between multiple OS instances

d)

Elimination of context switching

6.

Which of the following is NOT a challenge in designing efficient virtual machines?

a)

Privileged instruction handling

b)

Memory virtualization overhead

c)

Instruction fetch decoding

d)

Transparent resource sharing

7.

The Intel Core i7 uses which cache inclusion policy?

a)

Exclusive L2 cache

b)

Inclusive L3 cache

c)

Non-inclusive, non-exclusive L3 cache

d)

Victim cache for L2

8.

The ARM Cortex-A8 typically uses:

a)

Separate L1 instruction and data caches

b)

Unified L1 cache

c)

No L2 cache

d)

Fully associative L1 cache

9.

Which is true regarding memory hierarchy in Intel Core i7 vs ARM Cortex-A8?

a)

Intel Core i7 uses an out-of-order superscalar design, while Cortex-A8 is in-order

b)

Both have unified L1 caches

c)

ARM Cortex-A8 has a shared L3 cache

d)

Intel Core i7 does not use TLBs

10.

Increasing cache block size generally reduces:

a)

Compulsory misses

b)

Conflict misses

c)

Capacity misses

d)

Write-back frequency