50 multiple-choice questions with answers and detailed explanations. Untimed — choose an answer to check it instantly.
0/50 answered0 correct
Question 1 of 50
Which cache replacement policy selects the cache block that has been unused for the longest time?
Correct answer: B) Least Recently Used (LRU)
Explanation: LRU replacement policy removes the block that has not been accessed for the longest time, assuming it is least likely to be used soon.
Question 2 of 50
What is the purpose of a "frame pointer" in assembly language?
Correct answer: B) Points to the beginning of the current function’s stack frame
Explanation: The frame pointer holds the base of the stack frame for the current function, aiding in the organization of function calls and local variables.
Question 3 of 50
In a RAID array, which level combines both parity and striping to achieve fault tolerance and high performance?
Correct answer: C) RAID 5
Explanation: RAID 5 uses both parity for fault tolerance and striping for performance, balancing redundancy and speed.
Question 4 of 50
What is the term for an on/off switch that is controlled by an electric signal in a computer chip?
Correct answer: B) Transistor
Explanation: A transistor acts as an electronic switch within a computer, controlled by signals to manage data flow in logic circuits.
Question 5 of 50
What does a "miss penalty" refer to in cache memory systems?
Correct answer: A) The time to access main memory after a cache miss
Explanation: Miss penalty is the time needed to fetch data from main memory when it is not found in the cache, impacting performance.
Question 6 of 50
Which type of cache has separate areas for instructions and data, optimizing access speed?
Correct answer: C) Split cache
Explanation: Split caches dedicate separate storage for instructions and data, reducing access conflicts and improving processing efficiency.
Question 7 of 50
What term describes the process of coordinating multiple processors to access shared data safely?
Correct answer: A) Synchronization
Explanation: Synchronization ensures that shared data is accessed in a controlled manner, preventing conflicts in multiprocessor environments.
Question 8 of 50
Which memory type is accessed by the CPU based on physical location rather than content?
Correct answer: B) Random-access memory (RAM)
Explanation: RAM allows data to be accessed at any physical location directly, irrespective of the data’s content.
Question 9 of 50
In which mode does a CPU operate when executing operating system processes?
Correct answer: B) Supervisor mode
Explanation: In supervisor (or kernel) mode, the CPU has unrestricted access to all system resources, essential for executing OS functions.
Question 10 of 50
What is the purpose of a "reorder buffer" in a dynamically scheduled processor?
Correct answer: B) Stores instructions until they can be safely executed
Explanation: The reorder buffer holds out-of-order instructions until it is safe to commit them, ensuring correct program execution order.
Question 11 of 50
What does "floating-point overflow" refer to?
Correct answer: B) A positive exponent that is too large to represent
Explanation: Overflow in floating-point occurs when an exponent exceeds the representable range, leading to calculation errors.
Question 12 of 50
What is the "stored-program concept" in computer architecture?
Correct answer: B) Storing instructions and data in the same memory
Explanation: The stored-program concept allows both instructions and data to be stored in memory, enabling flexibility in program execution.
Question 13 of 50
What is the function of "virtual memory" in a computer system?
Correct answer: C) Uses disk storage as an extension of RAM
Explanation: Virtual memory extends RAM by using disk space to store data not immediately needed, allowing larger programs to run.
Question 14 of 50
What does the "opcode" in an instruction define?
Correct answer: B) The type of operation to be performed
Explanation: The opcode specifies the operation (like addition or load) that the CPU will execute, crucial for instruction interpretation.
Question 15 of 50
Which Java keyword restricts a method to only be accessible within its own class?
Correct answer: C) Private
Explanation: The private keyword limits method access to within its own class, enhancing data encapsulation and security.
Question 16 of 50
In a multiprocessor, what does the term "data-level parallelism" mean?
Correct answer: C) Performing the same operation on different data sets
Explanation: Data-level parallelism involves applying the same operation to multiple data elements simultaneously, maximizing processing efficiency.
Question 17 of 50
What term is used for software routines that handle specific I/O devices?
Correct answer: B) Device drivers
Explanation: Device drivers are specialized programs that manage the operations of I/O devices, facilitating interaction between hardware and software.
Question 18 of 50
Which concept describes the use of multiple processors to execute a single program simultaneously?
Correct answer: B) Parallel processing program
Explanation: Parallel processing allows a single program to run across multiple processors, enabling faster execution by dividing tasks.
Question 19 of 50
What does "clock period" refer to in a CPU?
Correct answer: B) The time for one complete clock cycle
Explanation: The clock period defines the duration of one clock cycle, regulating the speed of CPU operations.
Question 20 of 50
Which memory hierarchy structure is closest to the CPU and has the fastest access time?
Correct answer: C) L1 cache
Explanation: The L1 cache is directly accessible by the CPU and has the lowest access time, providing the fastest data retrieval in memory hierarchy.
Question 21 of 50
Which network type allows the same instruction to be applied across multiple data streams?
Correct answer: A) SIMD
Explanation: SIMD (Single Instruction, Multiple Data) processes apply the same instruction across different data sets, ideal for parallel processing.
Question 22 of 50
What is the purpose of an Arithmetic Logic Unit (ALU) in a processor?
Correct answer: C) Handles arithmetic and logic operations
Explanation: The ALU performs essential operations like addition, subtraction, and logical comparisons, fundamental to CPU functionality.
Question 23 of 50
What does the term "bisection bandwidth" refer to in multiprocessor networks?
Correct answer: C) Data transfer rate between two halves of the network
Explanation: Bisection bandwidth measures the data transfer capacity between two equal parts of a multiprocessor network, critical for performance.
Question 24 of 50
What does the "write-through" caching policy involve?
Correct answer: B) Updating both cache and main memory immediately
Explanation: Write-through caching updates data in both cache and main memory simultaneously, maintaining consistency.
Question 25 of 50
What structure provides storage for registers and controls instruction flow in a CPU?
Correct answer: D) Register file
Explanation: The register file is a set of registers within the CPU that stores data and instructions for quick access during execution.
Question 26 of 50
Which type of memory error occurs due to a cache miss caused by the first access to a block?
Correct answer: B) Compulsory miss
Explanation: Compulsory misses happen when a block is accessed for the first time and is not yet in the cache.
Question 27 of 50
What type of parallelism is achieved by performing multiple instructions within a single clock cycle?
Correct answer: C) Instruction-level parallelism
Explanation: Instruction-level parallelism involves executing multiple instructions in one cycle, enhancing CPU throughput.
Question 28 of 50
Which Java feature encapsulates a method for access by other classes in the same package?
Correct answer: A) Protected
Explanation: The protected keyword allows method access from other classes within the same package and subclasses.
Question 29 of 50
Which memory technique involves reserving space on disk for storing inactive data pages?
Correct answer: B) Swap space
Explanation: Swap space on disk holds data pages that are not currently active, supporting virtual memory systems.
Question 30 of 50
What is "temporal locality" in the context of memory access?
Correct answer: B) Accessing the same data repeatedly within a short period
Explanation: Temporal locality refers to the tendency of a program to access recently used data, supporting efficient cache utilization.
Question 31 of 50
Which network topology allows every node to communicate with every other node in one hop?
Correct answer: A) Crossbar network
Explanation: A crossbar network allows direct communication between all nodes, providing high-speed, one-hop connectivity.
Question 32 of 50
What type of program typically serves as a benchmark for comparing computer performance?
Correct answer: D) Standardized workload
Explanation: Benchmarks use standardized programs to evaluate and compare computer performance across systems.
Question 33 of 50
In computer architecture, what term describes a measurement of the dynamic frequency of instructions across programs?
Correct answer: B) Instruction mix
Explanation: Instruction mix represents the frequency of different types of instructions within a workload, helping analyze CPU performance.
Question 34 of 50
Which hardware technique reduces data hazards by retrieving data from internal buffers?
Correct answer: A) Forwarding
Explanation: Forwarding, or bypassing, mitigates data hazards by supplying data from internal buffers directly to dependent instructions.
Question 35 of 50
Which system feature controls access to data by only allowing one processor access at a time?
Correct answer: A) Lock
Explanation: A lock prevents simultaneous data access by multiple processors, ensuring safe data handling in parallel processing.
Question 36 of 50
What type of floating-point number uses a 64-bit doubleword representation?
Correct answer: B) Double precision
Explanation: Double precision format utilizes 64 bits, providing a wider range and higher precision for floating-point numbers.
Question 37 of 50
Which Java component compiles code at runtime, allowing for improved execution speed?
Correct answer: C) Just-In-Time (JIT) compiler
Explanation: The JIT compiler translates bytecode to native code during runtime, optimizing performance by reducing interpretation overhead.
Question 38 of 50
In a CPU pipeline, what is the purpose of a "nop" instruction?
Correct answer: C) Does nothing, inserted to resolve pipeline delays
Explanation: NOP, or "no operation," is an instruction that performs no task, often used to manage timing or avoid hazards in pipelines.
Question 39 of 50
What does "pipelined execution" enable in CPU architecture?
Correct answer: C) Overlapping instruction execution stages
Explanation: Pipelining allows different stages of multiple instructions to execute simultaneously, increasing CPU throughput.
Question 40 of 50
What is the purpose of a "guard" bit in floating-point operations?
Correct answer: C) To improve rounding accuracy
Explanation: Guard bits enhance rounding accuracy in floating-point arithmetic by holding intermediate precision during calculations.
Question 41 of 50
Which operation in Boolean algebra produces a true output only if both inputs are true?
Correct answer: B) AND
Explanation: The AND operation yields true if both inputs are true, fundamental in Boolean logic for conditional checks.
Question 42 of 50
In virtual memory, which event occurs when the required page is absent in main memory?
Correct answer: C) Page fault
Explanation: A page fault happens when the requested page is not in main memory, triggering a load from secondary storage.
Question 43 of 50
What is the main advantage of a set-associative cache over a direct-mapped cache?
Correct answer: B) Reduces conflict misses by allowing multiple locations for each block
Explanation: Set-associative caches lower conflict misses by providing more flexibility in block placement, enhancing cache performance.
Question 44 of 50
What term is used for the position within a computer’s memory where data is stored?
Correct answer: C) Address
Explanation: An address specifies the memory location of data, essential for accessing and managing information in computer systems.
Question 45 of 50
What concept involves using a single program across all processors in an MIMD system?
Correct answer: B) SPMD
Explanation: SPMD (Single Program, Multiple Data) runs one program across multiple processors, enhancing parallel processing in MIMD systems.
Question 46 of 50
Which cache replacement policy chooses the first item that was loaded?
Correct answer: C) First-In-First-Out (FIFO)
Explanation: FIFO policy replaces the oldest item in the cache, irrespective of recent usage patterns, simplifying cache management.
Question 47 of 50
What process aligns data in memory on natural boundaries?
Correct answer: C) Data alignment
Explanation: Data alignment places data on memory boundaries that optimize access speed, reducing overhead for some architectures.
Question 48 of 50
In the context of RAID, what does "striping" involve?
Correct answer: B) Dividing data into smaller blocks across disks
Explanation: Striping allocates blocks of data across multiple disks, improving read and write performance by enabling parallel access.
Question 49 of 50
Which interrupt type originates from outside the CPU?
Correct answer: B) External interrupt
Explanation: External interrupts come from outside the processor, often from hardware devices needing attention from the CPU.
Question 50 of 50
What method increases CPU utilization by executing other threads when one is stalled?
Correct answer: A) Multithreading
Explanation: Multithreading improves CPU efficiency by switching to another thread when the current thread encounters delays, maximizing performance.
Set 5 complete
You scored 0%
0 correct out of 0 answered (50 questions in this set).