wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

CMSC 133 - UNIT 3

Total questions: 80

Worksheet time: 40mins

Name
Class
Date
1.

What is a sign of high CPU usage when the computer is idle?

a)

CPU usage below 10%

b)

CPU usage above 20%

c)

CPU usage above 80% only during heavy tasks

d)

CPU usage fluctuates between 5% and 10%

2.

What hazard occurs when two instructions compete for the same resource simultaneously?

a)

Data Hazard

b)

Structural Hazard

c)

Control Hazard

d)

Name Dependency

3.

Which of the following is an example of a control hazard solution?

a)

Register renaming

b)

Delayed branching

c)

Pipeline forwarding

d)

Output dependency

4.

What is a common cause of overheating in a computer?

a)

Outdated software

b)

High CPU usage

c)

Blocked air vents

d)

All of the above

5.

What is a mitigation strategy for input overvoltage?

a)

Use external filtering circuits

b)

Employ Undervoltage protection (UVP)

c)

Install surge suppressors

d)

Both b and c

6.

What is a potential sign of high CPU usage when performing tasks that are not resource-heavy?

a)

CPU operates silently

b)

CPU usage drops below 10%

c)

Sluggish computer performance

d)

Mouse responsiveness improves

7.

What type of pipelining hazard occurs when one instruction depends on the result of a previous instruction still in the pipeline?

a)

Structural Hazard

b)

Data Hazard

c)

Control Hazard

d)

Branch Prediction

8.

What is a key risk associated with overclocking a CPU?

a)

Improved system cooling

b)

Increased CPU lifespan

c)

Reduced CPU lifespan

d)

More efficient multitasking

9.

Which of the following symptoms might indicate a failing CPU?

a)

A blue screen with an error code

b)

Increased storage capacity

c)

Improved battery performance

d)

Faster startup times

10.

What is a mitigation strategy for preventing reversed polarity issues in a power supply unit (PSU)?

a)

Utilize Undervoltage protection (UVP)

b)

Use diodes to block reverse currents

c)

Ensure external components are missing

d)

Increase heat generation

11.

What is the primary goal of Instruction-Level Parallelism (ILP)?

a)

To reduce memory usage

b)

To enable simultaneous execution of instructions

c)

To minimize the number of processor cores

d)

. To improve software reliability

12.

Which hardware structure is responsible for keeping track of instruction completion in out-of-order execution?

a)

Branch Predictor

b)

Reorder Buffer (ROB)

c)

Floating Point Unit

d)

Instruction Decoder

13.

What is the main drawback of speculative execution in ILP?

a)

Increased latency in executing instructions

b)

Lower branch prediction accuracy

c)

Wasted energy on incorrect predictions

d)

Reduced memory bandwidth

14.

According to Amdahl’s Law, why are performance gains from ILP limited?

a)

Instructions cannot always be reordered.

b)

Serial portions of programs dominate execution time.

c)

Memory bandwidth does not scale with cores.

d)

Pipelines increase misprediction penalties

15.

What type of branch predictor adapts to program behavior by tracking past branch outcomes?

a)

Static Predictor

b)

Tournament Predictor

c)

Dynamic Predictor

d)

Bimodal Predictor

16.

Which of the following is NOT a challenge associated with scaling ILP in multi-core processors?

a)

Memory contention between cores

b)

Increased complexity of NUMA architectures

c)

Limited serial portions of programs

d)

Leakage currents in smaller process nodes

17.

What technique minimizes the need to repeatedly fetch frequently used operations in AMD Zen microarchitecture?

a)

Dynamic Branch Prediction

b)

. Micro-op Cache

c)

Reorder Buffer

d)

Superscalar Execution

18.

How do pipeline ushes impact processors during branch mispredictions?

a)

They reduce energy efficiency by discarding incorrectly executed instructions.

b)

They delay branch prediction by rerunning all instructions.

c)

They allow parallel execution of new instructions.

d)

They double the latency of completed instructions.

19.

What is one way future processors aim to improve branch prediction accuracy?

a)

Use of machine learning techniques

b)

Static prediction of branch outcomes

c)

Reducing the size of instruction windows

d)

Limiting speculative execution

20.

Which held heavily relies on ILP to process massive matrix multiplications efficiently?

a)

High-Performance Computing

b)

Machine Learning and AI

c)

Gaming

d)

Processor Cooling Technology

21.

What is a micro-operation?

a)

A large task performed by the ALU

b)

The smallest functional task performed by the CPU's control unit

c)

A method to store data in memory

d)

An input/output device operation

22.

What is the first phase of the instruction cycle?

a)

Decode

b)

Execute

c)

Fetch

d)

Write-back

23.

What is the role of control signals?

a)

To guide the CPU on what to do

b)

To charge the computer battery

c)

To display images on the screen

d)

To send emails

24.

What does the Fetch stage do?

a)

Performs the addition of two numbers

b)

Moves the instruction from memory to the CPU

c)

Displays a message on the screen

d)

Stores data in memory

25.

What is the function of the Memory Read (MR) signal?

a)

To save data into memory

b)

To retrieve data from memory

c)

To turn off the computer

d)

To clear a register

26.

What does a hardwired control unit use to generate control signals?

a)

A set of instructions stored in memory

b)

Fixed hardware circuits

c)

Data from the internet

d)

The user’s input

27.

Which component performs arithmetic and logic operations in a CPU?

a)

ALU (Arithmetic Logic Unit)

b)

Memory

c)

Control Bus

d)

I/O Device

28.

What type of control signal is used to shift the value in a register to the left?

a)

Memory Write

b)

Shift

c)

Rotate

d)

Increment

29.

Which of the following is an example of a micro-operation?

a)

Moving data from one register to another

b)

Installing an operating system

c)

Writing an email

d)

Connecting to Wi-Fi

30.

Micro-operations are typically executed during which CPU process?

a)

Writing data to a file

b)

Instruction cycle stages like Fetch, Decode, or Execute

c)

Running an external program

d)

Connecting to a network

31.

Which of the following advantages of pipelining defines its efficient use of resources that can reduce overall operational costs?

a)

Cost Effectiveness

b)

Scalability

c)

Faster Execution

d)

Support for Advanced Computing Needs

32.

How does pipelining execute multiple instructions simultaneously?

a)

having its own set of resources to perform operations in parallelism and improve the performance of the processors

b)

compressing them into one task to execute at the same time

c)

distributing tasks across multiple processors

d)

breaking down each instruction into separate, overlapping stages that allow the processor to work on different instructions at a time

33.

Each ____ processes a new instruction as it progresses through the pipeline stages

a)

step

b)

processor

c)

minute

d)

clock cycle

34.

At which stage of pipelining are the operands read and written to present in the instruction?

a)

Instruction Execute

b)

Memory Fetch

c)

Instruction Fetch

d)

Instruction Decode

35.

Pipelining is a standard feature in ____ processors, which utilizes the 5-stage instruction whereas _____ processors do not support parallelism and pipelining.

a)

RISC; CISC

b)

. CISC; RISC

c)

RISC; LC3

d)

LC3; RISC

36.

Which one of the following is NOT a data hazard?

a)

Read after Read (RAR)

b)

Write after Read (WAR)

c)

Write after Write (WAW)

d)

Read after Write (RAW)

37.

______ occur when multiple instructions compete for the same hardware resource simultaneously, such as memory or functional units.

a)

Control Hazard

b)

Hardware Hazard

c)

Structural Hazard

d)

Data Hazard

38.

At which stage of pipelining does the processor get instructions from memory and loads it into a special register?

a)

Memory Access

b)

Instruction Decode

c)

Instruction Fetch

d)

Write Back

39.

The following tasks benefit pipelining’s support for advanced computing needs (high-speed computations due to its optimized nature) EXCEPT for one

a)

Graphics processing

b)

Artificial intelligence

c)

Big data analysis

d)

Optimizing hardware resources

40.

This feature allows for minimization of idle time and improvement of execution time

a)

Increased Throughput

b)

Faster Execution

c)

Scalability

d)

Support for Advanced Computing Needs

41.

What is included in the thread context?

a)

Open files, global variables, and thread priority

b)

CPU registers, stack, and program counter

c)

CPU registers, global data, and program counter

d)

Heap memory, thread ID, and process code

42.

How does Thread-Level Parallelism (TLP) differ from Instruction-Level Parallelism (ILP)?

a)

TLP focuses on reordering instructions within a single thread, while ILP uses multiple cores.

b)

TLP relies on pipelining, whereas ILP requires shared memory multiprocessors.

c)

TLP explicitly uses multiple threads of execution, while ILP exploits parallelism within a single thread.

d)

TLP is implicit and handled by the compiler, while ILP is explicitly defined by the programmer.

43.

What is a thread in the context of CPU utilization?

a)

The smallest unit of CPU execution

b)

A hardware feature used to execute multiple processes simultaneously

c)

A process that runs independently with its own memory space and files

d)

A lightweight task that shares no resources with other threads in the process.

44.

Which of the following best describes the role of Thread-Level Parallelism (TLP) in server environments and web applications?

a)

It limits server capabilities to reduce system overhead.

b)

It allows servers to process only one task at a time

c)

It enhances responsiveness and scalability by distributing tasks across multiple threads

d)

It eliminates the need for database management in web applications.

45.

What role do advances in compiler technologies play in TLP?

a)

Simplifying single-thread execution

b)

Automating the parallelization of code

c)

Reducing the need for multi-core processors

d)

Increasing the need for manual parallelization

46.

Which category in Flynn’s Taxonomy is best suited for vector and matrix operations?

a)

SISD

b)

SIMD

c)

MISD

d)

MIMD

47.

What is a key feature of MISD systems?

a)

Executing multiple instructions on multiple datasets

b)

Executing the same instruction on multiple datasets

c)

Executing multiple instructions on a single dataset

d)

Sequential execution of instructions

48.

How does MIMD architecture handle memory?

a)

Only shared memory

b)

Only distributed memory

c)

Both shared and distributed memory

d)

No memory is shared

49.

Which of the following is a challenge in managing thread-level parallelism (TLP) related to hardware design?

a)

Memory Contention

b)

Cache Coherence

c)

Task Granularity

d)

Real-Time Constraints

50.

Which of the following best describes a performance limitation in thread-level parallelism (TLP) according to Amdahl's Law?

a)

Increased synchronization overhead with higher thread counts

b)

Diminishing returns in performance as the number of threads increases

c)

Increased resource contention between threads

d)

Load imbalance causes some threads to idle while others work

51.

What is a chip multiprocessing?

a)

Switching threads in one core

b)

Using multiple cores on a chip

c)

Running one thread at a time

d)

Combining all threads into one process

52.

What is a process?

a)

A simple task performed by the CPU

b)

A thread running inside the processor

c)

A program running with its own memory and resources

d)

A hardware feature for faster execution

53.

What is the primary advantage of simultaneous multithreading (SMT)?

a)

It reduces hardware complexity

b)

It utilizes all available execution slots for maximum efficiency

c)

It simplifies the compiler’s task

d)

It eliminates thread-switch delays entirely

54.

What is the key feature of threads?

a)

Threads do not share resources

b)

Threads run in separate processors only

c)

Threads require no operating system support

d)

Threads share memory and resources

55.

What is VLIW used for?

a)

Running multiple instructions in one word

b)

Switching threads faster

c)

Slowing down instructions for accuracy

d)

Combining all threads in one process

56.

Why is a thread switch faster than a process switch?

a)

Threads share resources, so less data is moved

b)

Threads run in separate cores

c)

Processes take less memory than threads

d)

Threads require fewer instructions

57.

What is the main feature of blocked thread multithreading?

a)

Running all threads together

b)

Using a single thread for all tasks

c)

Switching threads when one is stalled

d)

Switching between threads every cycle

58.

Which of the following describes a user-level thread?

a)

Managed by the operating system

b)

Managed by applications

c)

Runs on separate processor

d)

Require kernel-level support

59.

What is a thread?

a)

A physical core in the processor

b)

A hardware feature for fast computing

c)

A lightweight unit of work within a process

d)

A program that owns resources and memory

60.

What is the primary measure of processor performance?

a)

Clock Frequency

b)

Number of Threads

c)

Instruction Complexity

d)

Millions Instructions Per Second (MIPS)

61.

What is a primary characteristic of superscalar processors?

a)

Execute one instruction at a time

b)

Utilize multiple instruction pipelines

c)

Require only basic scheduling systems

d)

Operate without hardware Dependencies

62.

What enables superscalar processors to execute multiple instructions simultaneously?

a)

Static scheduling

b)

Reduced complexity in design

c)

Single instruction pipelines

d)

Instruction-level parallelism (ILP)

63.

Which feature allows superscalar processors to handle more tasks?

a)

Single instruction pipelines

b)

Simplified control flow

c)

Multiple instruction pipelines

d)

Limited hardware scheduling

64.

What is the role of smart scheduling systems in superscalar processors?

a)

To simplify instruction dependencies

b)

To analyze and resolve instruction dependencies for efficient execution

c)

To increase hardware complexity without improving performance

d)

To reduce parallelism in instruction Execution

65.

What is the purpose of register renaming in superscalar processors?

a)

To eliminate control hazards

b)

To resolve false dependencies like Write-After-Write (WAW)

c)

To simplify the hardware design

d)

To reduce the need for branch Prediction

66.

How does superscalar processing differ from super-pipelining?

a)

Handles parallel instructions

b)

Issues multiple instructions per cycle

c)

Only uses static scheduling

d)

Focuses on dependencies

67.

What is Out-of-Order Execution?

a)

Executing in program order

b)

Executing independently of program order

c)

Avoiding parallelism

d)

Disabling resources

68.

Which dependency is associated with Read-After-Write (RAW) hazards?

a)

True data dependency

b)

Anti-dependency

c)

Output dependency

d)

Resource conflict

69.

What is an example of a resource conflict in superscalar processors?

a)

A procedural branch misprediction

b)

Two instructions requiring the same Arithmetic Logic Unit (ALU)

c)

An instruction waiting for a register to be read

d)

False dependencies due to multiple pipeline registers

70.

Which branch prediction technique uses historical behavior for accuracy?

a)

Static branch prediction

b)

Delayed branching

c)

Dynamic branch prediction

d)

Sequential execution

71.

Which of the following best defines data parallelism?

a)

Performing different operations on the same dataset simultaneously

b)

Applying the same operation to multiple pieces of data simultaneously.

c)

Executing multiple instruction streams on a single data stream

d)

Dividing a single task among multiple processors for independent execution.

72.

Which modern system is most commonly associated with leveraging data parallelism?

a)

Central Processing Units (CPUs)

b)

Graphics Processing Units (GPUs)

c)

Distributed Databases

d)

Cache Memory Systems

73.

Which of the following parallelism classes does Hybrid Parallelism explicitly incorporate?

I. Data Parallelism

II. Bit-Level Parallelism

III. Instruction Level Parallelism

IV. Task Parallelism

a)

I and III

b)

III and II

c)

IV and I

d)

II and IV

74.

Which of the following is an example of an architecture that utilizes hybrid parallelism?

a)

CPU+GPU Systems

b)

Accelerators in HPCs

c)

Shared Memory Systems with Multicore CPUs

d)

Real-time 3D Rendering

75.

What is the primary goal of increasing bit-level parallelism in processors?

a)

To reduce the number of instructions required for larger data operations

b)

To simplify software development

c)

To enhance instruction-level parallelism

d)

To decrease memory size requirements

76.

Which of the following advancements marked the first bit-parallel system?

a)

Introduction of 4-bit processors in the 1970s

b)

Development of VLSI technology

c)

Release of the 16-bit Whirlwind computer in 1951

d)

Launch of 64-bit systems like the Nintendo 64

77.

Determine which is a key benefit of Instruction Level Parallelism (ILP).

a)

Increases throughput by running multiple instructions in each clock cycle

b)

Increases Hardware complexity

c)

Promotes Scalability

d)

Decreases hardware utilization

78.

It is a technique of Instruction Level Parallelism that divides execution of instructions into several phases.

a)

Out-of-order execution

b)

Pipelining

c)

Superscalar

d)

Dynamic Instruction Scheduling

79.

What is task parallelism?

a)

Applying the same operation to different data subsets

b)

Executing distinct tasks concurrently on multiple processors

c)

Eliminating communication between tasks

d)

Running sequential operations on one processor

80.

Which is an example of task parallelism?

a)

Filtering a dataset in parallel

b)

Concurrently handling AI, physics, and rendering in a game

c)

Summing elements of an array across cores

d)

Encoding video frames simultaneously