পরীক্ষা আর্কাইভ

৪৯তম বিসিএস ⎯ কম্পিউটার সায়েন্স (CSE) [৯৭১]

পরীক্ষা৪৯তম বিসিএস ⎯ কম্পিউটার সায়েন্স (CSE) [৯৭১]তারিখতারিখ অনির্ধারিতসময়30 minutes
মোট প্রশ্ন৪৬
সিলেবাস
Exam 14 Fundamentals of computer design; ALU and control design; Instruction cycle; pipelining; hazards; Cache memory; memory hierarchy; Systolic arrays; Fault tolerance; Bus and micro-programmed control. [Source: Class–12 and relevant books]
ঘনত্ব
উত্তর
উত্তরিতবর্তমানপুনরায় দেখুনঅসম্পূর্ণ

৪৯তম বিসিএস ⎯ কম্পিউটার সায়েন্স (CSE) [৯৭১]

৪৯তম বিসিএস ⎯ কম্পিউটার সায়েন্স (CSE) [৯৭১] · তারিখ অনির্ধারিত · ৪৬ প্রশ্ন

.
Which of the following best defines Computer Organization as distinct from Computer Architecture?
  1.  Deals with how different units of a computer are interconnected and operate
  2. Specifies the instruction set and addressing modes visible to a programmer
  3. Describes the high-level algorithm design for system software
  4. Concerned only with I/O device specifications
সঠিক উত্তর:
 Deals with how different units of a computer are interconnected and operate
উত্তর
সঠিক উত্তর:
 Deals with how different units of a computer are interconnected and operate
ব্যাখ্যা

Answer: A
Explanation:
    Computer Architecture → Programmer’s view: instruction set, addressing modes, data types, registers.
    Computer Organization → How the architecture is implemented: control signals, data paths, memory hierarchy, I/O subsystems.
   For example, “ADD R1, R2, R3” belongs to architecture (visible instruction). The actual adder circuit, pipeline, and timing belong to organization.

.
Which is the primary performance equation for CPU execution time?
  1. Execution Time = Instruction Count / Clock Rate
  2. Execution Time = Instruction Count × CPI × Clock Cycle Time
  3.  Execution Time = MIPS × CPI
  4.  Execution Time = Clock Rate × CPI
সঠিক উত্তর:
Execution Time = Instruction Count × CPI × Clock Cycle Time
উত্তর
সঠিক উত্তর:
Execution Time = Instruction Count × CPI × Clock Cycle Time
ব্যাখ্যা

Answer: B
Explanation:
CPU Time = Instruction Count (IC) × Cycles Per Instruction (CPI) × Clock Cycle Time.
    Instruction Count → depends on program + compiler.
    CPI → depends on instruction mix + microarchitecture.
    Clock cycle time = 1 / clock rate → depends on technology.
This equation is the foundation of computer performance analysis.

.
Which of the following trade-offs is not typical in computer design?
  1. Performance vs. Cost
  2.  Power vs. Performance
  3. Flexibility vs. Efficiency
  4.  Algorithm vs. Transistor count
সঠিক উত্তর:
 Algorithm vs. Transistor count
উত্তর
সঠিক উত্তর:
 Algorithm vs. Transistor count
ব্যাখ্যা

Answer: D
Explanation:
Designers constantly balance cost, power, efficiency, and performance.
Algorithm
design is software domain;
transistor count is hardware domain.
Trade-off exists indirectly but is not a primary hardware design axis.

.
The primary performance metric in computer design, defined as “time to execute a given program,” is:
  1. Throughput
  2. Latency
  3. CPU Time
  4. CPI (Cycles Per Instruction)
সঠিক উত্তর:
CPU Time
উত্তর
সঠিক উত্তর:
CPU Time
ব্যাখ্যা

Answer: C
Explanation:
CPU Time = (Instruction count × CPI × Clock cycle time).
Latency is delay per operation,
throughput is operations per unit time,
CPI is a subcomponent.

.
Which of the following is a key advantage of pipelined processors?
  1. Decreases clock cycle time but increases CPI
  2.  Allows multiple instructions to overlap in execution
  3. Reduces hardware cost significantly
  4. Eliminates all hazards automatically
সঠিক উত্তর:
 Allows multiple instructions to overlap in execution
উত্তর
সঠিক উত্তর:
 Allows multiple instructions to overlap in execution
ব্যাখ্যা

Answer: B
Explanation:
Pipelining increases throughput by overlapping instruction execution (fetch, decode, execute, memory, writeback). CPI ideally approaches 1. However, hazards (structural, data, control) must be managed.

.
Why is superscalar design different from pipelining?
  1. Superscalar executes multiple instructions per cycle, pipelining only overlaps stages
  2.  Superscalar needs no hazard detection
  3. Superscalar only applies to RISC processors
  4. Both are identical
সঠিক উত্তর:
Superscalar executes multiple instructions per cycle, pipelining only overlaps stages
উত্তর
সঠিক উত্তর:
Superscalar executes multiple instructions per cycle, pipelining only overlaps stages
ব্যাখ্যা

Answer: A
Explanation:
    Pipelining = overlap stages, 1 instruction per cycle ideally.
    Superscalar = multiple pipelines multiple instructions per cycle.
Hazards still exist and must be handled (instruction scheduling, renaming).

.
Why is instruction scheduling important in ALU pipelines?
  1. It reduces hardware cost
  2. It avoids stalls caused by hazards
  3. It increases CPI
  4. It simplifies compiler design
সঠিক উত্তর:
It avoids stalls caused by hazards
উত্তর
সঠিক উত্তর:
It avoids stalls caused by hazards
ব্যাখ্যা

Answer: B
Explanation:
Instruction scheduling reorders instructions to minimize stalls caused by hazards (e.g., placing independent instructions between dependent ones). This increases throughput without changing correctness.

.
The control unit in a CPU is responsible for:
  1. Performing arithmetic operations
  2. Fetching instructions from memory and generating control signals
  3. Storing program data
  4. Handling input/output transfers
সঠিক উত্তর:
Fetching instructions from memory and generating control signals
উত্তর
সঠিক উত্তর:
Fetching instructions from memory and generating control signals
ব্যাখ্যা

Answer: B
Explanation:
  → The control unit directs the operation of the processor.
   → t fetches instructions from memory, decodes them, and issues control signals to ALU, memory, and I/O units.
  → Arithmetic is done by ALU, and storage is handled by memory.

.
A hardwired control unit uses:
  1. ROM-based microinstructions
  2. Decoders and fixed combinational logic
  3. Software-level control
  4.  Cache memory
সঠিক উত্তর:
Decoders and fixed combinational logic
উত্তর
সঠিক উত্তর:
Decoders and fixed combinational logic
ব্যাখ্যা

Answer: B
Explanation:
    Hardwired control is built from combinational logic circuits.
    It is very fast but difficult to modify.
    Microprogrammed control (option A) uses ROM to store control sequences

১০.
Which type of control unit is most suitable for RISC processors?
  1. Hardwired
  2. Microprogrammed
  3. Software-based
  4. Hybrid
সঠিক উত্তর:
Hardwired
উত্তর
সঠিক উত্তর:
Hardwired
ব্যাখ্যা

Answer: A
Explanation:

RISC → small, simple instruction set.
Hardwired control is fast and efficient for this.
CISC → complex instruction sets → better with microprogramming.

১১.
The main disadvantage of vertical microprogramming is:
  1. Very wide control word
  2. Difficulty in decoding encoded fields
  3. Inability to support parallelism
  4.  High cost of ROM
সঠিক উত্তর:
Inability to support parallelism
উত্তর
সঠিক উত্তর:
Inability to support parallelism
ব্যাখ্যা

Answer: C
Explanation:
•    Vertical encoding saves memory by grouping control signals into fields.
•    But only one control signal per field can be active at once → limited parallelism.
Horizontal microprogramming avoids this limitation.

১২.
If control memory has 1024 microinstructions, each 48 bits wide, what is its size?
  1. 48 KB
  2. 6 KB
  3. 8 KB
  4. 12 KB
সঠিক উত্তর:
6 KB
উত্তর
সঠিক উত্তর:
6 KB
ব্যাখ্যা

Answer: B
Explanation:
Size = 1024 × 48 bits = 49,152 bits = 6144 bytes = 6 KB.

১৩.
The microinstruction cycle consists of:
  1.  Fetch and Execute phases
  2.  Fetch, Decode, Execute
  3. Fetch microinstruction, Generate control signals, Next address decision
  4.  Instruction fetch and operand fetch
সঠিক উত্তর:
Fetch microinstruction, Generate control signals, Next address decision
উত্তর
সঠিক উত্তর:
Fetch microinstruction, Generate control signals, Next address decision
ব্যাখ্যা

Answer: C
Explanation:
•    In microprogrammed control:
1.    Fetch microinstruction from control memory
2.    Generate control signals to datapath
3.    Next address decision → go to next microinstruction or branch in microcode.

১৪.
Which of the following is a hybrid control approach?
  1.  Combining hardwired logic for simple instructions and microprogramming for complex ones
  2. Using only horizontal microinstructions
  3. Running two microprograms simultaneously
  4. Implementing ALU and control unit together
সঠিক উত্তর:
 Combining hardwired logic for simple instructions and microprogramming for complex ones
উত্তর
সঠিক উত্তর:
 Combining hardwired logic for simple instructions and microprogramming for complex ones
ব্যাখ্যা

Answer: A
Explanation:
   Many modern CPUs (e.g., x86) use hybrid control:
o    Common instructions (ADD, SUB) → hardwired for speed
o    Complex ones (string moves, floating point) → microprogrammed.

১৫.
Which of the following is true for RISC vs CISC control design?
  1. RISC → microprogrammed, CISC → hardwired
  2.  RISC → hardwired, CISC → microprogrammed
  3. Both always microprogrammed
  4.  Both always hardwired
সঠিক উত্তর:
 RISC → hardwired, CISC → microprogrammed
উত্তর
সঠিক উত্তর:
 RISC → hardwired, CISC → microprogrammed
ব্যাখ্যা

Answer: B
Explanation:
•    RISC → simple instruction set → easy to implement in hardwired control.
•    CISC → complex instructions → better suited for microprogramming

১৬.
The main bottleneck of microprogrammed control is:
  1. Instruction set complexity
  2. ALU hardware cost
  3. Microinstruction fetch from control memory
  4. Register file access
সঠিক উত্তর:
Microinstruction fetch from control memory
উত্তর
সঠিক উত্তর:
Microinstruction fetch from control memory
ব্যাখ্যা

Answer: C
Explanation:
Fetching microinstructions from control memory adds delay. That’s why microprogrammed units are slower compared to hardwired units.

১৭.
The primary motivation for using cache memory is:
  1. To increase memory capacity
  2. To reduce average memory access time
  3. To provide permanent storage
  4.  To replace main memory
সঠিক উত্তর:
To reduce average memory access time
উত্তর
সঠিক উত্তর:
To reduce average memory access time
ব্যাখ্যা

Answer: B
Explanation:
Cache is a small, fast memory placed between CPU and main memory. It takes advantage of locality of reference (temporal + spatial) to reduce average access time. It does not increase capacity, nor is it permanent storage

১৮.
In a direct-mapped cache, each memory block:
  1. Can be placed only in one specific cache line
  2. Can be placed in any cache line
  3. Can be placed in multiple cache lines
  4. Cannot be cached
সঠিক উত্তর:
Can be placed only in one specific cache line
উত্তর
সঠিক উত্তর:
Can be placed only in one specific cache line
ব্যাখ্যা

Answer: A
Explanation:
Direct mapped = each block maps to exactly one line using Index = (Block number) mod (Number of lines).
•    Fully associative → any line.
•    Set-associative → small group of possible lines

১৯.
Which memory technology is used for cache memory?
  1. DRAM
  2. SRAM
  3. Flash
  4. EEPROM
সঠিক উত্তর:
SRAM
উত্তর
সঠিক উত্তর:
SRAM
ব্যাখ্যা

Answer: B
Explanation:
•    Cache → built from SRAM (Static RAM) → faster, no refresh required.
•    Main memory → DRAM (slower but denser).
•    Flash/EEPROM → non-volatile, for storage not cache

২০.
Which memory hierarchy level is Non-volatile?
  1. Cache
  2. Main memory (DRAM)
  3. Registers
  4. HDD
সঠিক উত্তর:
HDD
উত্তর
সঠিক উত্তর:
HDD
ব্যাখ্যা

Answer: D
Explanation:
Registers, cache, and main memory → volatile (lost on power-off).
Secondary storage (SSD, HDD, Flash) → non-volatile.

২১.
Virtual memory is:
  1. A technique to provide large storage using secondary memory
  2. A type of physical memory inside CPU
  3. A replacement for RAM
  4.  A cache memory technique
সঠিক উত্তর:
A technique to provide large storage using secondary memory
উত্তর
সঠিক উত্তর:
A technique to provide large storage using secondary memory
ব্যাখ্যা

Answer: a) A technique to provide large storage using secondary memory 

Explanation:

Virtual memory is an OS technique where processes see a very large logical address space, even though physical RAM is smaller. It uses disk (secondary memory) + RAM + MMU (Memory Management Unit).

       (b) Virtual memory is not physical, it is logical.
       (c)  It does not replace RAM; it extends it using disk
       (d) Caching is a different concept (fast small memory between CPU and RAM).

২২.
Which hardware unit helps implement virtual memory?
  1. CPU registers
  2. Cache controller
  3. Memory Management Unit (MMU)
  4. Arithmetic Logic Unit (ALU)
সঠিক উত্তর:
Memory Management Unit (MMU)
উত্তর
সঠিক উত্তর:
Memory Management Unit (MMU)
ব্যাখ্যা

Answer: c) Memory Management Unit (MMU) 
Explanation:
    MMU translates virtual addresses physical addresses using page tables.
    (a)  Registers are small fast memory inside CPU.
    (b)  Cache controller manages cache, not VM.
    (d)  ALU does arithmetic, not memory management

২৩.
What is the main advantage of virtual memory?
  1. Faster memory access
  2. Provides illusion of large memory using secondary storage
  3. Eliminates page faults
  4. Replaces cache
সঠিক উত্তর:
Provides illusion of large memory using secondary storage
উত্তর
সঠিক উত্তর:
Provides illusion of large memory using secondary storage
ব্যাখ্যা

Answer: B
Explanation:
Virtual memory allows programs to use more memory than physically available. It swaps pages between main memory and disk, providing illusion of large contiguous memory space.

২৪.
An Exception in computer architecture is best described as:
  1. An event that disrupts normal program flow, requiring special handling
  2. A hardware signal indicating normal program execution
  3. A form of permanent I/O device error
  4. A cache miss event
সঠিক উত্তর:
An event that disrupts normal program flow, requiring special handling
উত্তর
সঠিক উত্তর:
An event that disrupts normal program flow, requiring special handling
ব্যাখ্যা

Answer: A
Explanation:

Exceptions occur when unusual conditions arise (divide by zero, invalid opcode, page fault).
They interrupt normal instruction flow and transfer control to an exception handler.
Unlike cache misses, exceptions are system-level events.

২৫.
Which of the following is NOT a type of exception?
  1. Interrupt
  2. Trap
  3. Overflow
  4. Memory access alignment
সঠিক উত্তর:
Interrupt
উত্তর
সঠিক উত্তর:
Interrupt
ব্যাখ্যা


Answer: A
Explanation:
•    Interrupts are external events (I/O, timer).
•    Exceptions include traps, faults, aborts (internal to CPU).
•    Overflow, invalid memory alignment are exceptions.

২৬.
Which of the following best describes a trap Exception?
  1. Generated by hardware error
  2. Intentionally invoked by an instruction for debugging or system call
  3. Always fatal to the system
  4. Cannot be handled by OS
সঠিক উত্তর:
Intentionally invoked by an instruction for debugging or system call
উত্তর
সঠিক উত্তর:
Intentionally invoked by an instruction for debugging or system call
ব্যাখ্যা

Answer: B
Explanation:
•    Trap = synchronous, intentional exception (e.g., system call, breakpoints).
•    Faults = recoverable (e.g., page fault).
•    Aborts = unrecoverable (e.g., hardware failure).

২৭.
The table that stores exception handler addresses is called:
  1.  Cache directory
  2. Page table
  3. TLB
  4. Interrupt vector table
সঠিক উত্তর:
Interrupt vector table
উত্তর
সঠিক উত্তর:
Interrupt vector table
ব্যাখ্যা

Answer: B
Explanation:

Interrupt/exception vector table maps exception numbers to handler addresses.
Page table maps virtual to physical memory.
TLB caches page table entries.

২৮.
Which of the following exceptions is synchronous?
  1. Keyboard interrupt
  2.  Disk I/O completion
  3.  Divide-by-zero
  4. Timer interrupt
সঠিক উত্তর:
 Divide-by-zero
উত্তর
সঠিক উত্তর:
 Divide-by-zero
ব্যাখ্যা

Answer: C
Explanation:
•    Synchronous: triggered by instruction execution (divide-by-zero, invalid opcode).
•    Asynchronous: triggered by external devices (I/O, timers).

২৯.
The term precise exception means:
  1. Exception always occurs at predictable cycles
  2. All previous instructions complete, and no later instructions are executed
  3. Exceptions can be reordered for performance
  4.  Exception handling is only synchronous
সঠিক উত্তর:
All previous instructions complete, and no later instructions are executed
উত্তর
সঠিক উত্তর:
All previous instructions complete, and no later instructions are executed
ব্যাখ্যা

Answer: B
Explanation:
•    Precise exception → clear boundary: all earlier instructions finished, later instructions not executed.
•    Easier for OS to handle.
•    Out-of-order CPUs require mechanisms (like reorder buffers) to maintain precise exceptions.

৩০.
Which system component is mainly responsible for exception handling?
  1. ALU
  2. Cache
  3.  Operating System
  4. DMA Controller
সঠিক উত্তর:
 Operating System
উত্তর
সঠিক উত্তর:
 Operating System
ব্যাখ্যা

Answer: C
Explanation:
•    OS handles exceptions by executing the appropriate handler routine.
•    Hardware only signals exception and passes control.

৩১.
If an exception occurs during another exception’s handling, this is called:
  1. Nested exception
  2.  Masked exception
  3. Precise exception
  4.  Non-recoverable exception
সঠিক উত্তর:
Nested exception
উত্তর
সঠিক উত্তর:
Nested exception
ব্যাখ্যা

Answer: A
Explanation:
•    Nested exception = exception while handler itself is running.
•    Some architectures support nesting, others only allow one at a time.

৩২.
A bus in computer organization is:
  1. A physical pathway for carrying only instructions
  2. A dedicated register for I/O devices
  3. A component that stores program counters
  4. A communication system that transfers data, addresses, and control signals
সঠিক উত্তর:
A communication system that transfers data, addresses, and control signals
উত্তর
সঠিক উত্তর:
A communication system that transfers data, addresses, and control signals
ব্যাখ্যা

Answer: D
Explanation:

A bus is a shared communication pathway.
It carries data lines (actual values), address lines (where to read/write), and control lines (read/write signals, clock, interrupts).
Unlike registers, buses are interconnection systems.

৩৩.
Which of the following is NOT a type of bus?
  1. Data bus
  2. Address bus
  3. Control bus
  4. Arithmetic bus
সঠিক উত্তর:
Arithmetic bus
উত্তর
সঠিক উত্তর:
Arithmetic bus
ব্যাখ্যা

Answer: D
Explanation:
•    Standard buses: data, address, control.
•    No “arithmetic bus” exists; arithmetic is done in the ALU.

৩৪.
In a synchronous bus, timing is coordinated by:
  1. Handshaking signals
  2. Clock signal
  3. Independent device timers
  4. Interrupt service routines
সঠিক উত্তর:
Clock signal
উত্তর
সঠিক উত্তর:
Clock signal
ব্যাখ্যা

Answer: B
Explanation:
•    Synchronous bus: all devices use a common clock to coordinate.
•    Asynchronous bus: uses handshaking signals (REQ/ACK)

৩৫.
Which of the following is a structural hazard?
  1.  Two instructions needing the same functional unit simultaneously
  2. Branch instruction before the outcome is known
  3. Load followed immediately by dependent instruction
  4. Page fault
সঠিক উত্তর:
 Two instructions needing the same functional unit simultaneously
উত্তর
সঠিক উত্তর:
 Two instructions needing the same functional unit simultaneously
ব্যাখ্যা

Answer: A
Explanation:
•    Structural hazard: hardware resource conflict (e.g., single memory for instruction & data).
•    Control hazard: branches.
•    Data hazard: dependence between instructions.

৩৬.
Which technique is most effective for reducing data hazards?
  1.  Prefetching
  2. Branch prediction
  3.  Operand forwarding (bypassing)
  4. Cache coherence
সঠিক উত্তর:
 Operand forwarding (bypassing)
উত্তর
সঠিক উত্তর:
 Operand forwarding (bypassing)
ব্যাখ্যা

Answer: C
Explanation:
   Operand forwarding:  allows result of an instruction to be used immediately without waiting for it to be written back to register file.
   Prefetching helps with memory stalls, not data hazards

৩৭.
The main role of an I/O subsystem is:
  1. Execute arithmetic operations
  2. Connect and manage communication between CPU, memory, and peripherals
  3.  Store programs permanently
  4. Speed up cache access
সঠিক উত্তর:
Connect and manage communication between CPU, memory, and peripherals
উত্তর
সঠিক উত্তর:
Connect and manage communication between CPU, memory, and peripherals
ব্যাখ্যা

Answer: B
Explanation:
The I/O subsystem acts as a bridge between CPU/memory and I/O devices (disk, keyboard, network). It manages data transfers, synchronization, buffering, and device control.

৩৮.
Which of the following is not an I/O technique?
  1. Programmed I/O
  2. Interrupt-driven I/O
  3.  DMA (Direct Memory Access)
  4. Virtual memory paging
সঠিক উত্তর:
Virtual memory paging
উত্তর
সঠিক উত্তর:
Virtual memory paging
ব্যাখ্যা

Answer: D
Explanation:
•    Programmed I/O: CPU polls device until ready.
•    Interrupt-driven I/O: Device interrupts CPU when ready.
•    DMA: Transfers data directly between memory & device.
•    Virtual memory is memory management, not I/O.

৩৯.
The main disadvantage of programmed I/O is:
  1. Complex hardware
  2. High CPU involvement, leading to inefficiency
  3. Unreliable data transfer
  4.  It cannot work with slow devices
সঠিক উত্তর:
High CPU involvement, leading to inefficiency
উত্তর
সঠিক উত্তর:
High CPU involvement, leading to inefficiency
ব্যাখ্যা

Answer: B
Explanation:
•    In programmed I/O, CPU continuously polls device → wastes cycles.
•    Not scalable for slow devices.
Interrupts and DMA reduce CPU burden

৪০.
Which of the following is TRUE about DMA (Direct Memory Access)?
  1. CPU handles every byte transferred
  2. DMA increases CPU execution time
  3. DMA is slower than programmed I/O
  4. DMA controller transfers data directly between memory and device
সঠিক উত্তর:
DMA controller transfers data directly between memory and device
উত্তর
সঠিক উত্তর:
DMA controller transfers data directly between memory and device
ব্যাখ্যা

Answer: D
Explanation:
•    DMA controller manages bulk transfers directly.
•    CPU only initializes DMA → no per-byte intervention.
•    This reduces CPU overhead and increases throughput.

৪১.
Which bus is typically used for connecting I/O devices in a computer system?
  1. Data bus only
  2.  Instruction bus
  3. Arithmetic bus
  4. System bus / I/O bus
সঠিক উত্তর:
System bus / I/O bus
উত্তর
সঠিক উত্তর:
System bus / I/O bus
ব্যাখ্যা

Answer: D
Explanation:
I/O devices communicate via I/O bus (like PCIe, USB).
System bus is often split into data, address, and control buses

৪২.
In memory-mapped I/O, I/O devices:
  1. Have separate I/O instructions
  2. Share the same address space as memory
  3. Require no CPU intervention
  4.  Cannot use DMA
সঠিক উত্তর:
Share the same address space as memory
উত্তর
সঠিক উত্তর:
Share the same address space as memory
ব্যাখ্যা

Answer: B
Explanation:

In memory-mapped I/O, part of the CPU’s address space is assigned to I/O devices.

That means the same read/write instructions used for RAM can also access device registers.

Example: If RAM occupies addresses 0x0000 – 0x7FFF, and device registers are mapped at 0x8000 – 0x8FFF, the CPU just loads/stores to those addresses.

Advantage: No need for special I/O instructions; programming is easier.

Disadvantage: Reduces available memory address space (some addresses are reserved for I/O).

৪৩.
Which device would most likely use interrupt-driven I/O instead of programmed I/O?
  1. Keyboard
  2.  CPU registers
  3. Cache
  4. ALU
সঠিক উত্তর:
Keyboard
উত্তর
সঠিক উত্তর:
Keyboard
ব্যাখ্যা

Answer: A
Explanation:
•    Keyboard generates infrequent events.
•    Interrupt-driven I/O is ideal for low-bandwidth, asynchronous devices.

৪৪.
Which of the following is not a type of parallelism?
  1. Instruction-level parallelism
  2. Task-level parallelism
  3. Pipeline parallelism
  4. Cache coherence parallelism
সঠিক উত্তর:
Cache coherence parallelism
উত্তর
সঠিক উত্তর:
Cache coherence parallelism
ব্যাখ্যা

Answer: D
Explanation:
Types of parallelism:
1. Instruction-level, 
2. Data-level,
3. Task-level, pipeline.

Cache coherence is a consistency problem in multiprocessors, not a type of parallelism.

৪৫.
An interrupt is:
  1.  A delay in cache access
  2.  A signal to the CPU indicating an event that needs immediate attention
  3. A special instruction for pipelining
  4. A branch misprediction
সঠিক উত্তর:
 A signal to the CPU indicating an event that needs immediate attention
উত্তর
সঠিক উত্তর:
 A signal to the CPU indicating an event that needs immediate attention
ব্যাখ্যা

Answer: B
Explanation:
•    Interrupts allow CPU to temporarily halt current execution and service an event (I/O completion, timer, error).
•    After servicing, CPU resumes program.

৪৬.
A fault-tolerant computer primarily uses:
  1. Faster pipelines
  2.  Redundancy to detect and correct errors
  3.  Larger caches
  4. Parallel ALUs only
সঠিক উত্তর:
 Redundancy to detect and correct errors
উত্তর
সঠিক উত্তর:
 Redundancy to detect and correct errors
ব্যাখ্যা

Answer: B
Explanation:
•    Fault tolerance = system continues to operate despite hardware/software failures.
•    Techniques:
o    Triple Modular Redundancy (TMR)
o    ECC memory
o    Checkpoint & rollback
•    Essential in aerospace, banking, and safety-critical systems.