wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

Computer Architecture Quiz

Total questions: 97

Worksheet time: 54mins

Name
Class
Date
1.

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

2.

The chunks of a program, known as pages, could be assigned to available chunks of memory, known as frames, is called_____

a)

Swapping

b)

Partitioning

c)

Paging

d)

Virtual Memory

e)

Segmentation

3.

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

4.

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

a)

0

b)

1

c)

2

d)

Undefined

e)

#NA

5.

Express a sign integer number (+18) in the sign magnitude representation.

a)

00010010

b)

10010010

c)

11110010

d)

01110010

6.

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

7.

The hardware mechanism that allows a device to notify the CPU is called____

a)

polling

b)

interrupt

c)

driver

d)

controlling

8.

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

9.

In MASM32, which OPCODE is used to compare two values?

a)

COM

b)

CMP

c)

IF... ELSE

d)

TEST

10.

What is the role of the control unit in a processor?

a)

The control unit's primary role is to perform arithmetic and logical operations within the processor, orchestrating the manipulation of data

b)

The control unit only manages the flow of data between the CPU and external devices and does not play a significant role in executing instructions

c)

The control unit is solely responsible for managing the flow of instructions from secondary storage to RAM and does not have a role in the internal operation of the CPU

d)

The control unit in a processor directs and coordinates the execution of instructions, interpreting and managing the flow of operations within the CPU

11.

How do data registers and address registers differ in some computer systems?

a)

Address registers can be employed in calculating operand addresses, while data registers hold data.

b)

Data registers are only used for stack-related operations

c)

Data registers are used for indexed addressing, while address registers are used for data storage

d)

Address registers are reserved for segmented addressing, while data registers are general-purpose

12.

What is the main benefit of using ARM processors over other processors?

a)

Low cost and low power consumption

b)

Higher degree of multi-tasking

c)

Lower error or glitches

d)

Efficient memory management

13.

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 a 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.

14.

What is the main benefit of using RISC over CISC?

a)

RISC has more instructions and addressing modes than CISC

b)

RISC has faster instruction execution and simpler instruction decoding than CISC

c)

RISC has variable-length instruction formats and direct memory access than CISC

d)

RISC has more registers and pipelines than CISC

15.

What is the benefit of using a super-scalar 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 and the compiler design

d)

All of the mentioned

e)

None of the mentioned

16.

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

17.

To enhance performance in a superscalar processor, which method(s) should we apply?

a)

Duplication of resources.

b)

Out-of-order issue.

c)

Renaming registers

d)

All of the mentioned.

18.

How many common classifications of parallel systems are there as proposed by Flynn?

a)

2

b)

3

c)

4

d)

5

19.

Which write technique in which 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

20.

How does multithreading improve the performance of a processor?

a)

It increases the instruction-level parallelism by issuing multiple instructions from different threads in the same cycle

b)

It increases the thread-level parallelism by executing multiple threads on different cores or processors

c)

It increases the utilization of the processor resources by hiding the latency of long-latency events such as cache misses or branch mispredictions

d)

All of the mentioned

21.

Follow the 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, a performance gain (speedup factor) would be_____

a)

307%

b)

297%

c)

317%

d)

327%

22.

Which cache is not a shared cache?

a)

L4 cache

b)

L3 cache

c)

L2 cache

d)

L1 cache

23.

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 (P) 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

24.

Which write technique in which 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

25.

Central processing unit (CPU) of IAS computer consists of

a)

Main memory and ALU (arithmetic and logic unit)

b)

ALU (Arithmetic and Logic Unit) and CU (Control Unit)

c)

CU (Control Unit) and IO Module

26.

Which component defines the system call interface to the operating system and facilitates binary portability?

a)

Application Binary Interface

b)

Application Programming Interface

c)

Instruction Set Architecture

d)

Central Processing Unit

27.

The first generation of computers used _ for digital logic elements and memory?

a)

Transistor

b)

Integrated Circuits

c)

Large-scale integration

d)

Vacuum Tubes

28.

The first generation of computers used _ for digital logic elements and memory?

a)

Transistor

b)

Integrated Circuits

c)

Large-scale integration

d)

Vacuum Tubes

29.

For reads to and writes from main memory,________translates each virtual address into a physical address in main memory

a)

MAR

b)

MMU

c)

Overlays

d)

TLB

e)

Accumulator

30.

In the concept of Register Windows, how many register groups are there?

a)

4

b)

3

c)

2

d)

No distinction

31.

Which of the following statements is part of the Von Newmann principle?

a)

The computer uses a program counter to indicate the location of the next statement

b)

Computer can control all operations with a single program

c)

Computer memory is not addressable

d)

Each instruction must have a memory area containing the address of the next instruction

32.

What is the distinction between Computer Architecture and Computer Organization?

a)

Computer Architecture is the way the system is structured, while Computer Organization is those attributes of a system that are visible to the user

b)

Organization the Way The system is structure a system that are visible to the user, while Computer Computer Architecture is the way the system is structured

c)

Computer Architecture and Computer Organization are the same

d)

Computer Architecture is slower than Computer Organization

33.

Which of the following are the four basic functions that a computer performs?

a)

Data processing, Data storage, Data movement, Control

b)

Data processing, Data storage, Data movement, Interrupt

c)

Data processing, Data storage, Interrupt, Control

d)

Data processing, Interrupt, Data movement, Control

34.

Which one of four basic functions of computer describes the following statement? *The paths among components are used to move data from memory to memory and from memory through

a)

Data storage

b)

Data processing

c)

Data movement

d)

Control

35.

During the development process of the computer, which of the following statements is false?

a)

The second generation uses transistors

b)

The first generation uses vacuum tubes

c)

The fourth generation uses integrated circuit

d)

The third generation uses transistor

36.

What electronic component is used to govern operations such as fetching, decoding, and performing arithmetic operations executed by a processor?

a)

Using a system clock

b)

Using a quartz crystal

c)

Using a analog to digital converter

d)

Using a counter

37.

The pulse rate in the ck system is known as the

a)

ck cycle

b)

ck speed

c)

ck time

d)

ck tick

38.

Which register is the memory address register?

a)

MAR

b)

MBR

c)

IR

d)

PC

39.

Which representation is most efficient to perform arithmetic operations on the signed integer numbers?

a)

Sign-magnitude

b)

2's complement

c)

1's & 2's compliment

d)

1's complement

40.

What is true about IAS Memory Formats?

a)

The memory of the lAS consists of 1000 storage locations (called words) of 32 bits each

b)

Only data is stored in the memory

c)

Both data and instructions are stored in the memory

d)

Only instructions are stored in the memory

41.

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

42.

Which of the following memory devices has the lowest access speed?

a)

ROM

b)

Flash memory

c)

Magnetic tape

d)

HDD

e)

Cache

43.

Consider an expression: NOT (1111 1010) What is the result of this expression?

a)

0000 1010

b)

0000 0101

c)

1111 0101

d)

1111 1010

44.

What is the primary purpose of cache memory in a computer system?

a)

To store frequently used data for quick access

b)

To store the operating system

c)

To store user files and documents

d)

To store the CPU registers

45.

A set-associative cache consists of 64 lines, divided into four-line sets. 2*19 words main memory contains 4K blocks of 128 words each. How many bits are there in the tag field of the cache?

a)

5

b)

6

c)

7

d)

8

e)

9

46.

Why is cache design used in high-performance computing (HPC)? (Choose three correct answers)

4 lines
47.

Why is cache design used in high-performance computing (HPC)? (Choose three correct answers)

a)

Because there is a significant speed gap between the processor and the internal memory in HPC.

b)

Because applications in HPC often require a large bandwidth to support intensive data processing

c)

Because power consumption can be a significant operational cost in HPC environments.

d)

Because multiple processors are often working in parallel, caches provide a way to efficiently manage data required by these processors

48.

How many bytes of data does each sector in the Winchester hard drive disk have?

a)

128 bytes

b)

256 bytes

c)

512 bytes

d)

1024 bytes

e)

4096 bytes

49.

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 - NAND Flash - SRAM

50.

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

51.

Consider a 5-drive, 200 Bytes-per-drive RAID array. What is the available data storage capacity for each of the RAID levels 5?

a)

200 GBytes

b)

400 GBytes

c)

600 GBytes

d)

800 GBytes

e)

None of the mentioned

52.

Consider a drive, 100 GBytes per-drive RAID array. What is the available data storage capacity for each of

a)

400 GBytes

b)

200 GBytes

c)

300 GBytes

d)

500 GBytes

53.

What is incorrect about SSDs have the following advantages over HDDs?

a)

Higher access times and latency rates: Over 10 times slower than the HDD.

b)

Durability: Less susceptible to physical shock and vibration.

c)

Longer lifespan: SSDs are not susceptible to mechanical wear

d)

Lower power consumption: SSDs use considerably less power than comparable size HDDs.

e)

Quieter and cooler running capabilities: Less space required, lower energy costs, and a greener enterprise.

54.

Which registers can interact with the secondary storage?

a)

MAR

b)

PC

c)

IR

d)

RO

e)

All of the mentioned

55.

Consider an expression: A + (B.C) What expression is equal to the given expression?

a)

(A + B).(A + C)

b)

(A+B).C

c)

A.(B+C)

d)

NOT (A.(B+C))

56.

Determine the address of the next instruction to be executed. Usually, this involves adding a fixed number to the address of the previous instruction.

a)

Instruction fetch

b)

Instruction operation decoding

c)

Instruction address calculation

d)

Operand fetch

e)

Operand address calculation

57.

For interrupts, all I/O modules share a common interrupt request line. When the processor senses an interrupt, it sends out an interrupt acknowledge. This signal propagates through a series of I/O modules until it gets to a requesting module. Which kind of interrupt technique is it?

a)

Multiple interrupt lines

b)

Software poll

c)

Daisy chain

d)

Bus arbitration

58.

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

59.

Which state indicates that a process is currently being executed by the processor?

a)

Running

b)

Ready

c)

NewBorn

d)

Halted

60.

The task of subdivision is carried out dynamically by the OS and is known as ____

a)

Scheduling

b)

Memory management

c)

Virtual Memory

d)

All of the mentioned

61.

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

62.

(R1) = 01110110, (R2) = 11011111, the result of (R1) XOR (R2) is:

a)

11011011

b)

00010110

c)

10101001

d)

11001101

63.

What is the output of a NOT gate when the

4 lines
64.

the result of (R1) XOR (R2) is:

a)

11011011

b)

00010110

c)

10101001

d)

11001101

65.

What is the output of a NOT gate when the input is 0?

a)

0

b)

1

c)

Undefined

d)

2

66.

Express an integer number +18 (using 8-bits length) in twos complement representation.

a)

00010010

b)

10010010

c)

00001101

d)

10011101

67.

Which registers can be assigned to a variety of functions by the programmer?

a)

Data registers

b)

General purpose registers

c)

Address registers

d)

Condition codes (flags)

68.

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

69.

What is the output of Left Shift Operator << on (00011000<<2)?

a)

01100000

b)

11000000

c)

00000110

d)

00000011

70.

Which addressing mode allows direct specification of the memory address within the instruction?

a)

Direct

b)

Indirect

c)

Register Indirect

d)

Displacement

71.

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

72.

In MASM32, which command is incorrect?

a)

ADD EAX, a

b)

ADD EAX, EBX

c)

ADD a, EAX

d)

ADD a, b

73.

What is the primary function of the Arithmetic and Logic Unit (ALU) in a processor?

a)

Perform actual computations and data processing

b)

Control the movement of data and instructions

c)

Act as an interface to the system bus

d)

Manage the internal processor memory

74.

The PC, IR, MAR, MBR registers belong to which of the following groups?

a)

Control and Status Registers

b)

User-Visible Registers

c)

General Registers

d)

Handle Registers

75.

When considering the number of pipeline stages, what trade offs must be made in computer architecture?

a)

Trade-offs between potential speedup and increased cost and delays

b)

Trade-offs between software and hardware

c)

Trade-offs between speed and efficiency

d)

Trade-offs between branching and executing instructions with conditions

76.

What does CISC stand for?

a)

Complex Instruction Set Computer

b)

Computer Instruction Set Complex

c)

Complex Instruction Summarize Computer

d)

Computer Instruction Summarize Complex

77.

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

78.

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

79.

_____ is (are) determined by the number of instructions that can be fetched and executed at the same time (the number of parallel pipelines) and by the speed and sophistication of the mechanisms that the processor uses to find independent instructions.

a)

Instruction-level parallelism

b)

Machine parallelism

c)

Both instruction-level parallelism and machine parallelism

d)

None of the mentioned

80.

Which is the correct choice for the description: "A single machine instruction controls the simultaneous execution of a number of processing elements such as vector and array processors*?

a)

Single instruction, single data (SISD)

b)

Single instruction, multiple data (SIMD)

c)

Multiple instruction, single data (MISD)

d)

Multiple instruction, multiple data (MIMD)

81.

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

82.

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

83.

What technique is used in cache memory in modern computers?

a)

Direct Mapping

b)

Fully Associative

c)

Set Associative

d)

None of the mentioned

84.

Which of the following statements is NOT part of the Von Neumann principle?

a)

Computers can operate according to a stored program

b)

The computer uses a program counter to indicate the location of the next statement

c)

A computer's memory is addressable

d)

Each statement must have a memory area containing the address of the next instruction

85.

Regarding the ALU(Arithmetic Logic Unit), besides basic arithmetic operations, what operations can it perform? (choose two correct answers)

a)

It handles logical operations such as AND, OR, XOR, NOT.

b)

It handles data transfer operations like MOVE, GO, JUMP.

c)

It handles decoding operations after an instruction is fetched.

d)

It handles bit shifting operations like multi and div operations by powers of two.

86.

Select the main technology applied in each computer generation

a)

1 - D ; 2 - C ; 3 - B

b)

1 - A ; 2 - C ; 3 - D

c)

1 - A ; 2 - B ; 3 - C

d)

1 - D ; 2 - B ; 3 - C

87.

The instruction, which adds 1 to the value in a memory location, has five stages: fetch opcode (four cycles), fetch operand address (three cycles), fetch operand (three cycles), add 1 to operand (three cycles), and store operand (three cycles). An interrupt sends request at beginning of fetch operand stage. How many cycles does the processor enter the interrupt processing cycle?

a)

6

b)

7

c)

8

d)

9

e)

10

88.

What is the function of the bus system in the computer?

a)

Extend the communication function of the computer

b)

Connect components in the computer

c)

Control peripherals

d)

Transform signals in the computer

e)

All of the mentioned

89.

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

90.

A set-associative cache consists of 64 lines, divided into four-line sets. 2^19 - words main memory contains 4K blocks of 128 words each. How many bits are there in the tag field of the cache?

a)

5

b)

6

c)

7

d)

8

e)

9

91.

Which one of the following is an invalid about RAM?

a)

Both static and dynamic RAMs are volatile; that is, power must be continuously supplied to the memory to preserve the bit values

b)

A dynamic memory cell is simpler and smaller than a static memory cell.

c)

Both static and dynamic RAMs requires the supporting refresh circuitry

d)

SRAMs are somewhat faster than DRAMs

92.

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

93.

The speed of data delivery is your main concern when configuring a RAID drive for a Media Streaming Server. This server has two hard disks installed. What type of RAID should you install, and what type of data will be stored on Disk 1 and Disk 2?

a)

RAID 0 - Disk 1 (Stripe) and Disk 2 (Stripe)

b)

RAID 0 - Disk 1 (Mirror) and Disk 2 (Mirror)

c)

RAID 1 - Disk 1 (Stripe) and Disk 2 (Stripe)

d)

RAID 1 - Disk 1 (Mirror) and Disk 2 (Mirror)

94.

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

95.

Assume that a truth table: X Y OUTPUT 1 1 1 1 0 1 0 1 1 0 0 0. Which basic operator matches the table above?

a)

AND

b)

OR

c)

NAND

d)

NOR

96.

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

97.

What is an interrupt vector?

a)

A. Interrupt-Driven I/O involves the CPU

in every data transfer, while DMA by-

passes the CPU and transfers data di-

rectly between I/O device and memory

b)

B. Interrupt-Driven I/O requires special

hardware and software support, while

DMA does not need any additional com-

ponents

c)

C. Interrupt-Driven 1/O is suitable for

small and frequent data transfers, while

DMA is suitable for large and infrequent data transfers

d)

D. All of the mentioned