wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CPE 411 Final Exam(Computer Architecture & Organization)

Total questions: 66

Worksheet time: 2hrs 16mins

Name
Class
Date
1.

Which memory level is the fastest, smallest, and most expensive per bit in the memory hierarchy?

a)

Cache

b)

Main Memory (RAM)

c)

Secondary Storage

d)

Registers

2.

The principle that if an item is referenced, items with nearby addresses will also tend to be referenced soon is known as:

a)

Temporal Locality

b)

Spatial Locality

c)

Cache Hit

d)

Demand Paging

3.

In cache mapping, the technique where each block of main memory maps to exactly one location in the cache is:

a)

Fully Associative

b)

Set-Associative

c)

Direct-Mapped

d)

Random Replacement

4.

Which type of RAM needs to be periodically "refreshed" to retain its data?

a)

DRAM (Dynamic RAM)

b)

SRAM (Static RAM)

c)

Registers

d)

Cache Memory

5.

The core idea of Paging is to break a program's virtual address space into equal-sized pages and physical memory into equal-sized:

a)

Registers

b)

Blocks

c)

Sets

d)

Frames

6.

SRAM is primarily used for which component in a computer system?

a)

Main Memory (RAM)

b)

Cache memory (L1, L2, L3)

c)

Hard Disk Drives

d)

Virtual Memory

7.

Which measurement is described as a latency measure (how long until the first bit arrives)?

a)

Bandwidth

b)

Throughput

c)

Access Time

d)

Hit Rate

8.

The primary goal of I/O Interfacing is to:

a)

Increase the speed of the CPU.

b)

Bypass the use of memory.

c)

Efficiently manage the flow of data between components with vastly different speeds.

d)

Perform all I/O operations using only the CPU.

9.

The I/O addressing scheme where device registers are addressed like standard memory locations using common instructions (LOAD/STORE) is:

a)

Isolated I/O

b)

Memory-Mapped I/O

c)

Polling I/O

d)

Virtual I/O

10.

The primary limitation of Programmed I/O (PIO) is that the CPU:

a)

Requires special I/O instructions.

b)

Cannot detect I/O completion.

c)

Spends most of its time continuously checking the status of the peripheral (busy-wait loop).

d)

Can only transfer data one bit at a time.

11.

What type of interrupt (trap) is generated by instructions or internal events like a system call or division by zero?

a)

Hardware interrupt

b)

Software interrupt (trap)

c)

Timer interrupt

d)

I/O interrupt

12.

The functional group of bus lines that carries the actual data being transferred is:

a)

Address Bus

b)

Control Bus

c)

Data Bus

d)

I/O Bus

13.

Modern high-speed interfaces like PCIe and USB favor which type of communication?

a)

Serial

b)

Parallel

c)

Synchronous

d)

Asynchronous

14.

In the Four-Cycle Handshaking Protocol, which signal is asserted by the receiver to signal it has accepted the data?

a)

Request (Data Valid)

b)

Acknowledge (Data Accepted)

c)

Write Enable

d)

Bus Grant

15.

Hardware components external to the CPU and main memory, which enable data input, output, and long-term storage, are generically called:

a)

Device Drivers

b)

Peripherals

c)

Controllers

d)

Bus Masters

16.

A hardware component (often a chip) that manages the communication between the CPU and the peripheral device is called a:

a)

DMA Controller

b)

Interrupt Handler

c)

Device Controller

d)

I/O Register

17.

Devices such as Hard Disk Drives (HDD) and Solid State Drives (SSD) primarily function as non-volatile memory and are categorized as:

a)

Input Peripherals

b)

Output Peripherals

c)

Storage Peripherals

d)

Network Peripherals

18.

The main benefit of Direct Memory Access (DMA) is that it manages data transfers directly between the I/O device and main memory by:

a)

Bypassing the CPU

b)

Increasing the CPU clock speed

c)

Using only Programmed I/O

d)

Eliminating the need for a Device Controller

19.

The protocol specifically designed for high-speed SSDs connected via the PCI Express (PCIe) bus is:

a)

SATA III

b)

PATA

c)

USB 3.0

d)

NVMe (Non-Volatile Memory Express)

20.

A processor containing dozens or hundreds of simpler cores, focused on massive parallelism (e.g., GPUs), is known as a:

a)

Multi-Core Processor

b)

Many-Core Processor

c)

Symmetric Multiprocessor

d)

Asymmetric Multiprocessor

21.

A multiprocessing system where identical processors share the same memory and a single OS instance manages all processors is called:

a)

Asymmetric Multiprocessing (AMP)

b)

Distributed Multiprocessing

c)

Symmetric Multiprocessing (SMP)

d)

Heterogeneous Computing

22.

In a Shared Memory Architecture, how does communication between cores primarily occur?

a)

Through shared memory.

b)

Through message passing.

c)

Through network packets.

d)

Through direct electrical signaling.

23.

Which architecture is characterized by different processors with specific master/slave roles and is often used in embedded systems?

a)

Asymmetric Multiprocessing (AMP)

b)

Symmetric Multiprocessing (SMP)

c)

Multi-threading

d)

Shared Memory

24.

The technique where a single core executes multiple threads, and the threads share resources but operate independently, is known as:

a)

Instruction-level parallelism

b)

Process-level parallelism

c)

Multi-threading

d)

Simultaneous Multi-Core

25.

Relative to a CPU, a GPU architecture is characterized by:

a)

Few cores optimized for sequential tasks.

b)

Complex control logic and a large cache.

c)

Hundreds/thousands of simpler cores.

d)

Being optimized for single-stream execution.

26.

A common challenge of concurrency where two or more threads attempt to access and modify shared data simultaneously is called a(n):

a)

Deadlock

b)

Race Condition

c)

Bus Contention

d)

Synchronization Miss

27.

A system in which components located on networked computers communicate and coordinate their actions is formally defined as a:

a)

Client-Server System

b)

Peer-to-Peer System

c)

Distributed System

d)

Cloud Computing System

28.

Which architecture is decentralized, where each node acts as both a client and a server, and is used in blockchain systems?

a)

Client-Server Architecture

b)

Peer-to-Peer (P2P) Architecture

c)

Centralized System

d)

Mesh Topology

29.

Which network topology connects all nodes to a single, central hub or switch?

a)

Bus Topology

b)

Ring Topology

c)

Mesh Topology

d)

Star Topology

30.

The mechanism that ensures a system continues to operate correctly even when one or more components fail is known as:

a)

Load Balancing

b)

Scalability

c)

Fault Tolerance

d)

Centralized Control

31.

Cache memory is generally slower than main memory (RAM).

a)

True

b)

False

32.

The goal of the Memory Hierarchy is to provide a fast, large, and inexpensive memory system.

a)

True

b)

False

33.

A Cache Miss occurs when the requested data is not found in the cache, resulting in a slower access to the next memory level.

a)

True

b)

False

34.

Set-Associative Cache pros include being simple and fast to implement, with no complex logic needed to find a spot. (This is a pro of Direct-Mapped).

a)

True

b)

False

35.

Virtual memory allows for running programs that are larger than the available physical memory.

a)

True

b)

False

36.

In Interrupt-Driven I/O, the CPU polls the status register of the I/O device in a tight loop. (This describes PIO).

a)

True

b)

False

37.

Instructions: Write 'T' if the statement is true and 'F' if the statement is false. 7. The three functional groups of bus lines are Data Bus, Control Bus, and Instruction Bus. (The third is Address Bus).

a)

True

b)

False

38.

The hierarchy of efficiency for I/O techniques is generally PIO ≪ Interrupt ≪ DMA.

a)

True

b)

False

39.

The width of the Address Bus determines the number of bits transferred simultaneously.

a)

True

b)

False

40.

DMA is generally more efficient than interrupts for small, time-sensitive events. (Interrupts are better for small, time-sensitive events).

a)

True

b)

False

41.

A Non-Maskable Interrupt (NMI) is a hardware interrupt with the lowest priority, usually for minor errors. (It is the highest priority, for catastrophic errors).

a)

True

b)

False

42.

SATA is a parallel transfer method that offers higher speeds than its legacy PATA predecessor. (SATA is a serial transfer method).

a)

True

b)

False

43.

The DMA controller issues a single interrupt to the CPU after the entire data transfer is complete.

a)

True

b)

False

44.

Performance monitoring tools aim to identify the component with 100% utilization while others wait, as this is the bottleneck.

a)

True

b)

False

45.

An Output Peripheral is defined as a device that receives data from the computer and displays or presents it.

a)

True

b)

False

46.

AMP systems generally offer higher scalability than SMP systems.

a)

True

b)

False

47.

Distributed Memory Architecture simplifies the programming model and data sharing compared to Shared Memory.

a)

True

b)

False

48.

One benefit of multi-threading is improved CPU utilization and reduced idle time.

a)

True

b)

False

49.

The CPU architecture is generally optimized for sequential tasks, while the GPU is designed for parallel operations (SIMD model).

a)

True

b)

False

50.

The memory hierarchy level that holds data and instructions currently being processed by the CPU is the (a)   .

51.

The key data structure in main memory used by the MMU for virtual-to-physical address translation is the (a)   .

52.

When an item is referenced, the principle of (a)   suggests it will tend to be referenced again soon.

53.

DRAM is built using a single (a)   and a single capacitor.

54.

The technique where an external device (like a disk drive) signals the CPU to stop current execution and handle an event is called an (a)   .

55.

The (a)   contains lines for timing and control signals, such as Read/Write requests.

56.

In the context of I/O, (a)   refers to the CPU continuously checking the status register of the peripheral.

57.

The interface standard that has largely replaced legacy PATA by using a serial transfer method is (a)   .

58.

The key data transfer process that bypasses the CPU and is managed by a specialized controller is (a)   .

59.

The communication mechanism used in a Distributed Memory Architecture is (a)   .

60.

The phenomenon where the physical limits of transistor scaling forced the industry to focus on parallel processing rather than single-core speed increases is related to (a)   .

61.

The benefit of multi-threading that leads to quicker handling of external operations is (a)   .

62.

The arrangement that defines the physical or logical arrangement of network nodes and affects performance, reliability, and scalability is the (a)   .

63.

The type of computing that involves processing data near the source (e.g., IoT devices) to reduce latency is (a)   .

64.

The primary goal of a Distributed System is to achieve resource sharing, scalability, reliability, and (a)   .

65.

Compare and contrast Symmetric Multiprocessing (SMP) and Asymmetric Multiprocessing (AMP), detailing the fundamental differences in their architecture, task distribution, and scalability.

4 lines
66.

Describe the role and mechanism of Direct Memory Access (DMA) in I/O operations, explaining why it is necessary and how it improves system efficiency compared to Programmed I/O (PIO) or Interrupt-Driven I/O for large data transfers.

4 lines