Advanced Computers and Microprocessors Quiz

Computers and Microprocessors Quiz – Set 10

Attempt each question, then click “Show answer” to reveal the correct option and a brief explanation.

1. Which of the following is a primary benefit of using cache memory in a computer system?

  • A. Increases secondary storage capacity
  • B. Reduces average memory access time by keeping frequently used data close to the CPU
  • C. Eliminates the need for RAM
  • D. Allows CPU to run without a clock
Correct answer: B. Reduces access time — Cache exploits temporal and spatial locality in memory references.

2. Which of these best defines “bus arbitration” in a computer system?

  • A. Negotiation between users for CPU time
  • B. Process of deciding which device gets control of the shared bus at a given time
  • C. Procedure for resolving software licensing conflicts
  • D. Algorithm for disk scheduling
Correct answer: B. Deciding bus master — Arbiter ensures only one device drives the bus at once.

3. In a typical microprocessor, which register is used to hold the result of arithmetic and logic operations?

  • A. Program Counter
  • B. Instruction Register
  • C. Accumulator
  • D. Stack Pointer
Correct answer: C. Accumulator — Many architectures use an accumulator as the primary result register.

4. Which of the following is an example of an input/output port on a typical PC?

  • A. PCIe slot
  • B. USB port
  • C. CPU socket
  • D. DIMM slot for RAM
Correct answer: B. USB port — It is a standard interface for connecting external devices.

5. Which of the following is TRUE about “micro-operations” in a CPU?

  • A. They are user-level commands in high-level languages.
  • B. They are low-level operations on data stored in registers during instruction execution.
  • C. They are only used in networking hardware.
  • D. They refer exclusively to arithmetic multiplication operations.
Correct answer: B. Low-level register operations — Instructions are broken into a sequence of micro-operations.

6. Which of the following is a characteristic feature of “Harvard architecture” typically used in microcontrollers?

  • A. No separate I/O instructions
  • B. Separate memory and buses for program instructions and data
  • C. Only one general purpose register
  • D. No support for interrupts
Correct answer: B. Separate instruction and data memories — Allows simultaneous access and can improve performance.

7. Which of the following statements about virtual memory is correct?

  • A. It makes RAM non-volatile.
  • B. It allows programs to use more memory than is physically available by using disk space as an extension of RAM.
  • C. It is implemented only in hardware, never in software.
  • D. It is used only in microcontrollers, not in general computers.
Correct answer: B. Extends apparent memory — Paging and swapping support larger address spaces.

8. In a memory hierarchy, which level typically has the highest capacity but lowest speed?

  • A. CPU registers
  • B. Cache memory
  • C. Main memory (RAM)
  • D. Secondary storage (HDD/SSD)
Correct answer: D. Secondary storage — It offers large capacity but slower access compared to RAM and cache.

9. Which of the following is an example of “static” scheduling in operating systems?

  • A. Scheduling decisions made at runtime based on current load only
  • B. Scheduling decisions pre-computed at compile time or configuration time
  • C. Random selection of processes for CPU
  • D. Always giving the CPU to the longest job first
Correct answer: B. Pre-computed decisions — Common in some real-time systems where schedule is known in advance.

10. In digital logic, what is the output of an XOR gate when both inputs are the same?

  • A. Always 1
  • B. Always 0
  • C. Same as the inputs
  • D. It oscillates between 0 and 1
Correct answer: B. Always 0 — XOR outputs 1 only when inputs are different.

11. In microprocessors, which address calculation uses a base register and an index register plus a constant displacement?

  • A. Immediate addressing
  • B. Direct addressing
  • C. Register indirect addressing
  • D. Base-index addressing with displacement
Correct answer: D. Base-index with displacement — Effective address = base + index + displacement.

12. Which of the following is a main advantage of using “set-associative” cache mapping over direct mapping?

  • A. Simpler hardware implementation
  • B. Reduced conflict misses because a block can be placed in any line of a set
  • C. Infinite cache size
  • D. No need for replacement policies
Correct answer: B. Fewer conflict misses — It balances flexibility and complexity between direct and fully associative caches.

13. Which of the following is commonly used as a hardware performance counter in modern CPUs?

  • A. Number of installed applications
  • B. Number of retired instructions, cache misses, or branch mispredictions
  • C. Size of the power supply
  • D. Amount of free disk space
Correct answer: B. Hardware event counts — Performance counters help profile and optimize software.

14. In networking, which device typically works at multiple layers and can translate between different network protocols?

  • A. Hub
  • B. Switch
  • C. Router
  • D. Gateway
Correct answer: D. Gateway — It can operate at higher layers and perform protocol conversion.

15. Which of these is a characteristic of “peer-to-peer” (P2P) networks compared to client–server networks?

  • A. Only one central server holds all resources
  • B. Each node can act as both client and server, sharing resources directly
  • C. No security is possible
  • D. They can only be used within a single building
Correct answer: B. Nodes both client and server — P2P decentralizes resource sharing.

16. In computer security, a “firewall” is primarily used to:

  • A. Detect and remove viruses from files
  • B. Control and filter network traffic based on security rules
  • C. Encrypt all hard disk data automatically
  • D. Repair bad sectors on hard drives
Correct answer: B. Filter network traffic — Firewalls enforce access control policies between networks.

17. Which of the following is most closely associated with “symmetric multiprocessing” (SMP)?

  • A. One master CPU and multiple slave I/O processors only
  • B. Multiple identical processors sharing a single memory and OS instance
  • C. CPUs that can only run in lockstep (same instruction on all cores)
  • D. Systems in which each CPU has its own private OS and memory, with no sharing
Correct answer: B. Multiple identical processors sharing memory — SMP is common in modern multicore systems.

18. Which of the following best describes a “boot loader” (e.g., GRUB)?

  • A. Application used to edit documents
  • B. Program that loads the operating system kernel into memory after firmware initialization
  • C. Utility for formatting hard disks only
  • D. Hardware device for increasing boot speed
Correct answer: B. Loads OS kernel — It is invoked by BIOS/UEFI during the boot process.

19. Which one of the following is the correct 2’s complement 8-bit representation of –1?

  • A. 0000 0001₂
  • B. 1111 1111₂
  • C. 1000 0001₂
  • D. 0111 1111₂
Correct answer: B. 1111 1111₂ — In two’s complement, all 1s represent –1 for any bit width.

20. In the context of microprocessors, “branch prediction accuracy” is important because:

  • A. It determines the size of main memory
  • B. Incorrect predictions cause pipeline flushes and performance penalties
  • C. It has no effect on performance
  • D. It only affects keyboard input latency
Correct answer: B. Mispredictions flush pipelines — Good prediction keeps the pipeline full and improves performance.

Leave a Reply

Latest News

Post Offices Under PIN Code 500008 in Rangareddy District

PIN code 500008 covers several localities around Toli Chowki and nearby areas in Telangana. The listed locations are associated...

More Articles Like This

spot_img