wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Architecture Quiz

Total questions: 105

Worksheet time: 2hrs 48mins

Name
Class
Date
1.

Choose the most four basic functions of a computer.

a)

Moving data, storing data, processing data, controlling.

b)

Supporting operating system, accessing hard disks, supporting network connections, supporting HDMI ports.

c)

Reading disks, accessing network resources.

d)

Reading data from keyboard, printing data to monitor, allowing network connections.

2.

Refers to the operational units and their interconnections that realize the architectural specifications.

a)

Computer architecture

b)

Computer function

c)

Computer organization

d)

Instruction set architecture

3.

What is the most important function of the control unit (CU)?

a)

It manages the order of running instructions.

b)

It will read and process data from main memory.

c)

It directs the operation of the other CPU components.

d)

It will read instructions from main memory then decoding them.

4.

The first generation of computers used _______ for digital logic elements and memory.

a)

Transistor

b)

Integrated Circuits

c)

Large-scale integration

d)

Vacuum Tubes

5.

What is Memory Address Register (MAR)?

a)

Contains a word to be stored in memory or sent to the I/O unit, or is used to receive a word from memory or from the I/O unit.

b)

Employed to hold temporarily the righthand instruction from a word in memory.

c)

Contains the address in memory of the word to be written from or read into the MBR.

d)

Contains the address of the next instruction pair to be fetched from memory.

6.

What is false about the von Neumann architecture?

a)

Data and instructions are stored in a single read-write memory.

b)

The contents of this memory are addressable by location, without regard to the type of data contained there.

c)

Execution occurs in a sequential fashion (unless explicitly modified) from one instruction to the next.

d)

Data is stored in main memory and instructions are stored in cache memory.

7.

What is the maximum addressable memory of a 32-bit microprocessor with 24-bit address?

a)

16 GB

b)

16 MB

c)

16 Gbits

d)

16 Mbits

8.

_______ interprets the instructions in memory and causes them to be executed.

a)

Registers

b)

CPU interconnection

c)

Arithmetic and Logic Unit (ALU)

d)

I/O Modules

e)

Control Unit (CU)

9.

What is the most important characteristic of the Synchronous Bus?

a)

Data is transmitted at the same time.

b)

The occurrence of one event on a bus follows and depends on the occurrence of a previous event.

c)

The occurrence of events on the bus is determined by a clock.

d)

No common clock signal controlling operation.

10.

What is the correct order of memory access speed from fastest to slowest?

a)

Registers > Cache > RAM > SSD

b)

Cache > Registers > RAM > SSD

c)

Registers > Cache > SSD > RAM

d)

Cache > Registers > SSD > RAM

e)

All of the mentioned are wrong

11.

What is the special feature of Memory Cache?

a)

Allows faster access than DRAM memory

b)

Memory cache is outboard storage memory

c)

Allows faster access than CPU registers

12.

What is the special feature of Memory Cache?

a)

Allows faster access than DRAM memory

b)

Memory cache is outboard storage memory

c)

Allows faster access than CPU registers

d)

Fixed memory - Read Only Memory

e)

Has a larger capacity than HDD

13.

In the direct mapping method from 256MB main memory with 512KB cache, what is the number of bits for the TAG element in the address?

a)

6

b)

7

c)

8

d)

9

14.

A byte addressable microprocessor has 24-bit address. What is maximum memory capacity?

a)

4 MegaByte

b)

8 MegaByte

c)

16 MegaByte

d)

32 MegaByte

15.

In error correcting code (single ECC), how many bits are used to correct one bit in 8-bit data?

a)

4

b)

5

c)

6

d)

7

16.

What is correct about increasing performance and endurance?

a)

Hard Disk - DRAM - NAND Flash - SRAM

b)

Hard Disk - NAND Flash - DRAM - SRAM

c)

NAND Flash - Hard Disk - SRAM - DRAM

d)

Hard Disk - DRAM - SRAM - NAND Flash

17.

With the hard disk data layout, the set of all the tracks in the same relative position on the platter is called

a)

Cylinder

b)

Tracks

c)

Inter-track gap

d)

Sector

18.

Which RAID level uses striping technique with a minimum of 3 disks and provides fault tolerance through the use of parity bit?

a)

RAID 0

b)

RAID 1

c)

RAID 2

d)

RAID 3

19.

In terms of performance, what is the main advantage of a solid state drive over a magnetic disk?

a)

A solid state drive has faster access time, lower latency, and higher reliability

b)

A solid state drive has larger capacity, lower power consumption, and lower cost

c)

A solid state drive has better compatibility, longer lifespan, and higher security

d)

A solid state drive has none of the mentioned advantages over a magnetic disk

20.

Consider the expression: NOT(A + B) = ? Apply DeMorgan's Theorem to replace at '?'

a)

NOT A AND NOT B

b)

NOT A OR NOT B

c)

NOT A AND B

d)

A OR NOT B

21.

An I/O module must recognize one unique address for each peripheral it controls. (2) I/O channels are commonly seen on microcomputers, whereas I/O controllers are used on mainframes. The statement 1 is and 2 is:

a)

true, false

b)

true, true

c)

false, true

d)

false, false

22.

What is an interrupt vector?

a)

Part of memory which contains the addresses of interrupt handlers

b)

A signal an I/O device sends to CPU

c)

A signal an I/O software sends to CPU

d)

None of the mentioned

23.

If the operation involves reference to an operand in memory or available via I/O, then determine the address of the operand.

a)

Operand fetch

b)

Data operation

c)

Operand store

d)

Operand address calculation

24.

What role does an Application Programming Interface (API) play in software development?

a)

It allows program access to hardware resources using high-level language libraries

b)

It defines low-level machine instructions

c)

It provides a standard for binary portability

d)

It manages system resources for the operating system and machine language instructions

25.

What is the initial state of a process when it is admitted by the high-level scheduler, but not yet ready to execute?

a)

New

b)

Ready

c)

Running

d)

Halted

26.

What is the initial state of a process when it is admitted by the high-level scheduler, but not yet ready to execute?

a)

New

b)

Ready

c)

Running

d)

Halted

27.

Which of the following statements is incorrect about Translation Look-aside Buffer (TLB)?

a)

The use of TLB eliminates the need for keeping a page table in memory

b)

TLB only maintains a subset of the entries stored in the full memory-based page table

c)

When there is a TLB miss the system needs to access the page table

d)

A translation lookaside buffer (TLB) is a memory cache that stores the recent translations of virtual memory to physical memory

28.

How does Boolean algebra contribute to the design of digital circuits?

a)

It simplifies the implementation of desired functions

b)

It helps in the analysis of economic data

c)

It facilitates the design of analog circuits

d)

It is primarily used for chemical engineering and physical engineering

29.

When both inputs are 1, what is the result of a NAND gate?

a)

0

b)

1

c)

2

d)

Undefined

e)

#NA

30.

What is the result of 10100101 XOR 11001001?

a)

11101101

b)

10000001

c)

01101100

d)

10101100

31.

What is the result of left rotating 10110101 by 2 bits?

a)

01101011

b)

10101101

c)

01101101

d)

11010110

e)

11010100

32.

Why is it essential to use symbolic representation of machine instructions?

a)

It makes machine instructions more human-readable and understandable

b)

It reduces the overall complexity of computer systems and user programs

c)

It minimizes the need for memory storage for the user programs

d)

It enables fastest execution of high-level language instructions

33.

What are the most important general categories of data that machine instructions operate on?

a)

Addresses, numbers, characters, and logical data

b)

Text, images, and audio

c)

Variables, functions, and arrays

d)

Instructions, control signals, and registers

34.

What is a branch instruction?

a)

The instructions that are used to divide a program into multiple subprograms

b)

The instructions that have as one of its operands the address of the next instruction to be executed

c)

The instructions that are used to pause the program

d)

The instructions that are used to return to the beginning of the program

35.

The effective address of Register indirect addressing mode is:

a)

EA = R

b)

EA = (R)

c)

EA = (R)+A

d)

EA = (R)+(A)

36.

Which of the following PDP series computers is known for its use of 12-bit instructions and a single general-purpose register, the accumulator?

a)

PDP-8

b)

PDP-10

c)

PDP-11

d)

PDP-6

37.

What is the main difference between x86 and ARM instruction formats?

a)

x86 instructions are variable in length, while ARM instructions are fixed

b)

x86 instructions are fixed in length, while ARM instructions are variable

c)

Both x86 and ARM instructions are fixed in length

d)

Both x86 and ARM instructions are variable in length

38.

What is the primary purpose of the "Fetch instruction" phase in the operation of a processor?

a)

To read an instruction from memory

b)

To interpret the instruction

c)

To perform arithmetic operations on data

d)

To wr

39.

What is the primary purpose of the "Fetch instruction" phase in the operation of a processor?

a)

To read an instruction from memory

b)

To interpret the instruction

c)

To perform arithmetic operations on data

d)

To write data to memory

40.

Control and status registers are used by which entities to control the operation of the processor?

a)

Privileged, operating system programs

b)

Machine or assembly language programmers

c)

External I/O devices

d)

Main memory modules

41.

What is the significance of the program counter (PC) in the fetch phase of the instruction cycle?

a)

The program counter (PC) is not used in the fetch phase, and its role is limited to tracking the number of instructions executed by the CPU

b)

The program counter (PC) in the fetch phase holds the memory address of the next instruction to be fetched and executed

c)

The program counter (PC) is responsible for executing instructions and has no specific role during the fetch phase

d)

The program counter (PC) is only relevant in multi-core processors and does not contribute to the fetch phase of the instruction cycle in single-core systems

42.

Which of the following statements is correct in the context of Instruction Pipelining?

a)

Instruction Pipelining reduces the efficiency of instruction execution by introducing delays and dependencies between instructions

b)

Instruction Pipelining is only effective for specific types of instructions and has no impact on the overall efficiency of instruction execution

c)

Instruction Pipelining enhances efficiency by enabling simultaneous execution of multiple instructions in different stages, boosting overall throughput

d)

Instruction Pipelining improves efficiency by processing multiple instructions simultaneously, reducing execution time. However, it can face challenges like hazards, introducing delays and impacting overall performance

43.

Which statement is incorrect about RISC and CISC architecture?

a)

CISC architecture is more convenient for programmers than RISC architecture.

b)

CISC architecture has more operands in an instruction compared to RISC architecture.

c)

CISC architecture has a more flexible instruction set than RISC architecture.

d)

CISC architecture requires more general-purpose registers than RISC architecture.

44.

What is one of the advantages of using a register file in computer architecture?

a)

Reduction in memory accesses, saving time

b)

More efficient use of space due to dynamic adaptation

c)

Efficient handling of both local and global variables

d)

Easier management of cache residency

45.

How does pipelining in a RISC architecture handle branch instruction?

a)

By using NOOP instructions inserted by the compiler or assembler

b)

By eliminating branch instructions from the instruction stream

c)

By executing branch instructions in a separate pipeline

d)

By delaying all instructions until branch instructions are executed

46.

What is the benefit of using a superscalar organization over a scalar organization?

a)

It increases the instruction throughput and improves the performance

b)

It reduces the power consumption and the heat dissipation

c)

It simplifies the instruction set

47.

What does the term "instruction-level parallelism" refer to in computer architecture?

a)

The degree to which instructions in a program can be executed in parallel

b)

The number of processor cores in a multi-core CPU with multiple resources

c)

The complexity of the instruction set architecture

d)

The length of an instruction cycle with high-level programming language

48.

"Multiple processors share a single memory or pool of memory by means of a shared bus or other interconnection mechanism; a distinguishing feature is that the memory access time to any region of memory is approximately the same for each processor." Which concept does the statement belong to?

a)

Symmetric multiprocessor (SMP)

b)

Nonuniform memory access (NUMA)

c)

Cluster

d)

Single instruction, multiple data (SIMD)

49.

Which write technique ensures that all write operations are made to main memory as well as to the cache, ensuring that main memory is always valid?

a)

Write through

b)

Write back

c)

Write around

d)

No write allocate

50.

What is one advantage of Nonuniform Memory Access (NUMA) over Uniform Memory Access (UMA)?

a)

NUMA provides each processor with its own local memory, reducing memory access times

b)

NUMA allows all processors to access the same memory location simultaneously

c)

NUMA is easier to implement than UMA

d)

NUMA provides limited memory capacity

51.

Following Amdahl's law for multiprocessors, if only 10% of the code is inherently serial (f = 0.9), running the program on a multicore system with 4 processors, the performance gain (speedup factor) would be:

a)

307%

b)

297%

c)

317%

d)

327%

52.

What is the most common mapping technique used in cache memory in modern computers?

a)

Direct Mapping

b)

Fully Associative

c)

Set Associative

d)

None of the mentioned

53.

What are the basic functions of a computer?

4 lines
54.

What is computer organization?

4 lines
55.

What is the most important function of the Control Unit (CU)?

4 lines
56.

What is the most important function of the Control Unit (CU)?

a)

It manages the execution of instructions.

b)

It stores data temporarily.

c)

It directs the operation of the other CPU components

d)

It performs arithmetic operations.

57.

What did the first generation of computers use as logic elements and memory?

a)

Transistors

b)

Integrated Circuits

c)

Large-Scale Integration

d)

Vacuum Tubes

58.

What is the MAR register?

a)

It stores the data to be processed.

b)

It contains the address in memory of the word to be written from or read into the MBR

c)

It manages the execution of instructions.

d)

It is used for temporary storage.

59.

What types of peripheral devices are included in a computer?

a)

Human readable

b)

Communication

c)

Machine readable

d)

Data Conversion

60.

What is incorrect about the von Neumann architecture?

a)

Data and instructions are stored in separate memory.

b)

Data is stored in main memory and instructions are stored in cache memory.

c)

It uses a single memory for both data and instructions.

d)

It allows for parallel processing.

61.

What is the maximum memory that a 32-bit processor with a 24-bit address bus can access?

a)

8 MB

b)

16 MB

c)

32 MB

d)

64 MB

62.

Which component interprets instructions in memory and executes them?

a)

Arithmetic Logic Unit

b)

Memory Address Register

c)

Control Unit (CU)

d)

Data Bus

63.

What is the most important characteristic of a Synchronous Bus?

a)

It allows for asynchronous communication.

b)

The occurrence of events on the bus is determined by a clock.

c)

It can transfer data at any time.

d)

It is faster than an Asynchronous Bus.

64.

What is the order of memory access speed from fastest to slowest?

a)

Registers > Cache > RAM > SSD

b)

Cache > RAM > SSD > Registers

c)

RAM > SSD > Registers > Cache

d)

SSD > Registers > Cache > RAM

65.

What is the important characteristic of Memory Cache?

a)

Allows faster access than DRAM memory

b)

Is slower than RAM

c)

Is used for permanent storage

d)

Is larger than RAM

66.

What is the number of bits in the TAG in direct mapping?

a)

5

b)

7

c)

9

d)

11

67.

What is the maximum memory capacity of a 24-bit address processor?

a)

8 MB

b)

16 MB

c)

32 MB

d)

64 MB

68.

How many bits?

4 lines
69.

What is the maximum memory capacity of a 24-bit address processor?

a)

8 MB

b)

16 MB

c)

32 MB

d)

64 MB

70.

How many bits are used to correct one bit error in 8-bit data?

a)

2

b)

3

c)

4

d)

5

71.

What is the order of devices from slowest to fastest?

a)

Hard Disk - NAND Flash - DRAM - SRAM

b)

NAND Flash - Hard Disk - SRAM - DRAM

c)

SRAM - DRAM - NAND Flash - Hard Disk

d)

DRAM - SRAM - Hard Disk - NAND Flash

72.

What is a 'Cylinder' in a hard disk?

a)

Cylinder

b)

Track

c)

Sector

d)

Head

73.

Which RAID uses striping and parity?

a)

RAID 0

b)

RAID 1

c)

RAID 3

d)

RAID 5

74.

What is the main advantage of SSD over HDD?

a)

Lower cost

b)

Higher speed and reliability

c)

Larger capacity

d)

Longer lifespan

75.

DeMorgan's theorem: NOT(A + B) = ?

a)

NOT A OR NOT B

b)

NOT A AND NOT B

c)

A AND B

d)

A OR B

76.

Evaluate the truth of two statements about I/O module and I/O controller.

a)

true, false

b)

false, true

c)

true, true

d)

false, false

77.

What is an interrupt vector?

a)

A part of memory which contains the addresses of interrupt handlers

b)

A type of CPU register

c)

A memory address

d)

A type of interrupt

78.

When an operation needs to fetch operands from memory or I/O, which step will be performed?

a)

Operand address calculation

b)

Data fetching

c)

Instruction decoding

d)

Execution

79.

What is the role of API in software development?

a)

It allows program access to hardware resources using high-level language libraries

b)

It is a programming language

c)

It is a type of software

d)

It is a hardware component

80.

What is the initial state of a process when it is granted permission but not ready to execute?

a)

New

b)

Ready

c)

Running

d)

Blocked

81.

Which of the following statements is incorrect about Translation L?

4 lines
82.

Which of the following statements is incorrect about Translation Look-aside Buffer (TLB)?

4 lines
83.

How does Boolean algebra contribute to the design of digital circuits?

4 lines
84.

When both inputs are 1, what is the result of a NAND gate?

(a)  

85.

What is the result of 10100101 XOR 11001001?

(a)  

86.

What is the result of left rotating 10110101 by 2 bits?

(a)  

87.

Why is it essential to use symbolic representation of machine instructions?

4 lines
88.

What are the most important general categories of data that machine instructions operate on?

4 lines
89.

What is a branch instruction?

4 lines
90.

The effective address of Register indirect addressing mode is:

(a)  

91.

The effective address of Register indirect addressing mode is:

(a)  

92.

Which of the following PDP series computers is known for its use of 12-bit instructions and a single general-purpose register, the accumulator?

(a)  

93.

What is the main difference between x86 and ARM instruction formats?

4 lines
94.

What is the primary purpose of the "Fetch instruction" phase in the operation of a processor?

4 lines
95.

Control and status registers are used by which entities to control the operation of the processor?

4 lines
96.

What is the significance of the program counter (PC) in the fetch phase of the instruction cycle?

4 lines
97.

Which of the following statements is correct in the context of Instruction Pipelining?

4 lines
98.

Which statement is incorrect about RISC and CISC architecture?

4 lines
99.

What is one of the advantages of using a register file in computer architecture?

4 lines
100.

How does pipelining in a RISC architecture handle branch instruction?

4 lines
101.

What is the benefit of using a superscalar organization over a scalar organization?

4 lines
102.

What does the term "instruction-level parallelism" refer to in computer architecture?

4 lines
103.

"Multiple processors share a single memory or pool of memory by means of a shared bus or other interconnection mechanism..." Which concept does the statement belong to?

4 lines
104.

Which write technique ensures that all write operations are made to main memory as well as to the cache, ensuring that main memory is always valid?

(a)  

105.

What is one advantage of Nonuniform Memory Access (NUMA) over Uniform Memory Access (UMA)?

4 lines