wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

CEA201

Total questions: 163

Worksheet time: 1hrs 23mins

Name
Class
Date
1.

What is a branch instruction?

a)

A. The intructions that are used to divide a program into multiple subprograms

b)

B. The intructions that have as one of its operands the address of the next instruction to be executed

c)

C. The intructions that are used to pause the program

d)

D. The intructions that are used to return to the beginning of the program

2.

What is the primary role of the IO module? (choose two correct answers)

a)

A. Its role is data transfer, it will transfer data to and from peripheral devices.

b)

B. Its role is device communication control, it manages and controls the flow of data between the CPU and peripherals

c)

C. Its role is data formatting and converting analog signals into digital audio data for CPU

d)

D. Its role is protecting data from user, ensuring that sensitive information is not lost or intercepted.

3.

Which of the following attributes do not belong to computer architecture?

a)

A. Number of bits used to represent data types

b)

C. Interface between the computer and peripherals

c)

D. Techniques for addressing memory

d)

E. The memory technology used

e)

F. I/O mechanisms

4.

Performs the computer's data processing functions is, ___________?

a)

A. Arithmetic and logic unit (ALU)

b)

B Control unit

c)

C. CPU interconnection

d)

D. Registers

5.

The stored-program concept means a computer could get its instructions by reading them from memory, and a program could be set or altered by setting the values of a portion of memory.

a)

A. True

b)

B. False

6.

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

a)

A. Using a system clock

b)

B. Using a quartz crystal

c)

C. Using a analog to digital converter

d)

D. Using a counter

7.

Consider an expression: 1000 0000 AND 1111 1010
What is the result of this expression?

a)

A. 1000 0000

b)

Β. 1111 0000

c)

C. 1001 1010

d)

D. 1001 0101

8.

The instruction, which adds 1 to thevalue 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)

A. 6

b)

B. 7

c)

C. 8

d)

D. 9

e)

E 10

9.

What is the benefit of cache memory in terms of computer performance?

a)

A. It reduces the computer's power consumption

b)

B. It speeds up data access and improves system performance.

c)

C. It increases the storage capacity of the computer.

d)

D. It serves as a backup storage for critical files.

10.

Which of the following determines the Bus Width?

a)

A. The clock speed of the CPU

b)

B. The number of cores in the processor

c)

C. The size of the motherboard

d)

D. The number of parallel lines in the data bus

e)

E. Number of components connected to Bus

11.

Which method of accessing units of data is used to copy a block in main memory into cache memory?

a)

A. Direct access

b)

B. Random access

c)

C. Sequential access

d)

D. Associative

12.

Which of the following algorithms is not typically used in cache memory replacement?

a)

A. Least Recently Used (LRU)

b)

B. First-In-First-Out (FIFO)

c)

C. Least Frequently Used (LFU)

d)

D. Round Robin (RR)

13.

Consider a machine with a byte addressable main memory of 2^16 bytes and block size of B bytes. Assume that a direct mapped cache consisting of 32 lines is used with this machine. How many bits are there in the line field of the cache?

a)

A 3

b)

B. 4

c)

C. 5

d)

D. 6

e)

E. 7

14.

In terms of organization, what is the basic element of semiconductor memory?

a)

A. Memory capacity

b)

B. Memory block

c)

C. Memory cell

d)

D. Memory location

15.

Using Hamming Code with one error corection to store an 12-bit word in memory, the stored word 111001001101 consists of 8 bits data and 4 bit bits parity check. What are the parity bits?

a)

A. 0110

b)

B. 0111

c)

C. 1110

d)

D. 0101

e)

E. None of the mentioned

16.

What are the key differences in the architecture of NOR and NAND flash memory?

a)

A. NOR flash memory cells are connected in series, while NAND flash memory cells are connected in parallel

b)

B. NOR flash memory cells are connected in parallel, while NAND flash memory cells are connected in series

c)

C. Both NOR and NAND flash memory cells are connected in series

d)

D. Both NOR and NAND flash memory cells are connected in parallel

e)

E. All of the mentioned are wrong

17.

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

a)

A. Cylinder

b)

B. Tracks

c)

C. Inter-track gap

d)

D. Sector

18.

Which is incorrect about RAID?

a)

A. RAID is a set of physical disk drives viewed by the operating system as a single logical drive.

b)

B. Data are distributed across the physical drives of an array in a scheme known as striping, described subsequently.

c)

C. RAID is only used for Windows OS

d)

D. Redundant disk capacity is used to store parity information, which guarantees data recoverability in case of a disk failure.

19.

In terms of data storage, what is the main distinction between a solid state drive and a magnetic disk?

a)

A. A magnetic disk uses a spinning platter and a read/write head, while a solid state drive uses flash memory chips

b)

B. A magnetic disk uses flash memory chips, while a solid state drive uses a spinning platter and a read/write head

c)

C. A magnetic disk and a solid state drive both use flash memory chips, but with different interfaces

d)

D. A magnetic disk and a solid state drive both use a spinning platter and a read/write head, but with different speeds

20.

___________: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)

A. Instruction fetch

b)

B. Instruction operation decoding

c)

C. Instruction address calculation

d)

D. Operand fetch

e)

E Operand address calculation

21.

In which I/O technique does an I/O channel or processor manage transfer of data, thus freeing the CPU?

a)

A. Programmed I/O

b)

B. Interrupt-driven I/O

c)

C. Channel I/O

d)

D. Memory-mapped I/O

22.

The I/O technique where the processor busy waits for an I/O operation to complete is called______

a)

A. Programmed I/O or DMA

b)

B. Interrupt-driven I/O

c)

C. Direct Memory Access (DMA)

d)

D. Programmed I/O

23.

What is the main distinction between Interrupt-Driven I/O and Direct Memory Access (DMA)?

a)

A. Interrupt-Driven I/O involves the CPU in every data transfer, while DMA bypasses the CPU and transfers data directly 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 components

c)

C. Interrupt-Driven I/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

24.

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

a)

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

b)

B. It defines low-level machine instructions

c)

C. It provides a standard for binary portability

d)

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

25.

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

a)

A. Running

b)

B. Ready

c)

C. NewBorn

d)

D. Halted

26.

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

a)

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

b)

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

c)

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

d)

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

27.

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

a)

A. It simplifies the implementation of desired functions

b)

B. It helps in the analysis of economic data

c)

C. It facilitates the design of analog circuits

d)

D. It is primarily used for chemical engineering and physical engineering

28.

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

a)

A 0

b)

B 1

c)

C. Undefined

d)

D. 2

29.

What is result logical right shift of 10110000 by 2 bit?

a)

A. 00101100

b)

B. 01011000

c)

C. 01001100

d)

D. 00110000

30.

If you have an integer number +18 in sign magnitude representation, which is 00010010, what is the correct option for -18?

a)

A. 00010010

b)

B. 10010010

c)

C. 11110010

d)

D 01110010

31.

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

a)

A. It makes machine instructions more human-readable and understandable

b)

B. It reduces the overall complexity of computer systems and user programs

c)

C. It minimizes the need for memory storage for the user programs

d)

D. It enables fastest execution of high level language instructions

32.

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

a)

A. polling

b)

B. interrupt

c)

C. driver

d)

D. controlling

33.

In the context of addressing modes with both indirect addressing and indexing, what is postindexing?

a)

A. Indexing is performed after the indirection

b)

B. Indexing is performed before the indirection

c)

C. Both indexing and indirection are avoided

d)

D. Indexing and indirection occur simultaneously

34.

EEPROM is read-mostly-memory and volatile

a)

A. True

b)

B. False

35.

Which architectural concept involves replicating register banks to facilitate the sharing of pipeline resources among multiple threads?

a)

A. Pipelining

b)

B. Superscalar

c)

C. Simultaneous multithreading

d)

D. Superpipelining

36.

Steps for executing a machine instruction are concerned, given an assembly code: ADD EAX, V. What step will access the variable V?

a)

A. The fetch data step.

b)

B. The fetch instruction step.

c)

C. The process data step.

d)

D. The interpret instruction step

37.

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

a)

A. Control and Status Registers

b)

B. User-Visible Registers

c)

C. General Registers

d)

D. Handle Registers

38.

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

a)

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)

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

c)

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

d)

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

39.

In the context of instruction execution, how is a product on an assembly line conceptually similar to an instruction in a pipeline?

a)

A. Both undergo multiple stages of production

b)

B. Both are executed in a single clock cycle

c)

C. Both follow a linear sequence of tasks

d)

D. Both are processed by the control unit

40.

In various statement types in a high-level programming language, what is not the most common statement?

a)

A GOTO statement

b)

B. IF statement

c)

C. CLOOP statement

d)

D. CALL procedure statement.

41.

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

a)

A 4

b)

B. 3

c)

C. 2

d)

D. No distinction

42.

What is the main benefit of using RISC over CISC?

a)

A. RISC has more instructions and addressing modes than CISC

b)

B. RISC has faster instruction execution and simpler instruction decoding than CISC

c)

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

d)

D. RISC has more registers and pipelines than CISC

43.

In SuperScalar computer architecture, the primary goal of utilizing multiple processors concurrently is to

a)

A. Increase processing speed by increasing CPU frequency

b)

B. Improve performance by executing more than one instruction per machine cycle.

c)

C. Reduce the size of the CPU to conserve energy.

d)

D. Enhance computational power by increasing the number of CPU cores.

44.

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

a)

A. Duplication of resources

b)

B. Out-of-order issue.

c)

C. Renaming registers

d)

D. All of the mentioned.

45.

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

a)

A 2

b)

B 3

c)

C. 4

d)

D. 5

46.

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)

A. Write through

b)

B. Write back

c)

C. Write around

d)

D. No write allocate

47.

How does multithreading improve the performance of a processor?

a)

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

b)

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

c)

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)

D. All of the mentioned

48.

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)

A. 307%

b)

B. 297%

c)

C. 317%

d)

D. 327%

49.

Which cache is not a shared cache?

a)

A. L4 cache

b)

B. L3 cache

c)

C. L2 cache

d)

D. L1 cache

50.

In the MASM, how to receive numbers from user?

a)

A. Raw data from keyboard are string. The function sval(num-string) will convert num-string to signed number

b)

B. Raw data from keyboard are string. The function str$(num-string) will convert num-string to signed number

c)

C. Raw data from keyboard are string. The function chr$(num-string) will convert num-string to signed number.

d)

D. Raw data from keyboard are string. The function chr$(num-string) will convert num-string to unsigned number.

51.

What are the most basic functions of an I/O module?

a)

A. Control and timing, processor communication, device communication, data buffering, error detection.

b)

B. Control and timing, processor communication, data buffering, error detection, writing data to memory

c)

C. Control and timing, processor communication, device communication, data buffering, blocking device.

d)

D. Control and timing, processor communication, device communication, error detection, data processing.

52.

In isolated I/O__________

a)

A. The I/O devices and the memory share the same address space

b)

B. The I/O devices have a separate address space from memory

c)

C. The memory and I/O devices have an associated address space

d)

D. A part of the memory is specifically set aside for the I/O operation

53.

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

a)

A Application Binary Interface

b)

B. Application Programming Interface

c)

C. Instruction Set Architecture

d)

D. Central Processing Unit

54.

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

a)

A. New

b)

B. Ready

c)

C. Running

d)

D. Halted

55.

Which method allows the programmer to view memory as consisting of multiple address spaces and is used to map logical addresses of variable length onto physical memory?

a)

A. Paging

b)

B. Overlays

c)

C. Segmentation

d)

D. Paging with segmentation

56.

What is the distinction between Computer Architecture and Computer Organization?

a)

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)

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

c)

C. Computer Architecture and Computer Organization are the same

d)

D. Computer Architecture is slower than Computer Organization

57.

What is result of 10100101 xor 11001001?

a)

A. 11101101

b)

B. 10000001

c)

C. 01101100

d)

D. 10101100

58.

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

a)

A. Data registers

b)

B. General purpose registers

c)

C. Address registers

d)

D. Condition codes (flags)

59.

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

a)

A. 01100000

b)

B. 11000000

c)

C. 00000110

d)

D. 00000011

60.

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

a)

A. Direct

b)

B. Indirect

c)

C. Register Indirect

d)

D. Displacement

61.

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)

A. PDP-8

b)

B. PDP-10

c)

C. PDP-11

d)

D PDP-6

62.

In modem computers, which devices among the memory types usually have the smallest capacity?

a)

A. RAM

b)

B. Magnetic Tape

c)

C. Hard Disk Drive

d)

D. Cache Memory

63.

Which of the following statements is true for Von Neumann architecture?

a)

A. Shared bus between the program memory and data memory

b)

B. Separate bus between the program memory and data memory

c)

C. External bus for program memory and data memory

d)

D. External bus for data memory only

64.

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

a)

A. The second generation uses transistors

b)

B. The first generation uses vacuum tubes

c)

C. The fourth generation uses integrated circuit

d)

D. The third generation uses transistor

65.

What is Memory Address Register (MAR)?

a)

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)

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

c)

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

d)

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

66.

In the computer, what categories do external devices include? (choose 3 correct answers)

a)

A Human readable

b)

B. Communication

c)

C. Data Conversion

d)

D. Machine readable

67.

Consider an expression: 1000 0000 OR 1111 1010 What is the result of this expression?

a)

A. 1000 0000

b)

Β. 1111 1010

c)

C. 1001 1010

d)

0101

68.

_________interprets the instructions in memory and causes them to be executed.

a)

A. Registers

b)

B. CPU interconnection

c)

C. Arithmetic and Logic Unit (ALU)

d)

D. I/O Modules

e)

E. Control Unit (CU)

69.

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)

A. 5

b)

B. 6

c)

C. 7

d)

D. 8

e)

E9

70.

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

a)

A. 128 bytes

b)

B. 256 bytes

c)

C. 512 bytes

d)

D. 1024 bytes

e)

E. 4096 bytes

71.

What is the main idea of using Hamming code for error correction?

a)

A. Adding extra parity bits to the data bits such that the number of 1s in each subset of bits is even

b)

B. Adding extra parity bits to the data bits such that the number of 1s in each subset of bits is odd

c)

C. Adding extra parity bits to the data bits such that the parity bits form a binary number indicating the position of the error bit

d)

D. Adding extra parity bits to the data bits such that the parity bits form a binary number indicating the number of error bits

72.

What is correct about increasing performance and endurance?

a)

A Hard Disk- DRAM-NAND Flash - SRAM

b)

B. Hard Disk-NAND Flash-DRAM- SRAM

c)

C NAND Flash - Hard Disk-SRAM-DRAM

d)

D. Hard Disk - DRAM-SRAM - NAND Flash

73.

Which is the correct choice for sorting in increasing speed average of memory?

a)

A SSD Main Memory < Cache Memory < Magnetic Tape

b)

B. Magnetic Tape < SSD < Cache Memory < Main Memory

c)

C. Magnetic Disk SSD Main Memory < Cache Memory

d)

D. Magnetic Disk < Magnetic Tape < Main Memory < Cache Memory

74.

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

a)

A. Perform actual computations and data processing

b)

B. Control the movement of data and instructions

c)

C. Act as an interface to the system bus

d)

D. Manage the internal processor memory

75.

How many general-purpose registers are there in the Microprocessor Register Organizations of Intel 80386-Pentium 4?

a)

A. 8

b)

B. 16

c)

C. 4

d)

D. 12

76.

What does CISC stand for?

a)

A. Complex Instruction Set Computer

b)

B. Computer Instruction Set Complex

c)

C. Complex Instruction Summarize Computer

d)

D. Computer Instruction Summarize Complex

77.

________there are multiple functional units, each of which is implemented as a pipeline.

a)

A Scalar

b)

B. Superpinelined

c)

C. Superscalar

d)

D. Vector

78.

"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)

A. Symmetric multiprocessor (SMP)

b)

B. Nonuniform memory access (NUMA)

c)

C. Cluster

d)

D. Single instruction, multiple data (SIMD)

79.

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

a)

A Direct Mapping

b)

B Fully Associative

c)

C. Set Associative

d)

D. None of the mentioned

80.

Choose the most four basic functions of a computer.

a)

A. Moving data, storing data, processing data, controlling

b)

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

c)

C. Reading disks, accessing network resources.

d)

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

81.

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

a)

A. Computer architecture

b)

B. Computer function

c)

C. Computer organization

d)

D. Instruction set architecture.

82.

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

a)

A. It manages the order of running instructions

b)

B. It will read and process data from main memory

c)

C. It directs the operation of the other CPU components.

d)

D. It will read instructions from main memory then decoding them.

83.

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

a)

A. Transistor

b)

B Integrated Circuits

c)

C. Large-scale integration

d)

D. Vacuum Tubes

84.

What is false about the von Neumann architecture?

a)

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

b)

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

c)

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

d)

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

85.

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

a)

A. 16 GB

b)

B. 16 MB

c)

C. 16 Gbits

d)

D. 16 Mbits

86.

What is the most important characteristic of the Synchronous Bus?

a)

A. Data is transmitted at the same time

b)

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

c)

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

d)

D. No common clock signal controlling operation

87.

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

a)

A. Registers > Cache > RAM > SSD

b)

B. Cache Registers > RAM > SSD

c)

C. Registers > Cache > SSD > RAM

d)

D. Cache > Registers > SSD > RAM

e)

E. All of the mentioned are wrong

88.

What is the special feature of Memory Cache?

a)

A. Allows faster access than DRAM memory

b)

B. Memory cache is outboard storage memory

c)

C. Allows faster access than CPU registers

d)

D. Fixed memory - Read Only Memory

e)

E. Has a larger capacity than HDD

89.

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)

A. 6

b)

B. 7

c)

C. 8

d)

D.9

90.

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

a)

A. 4 MegaByte

b)

B. 8 MegaByte

c)

C. 16 MegaByte

d)

D. 32 MegaByte

91.

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

a)

A. 4.

b)

B. 5

c)

C. 6

d)

D. 7

92.

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

a)

A. RAID 0

b)

B. RAID 1

c)

C. RAID 2

d)

D. RAID 3

93.

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

a)

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

b)

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

c)

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

d)

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

94.

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

a)

A. NOTA AND NOT B

b)

B. NOT A OR NOT B

c)

C. NOT A AND B A OR NOT B

95.

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

A true, false

b)

B. true, true

c)

C. false, true

d)

D. false, false

96.

What is an interrupt vector?

a)

A. Part of memory which contains the addresses of interrupt handlers

b)

B. A signal an I/O device sends to CPU

c)

C. A signal an I/O software sends to CPU

d)

D. None of the mentioned

97.

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

a)

A. Operand fetch

b)

B. Data operation

c)

C. Operand store

d)

D. Operand address calculation

98.

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

a)

A. 0

b)

B. 1

c)

C. 2

d)

D. Undefined

e)

E #NA

99.

What is result left rotate of 10110101 by 2 bit?

a)

A 01101011

b)

B. 10101101

c)

C. 01101101

d)

D. 11010110

e)

E. 11010100

100.

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

a)

A. Addresses, numbers, characters, and logical data

b)

B. Text, images, and audio

c)

C. Variables, functions, and arrays

d)

D. Instructions, control signals, and registers

101.

The effective address of Register indirect addressing mode is_______

a)

A EA-R

b)

B. EA = (R)

c)

C. EA = (R)+A

d)

D. EA = (R)+(A)

102.

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

a)

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

b)

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

c)

C. Both x86 and ARM instructions are fixed in length

d)

D. Both x86 and ARM instructions are variable in length

103.

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

a)

A. To read an instruction from memory

b)

B. To interpret the instruction

c)

C. To perform arithmetic operations on data

d)

D. To write data to memory

104.

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

a)

A. Privileged, operating system programs

b)

B. Machine or assembly language programmers

c)

C. External I/O devices

d)

D. Main memory modules

105.

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

a)

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

b)

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

c)

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

d)

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

106.

Which statement is incorrect about RISC and CISC architecture?

a)

A. CISC architecture is more convenient for programmers than RISC architecture.

b)

B. CISC architecture has more operands in a instruction compared to RISC architecture.

c)

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

d)

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

107.

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

a)

A. Reduction in memory accesses, saving time

b)

B More efficient use of space due to dynamic adaptation

c)

C. Efficient handling of both local and global variables

d)

D. Easier management of cache residency

108.

How does pipelining in a RISC architecture handle branch instruction?

a)

A. By using NOOP instructions inserted by the compiler or assembler

b)

B. By eliminating branch instructions from the instruction stream

c)

C. By executing branch instructions in a separate pipeline

d)

D. By delaying all instructions until branch instructions are executed

109.

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

a)

A. It increases the instruction throughput and improves the performance

b)

B. It reduces the power consumption and the heat dissipation

c)

C. It simplifies the instruction set and the compiler design

d)

D. All of the mentioned

e)

E. None of the mentioned

110.

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

a)

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

b)

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

c)

C. The complexity of the instruction set architecture

d)

D. The length of an instruction cycle with high level programing lariguage

111.

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

a)

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

b)

B NUMA allows all processors to access the same memory location simultaneously

c)

C. NUMA is easier to implement than UMA

d)

D. NUMA provides limited memory capacity

112.

Which portion of a computer consists of an ALU, a control unit, and registers, uses for fetching and executing instructions?

a)

A. Main memory

b)

B. CPU

c)

C. I/O

d)

D. System interconnection

113.

Choose the appropriate words to fill in the corresponding blanks in the following definitions:
_______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.
___________specifies the address in memory of the word to be written from or read into the MBR.
____________is employed to hold temporarily the right hand instruction from a word in memory.

a)

A MBR, MAR, IBR

b)

B. AC, MAR, IR

c)

C. MAR; MBR, IBR

d)

D. AC; MBR; MAR

114.

What is the role of the memory address register (MAR) in a computer system?

a)

A. It holds data being transferred between memory and the processor.

b)

B. It specifies the address in memory for the next read or write operation.

c)

C. It performs arithmetic operations on data stored in memory.

d)

D. It stores program instructions after they are executed.

115.

The basic components of a computer are:

a)

A. Main memory, CPU, I/O modules and system interconnection

b)

B. Main memory, CPU, I/O modules and Storage device

c)

C. Main Memory, CPU, Peripherals and Storage device

d)

D. Main memory, CPU, I/O modules and Peripheral device

116.

A two-way set-associative cache has lines of 16 bytes and a total size of 8 Kbytes. The 64-Mbyte main memory is byte addressable. What are the values of Tag, Set and Byte offset fields?

a)

A. 14/8/4

b)

B. 16/6/4

c)

C. 12/10/4

d)

D. 15/7/4

e)

E 13/9/4

117.

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

a)

A 0000 1010

b)

B. 0000 0101

c)

C. 11110101

d)

D. 1111 1010

118.

How many check bits are needed for a Hamming error correction code to detect single-error correction in a 1 KByte data word?

a)

A. 11 bits

b)

B. 12 bits

c)

C. 13 bits

d)

D 14 bits

e)

E 15 bits

119.

The use of Hamming code on 4-bit words (M= 4) is illustrated in the below Venn diagrams. With three intersecting circles, there are seven compartments. We assign the 4 data bits to the inner compartments. The remaining compartments are filled with what are called parity bits. Each parity bit is chosen so that the total number of 1s in its circle is even. Choose the correct value of the corresponding parity bit in circles A, B, C.

a)

A. 1; 0; 0

b)

B. 0; 1; 0

c)

C. 0, 0, 1

d)

D. 1,0; 1

120.

Using Hamming Code with one error correction to store a 12-bit word in memory, the stored word 101001011101 consists of 8 bits data and 4 bits parity check. What are the data bits?

a)

A. 01001101

b)

B. 10100100

c)

C. 10101011

d)

D. 01011101

e)

E None of the mentioned

121.

From a structural point of view, the external devices are controlled by________

a)

A. Control signals

b)

B. Peripheral device

c)

C. I/O modules

d)

D. Remote devices

122.

Which of the following is a DISADVANTAGE of using programmed I/O?

a)

A Increases system efficiency

b)

B. Reduces CPU involvement in I/O operations

c)

C. Requires the CPU to be constantly busy with I/O tasks

d)

D. Increases system complexity

123.

What is the purpose of using an API?

a)

A. To enable application software to be ported easily to other systems that support the same API

b)

B. To define the repertoire of machine language instructions

c)

C. To standardize binary portability across programs

d)

D. To manage system resources

124.

Which of the following are the 4 basic functions of a computer?

a)

A. Data processing; Data storage; Data movement, CPU.

b)

B CPU; Main memory; I/O, System interconnection.

c)

C. Control unit, ALU, Registers, CPU interconnection.

d)

D. Data processing, Data storage, Data movement, Control.

125.

Which of the following components was used in the first ENIAC computer?

a)

A. Bipolar transistors

b)

B. Field transistors

c)

C. Vacuum tubes.

d)

D. Semiconductor los

126.

What is a characteristic of Many Integrated Core (MIC) chips?

a)

A. They include only specialized cores for specific tasks.

b)

B. They consist of homogeneous general-purpose processors on a single chip

c)

C. They are designed to eliminate the need for GPUs in high-performance applications.

d)

D. They have limited scalability beyond four cores per chip.

127.

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

a)

A 6

b)

B. 7

c)

C. 8

d)

D. 9

e)

E. 5

128.

Which type of interrupt is exemplified by "division by zero, attempt to execute an illegal machine instruction"?

a)

A. Program

b)

B. Timer

c)

C. I/O

d)

D. Hardware failure

129.

Which type is not an Interconnection bus?

a)

A Data lines

b)

B Control lines

c)

C. Signal lines

d)

D. Address lines

130.

Which kind of cache mapping maps each block of main memory into one unique line of the cache?

a)

A. Direct mapping

b)

B. Set associative mapping

c)

C. Fully associative mapping

d)

D. Direct access

131.

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

a)

A ROM

b)

B. Flash memory

c)

C. Magnetic tape

d)

D. HDD

e)

E. Cache

132.

If the address received when accessing the cache memory includes Tag, Line, Word. At that time, what mapping technique is the system using?

a)

A. Direct mapping

b)

B. Set-direct mapping

c)

C. Associative mapping

d)

D. Set-associative mapping

133.

What is the key advantage of double-data-rate SDRAM compared to standard SDRAM?

a)

A. It has a larger memory capacity.

b)

B. It can send data twice per clock cycle.

c)

C. It uses less power than SDRAM

d)

D. It is only compatible with desktop computers.

134.

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

a)

A MAR

b)

B. MMU

c)

C. Overlays

d)

D. TLB

e)

E. Accumulator

135.

How many check bits are needed if the Hamming error correction code is used to detect single bit error in a 128-bit data word?

a)

A. 6 bits

b)

B. 7 bits

c)

C. 8 bits

d)

D. 9 bits

e)

E 5 bits

136.

Which of the following issues are peculiar to SSDs compared to HDDs?

a)

A. Performance slows down as the device is used.

b)

B. A certain number of writes make the flash memory unusable.

c)

C. They are more vulnerable to physical damage.

d)

D. They require defragmentation to maintain performance.

e)

E. They are slower at data retrieval compared to HDDs.

137.

Which memory has the fastest speed and smallest capacity?

a)

A Cache

b)

B Main memory

c)

C. HDD

d)

D. Magnetic Disk

138.

Sort the following memory types in ascending order by access speed:

a)

A. HDD-Main Memory - L2 cache -L1 cache

b)

B. HDD-Main Memory-L1 cache - L2 cache

c)

C. HDD-L2 cache-L1 cache Main Memory

d)

D. Main Memory-L2 cache-L1 cache - HDD

139.

What is the first evolutionary step in the evolution of the I/O function?

a)

A. The I/O module is enhanced to become a processor in its own right.

b)

B. A controller or I/O module is added, and programmed I/O without interrupts is used.

c)

C. The CPU directly controls a peripheral device.

d)

D. The I/O module is given direct access to memory via DMA.

e)

E. The I/O module has a local memory of its own.

140.

In programmed I/O, who does initialize the transfer of data?

a)

A. I/O controller

b)

B CPU

c)

C. DMA controller

d)

D. Operating system

141.

__________Read instruction from its memory location into the processor.

a)

A. Instruction fetch

b)

B. Instruction operation decoding

c)

C. Operand address calculation

d)

D. Data operation

142.

The ____________scheduler executes relatively infrequently and makes the coarse-grained decision of whether or not to take on a new process, and which one to take. The ____________scheduler, also known as the dispatcher, executes frequently and makes the fine-grained decision of which job to execute next.

a)

A short-term; medium-term

b)

B. medium-term, short-term

c)

C. long-term, short-term

d)

D. long-term, medium-term

143.

If a program accesses data in a specified file, how to manage the file's properties such as disk position, file's attributes?

a)

A. They are managed by the current operating system.

b)

B. They are managed using variables of the running program.

c)

C. They are stored on the hard disk.

d)

D. They are managed by the programmer.

144.

The decision as to which process's pending I/O request shall be handled by an available I/O device

a)

A Medium-term scheduling

b)

B. Short-term scheduling.

c)

C. I/O scheduling

145.

Which of the following is a characteristic of sequential circuits compared to combinational circuits?

a)

A. Do not use gates

b)

B. Output depends only on current inputs

c)

C. Output depends on current inputs and past inputs

d)

D. Simpler to design and implement

146.

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

a)

A. 11011011

b)

B. 00010110

c)

C. 10101001

d)

D. 11001101

147.

Given the following Karnaugh map, what is the optimal expression in the sum of product format (X' means Not X)?

a)

A. A'B + AC'D + ACD'

b)

B. AB+ AC + ACD'

c)

C. AB+ AD + ACD'

d)

D. A'B+C'D + BCD

148.

Convert the 64 from decimal to their binary number equivalents.

a)

A. 100000

b)

B. 100100

c)

C. 111000

d)

D. 101010

149.

In a conditional branch instruction, what happens if the specified condition is met?

a)

A. The program counter is updated to equal the address specified in the operand.

b)

B. The program counter increments as usual

c)

C. The instruction is skipped

d)

D. The program terminates.

150.

With respect to elements of a machine instruction, what does the instruction code mean?

a)

A. It specifies the operation to be performed.

b)

B. It specifies data which will be processed

c)

C. It specifies memory access.

d)

D. It specifies an IO device.

151.

What is the primary advantage of indirect addressing mode?

a)

A. Faster access to operands

b)

B. Ability to access a larger data set

c)

C. Flexibility in data location

d)

D. Reduced instruction size

152.

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

a)

A COM

b)

B. CMP

c)

C IF ELSE

d)

D. TEST

153.

What is the primary purpose of index registers within the processor?

a)

A. To manage control signals

b)

B. To hold condition codes

c)

C. To facilitate indexed addressing

d)

Index registers are used for storing D. To execute arithmetic operationsprogram instructions.

154.

Steps for executing a machine instruction are concerned, choose the most suitable statement for the role of the interpret instruction step.

a)

A. The instruction is decoded to determine what action is required.

b)

B. The processor reads an instruction from memory (cache, main memory).

c)

C. The execution of an instruction may require performing some arithmetic or logical operation on data.

d)

D. The results of an execution may require writing data to memory or an I/O module.

155.

What is a drawback of Instruction Pipelining?

a)

A. It increases the instruction throughput

b)

B. It allows more CPU throughput than a multicycle computer at a given ck rate

c)

C. It may increase latency due to the added overhead of the pipelining process itself

d)

D. It decreases the complexity of the computer system

156.

What is a primary disadvantage of CISC (Complex Instruction Set Computer) architectures?

a)

A. Increased implementation complexity

b)

B. Limited instruction set

c)

C. Slower execution due to complex instructions

d)

D. Higher energy consumption

157.

What is the primary method used to cope with storage conflicts in registers?

a)

A. Increasing the size of the instruction set

b)

B. Register renaming

c)

C. Using shared memory

d)

D. Using technique of out-of-order issue with out-of-order completion

158.

What is a scalar instruction?

a)

A. An instruction in which all operands must be single values.

b)

B. An instruction in which all operands must be groups such as arrays.

c)

C. An instruction in which all operands can be single values or groups

d)

D. An instruction in which has no operand.

159.

Which computing model is characterized by a large number of processors working on different parts of a problem simultaneously?

a)

A. Single instruction, single data (SISD)

b)

B. Single instruction, multiple data (SIMD)

c)

C. Multiple instruction, multiple data (MIMD)

d)

D. Multiple instruction, single data (MISD)

160.

Which of the following types of processors typically offer better performance for parallel processing?

a)

A. Single-core processors

b)

B. Multi-core processors

c)

C. Microelectronics

d)

D. Digital signal processors (DSPs)

161.

Follow the Amdahl's law for multiprocessors, if only 20% of the code is inherently serial (f = 0.8), running the program on a multicore system with 8 processors, a performance gain (speedup factor) would be

a)

A. 333%

b)

B. 303%

c)

C. 313%

d)

D. 323%

162.

Choose an INCORRECT trend in contemporary processor designs.

a)

A. The number of processes accepted is infinitive.

b)

B. The number of integrated transistors is getting increasing and more larger

c)

C. Higher clock frequency is applied

d)

D. More cores are integrated in one chip.

163.

In modern processors, why is cache memory typically organized into multiple levels, such as L1, L2, and L3 caches?

a)

A. To balance the trade-off between speed and size by having different cache levels.

b)

B. To conserve chip area by reducing the cache size and increasing the memory size

c)

C. To provide redundancy in case of cache failures

d)

D. To improve cache coherence in multi-processor systems