Subject library

Computer MCQs

Read each question, consider the options, then reveal the correct answer and explanation.

100 MCQs 10 per page 4 of 10
MCQ 31 Computer Hardware & Architecture

Which of the following best describes the purpose of a 'translation lookaside buffer' (TLB) 'miss' and its typical performance impact?

  1. A TLB miss has no performance impact whatsoever
  2. A synonym for a cache write-back operation
  3. A miss that occurs only in single-core systems
  4. A TLB miss occurs when a requested virtual-to-physical address translation isn't cached in the TLB, requiring a slower page table walk, which adds latency compared to a cached TLB hit
MCQ 32 Oop & Uml

What is the primary purpose of the 'Object Pool' design pattern?

  1. To restrict a class to exactly one instance ever created
  2. To define a family of interchangeable algorithms
  3. A pattern used only for logging
  4. To reuse a pool of pre-initialized, expensive-to-create objects rather than creating and destroying new instances repeatedly, improving performance for frequently used, costly-to-construct objects
MCQ 33 Computer Hardware & Architecture

Which of the following best describes the purpose of 'processor cache way prediction' techniques?

  1. To permanently disable set-associative caching
  2. To speculatively predict which specific 'way' within a set-associative cache set contains the requested data, reducing lookup latency and power consumption compared to checking all ways simultaneously
  3. A synonym for branch prediction with no distinction
  4. A technique used only for direct-mapped caches
MCQ 34 System Analysis And Design

Which of the following best describes the purpose of 'observability' in modern software systems, as distinct from simple monitoring?

  1. The ability to understand a system's internal state and diagnose novel, unanticipated problems by examining its external outputs, such as logs, metrics, and traces
  2. A synonym for basic uptime monitoring with no distinction
  3. A technique used only for visual design review
  4. A method for tracking employee work hours
MCQ 35 Database Pl/sql

What is the purpose of 'database connection affinity' in load-balanced, multi-server database read replica setups?

  1. To route a specific client's subsequent requests consistently back to the same database server (such as one it recently wrote to), helping avoid read-after-write consistency issues with replication lag
  2. To permanently disconnect a client from the database
  3. A synonym for connection pooling
  4. A technique used only for encrypting data
MCQ 36 C C++ Programming

Which of the following best describes 'short-circuit evaluation' in logical expressions?

  1. Evaluating all operands of a logical expression regardless of the outcome of earlier ones
  2. Stopping evaluation of a logical expression as soon as the overall result is already determined, skipping evaluation of remaining operands
  3. A synonym for a syntax error
  4. A technique used only for arithmetic operators
MCQ 37 Operating Systems

Which of the following best describes the purpose of an operating system's 'page cache' write-back policy for file-backed memory mappings?

  1. To determine when modified pages held in memory (from a memory-mapped file) are actually written back to the underlying storage device
  2. To permanently prevent any file modification
  3. A synonym for swap space allocation
  4. A policy used only for network file systems
MCQ 38 Computer Hardware & Architecture

What is the primary purpose of 'processor SIMD' (Single Instruction, Multiple Data) extensions, such as SSE or AVX on x86 processors?

  1. To execute completely different instructions on multiple independent data streams
  2. A synonym for multi-core processing
  3. To perform the same operation simultaneously across multiple data elements packed into a wide register, improving throughput for data-parallel workloads like multimedia processing
  4. A feature used only for network packet processing
MCQ 39 Computer Fundamentals

Which of the following best describes the purpose of 'device synchronization conflicts' and their resolution in cloud-synced applications?

  1. A situation that never occurs in practice
  2. A synonym for a factory reset
  3. A situation where the same data is modified differently on two devices before syncing, requiring the application to determine how to reconcile the differing versions, such as by timestamp or manual user choice
  4. A technique used only for photo storage
MCQ 40 Computer Networks

What is the primary purpose of 'network function chaining' (service function chaining) in modern network architectures?

  1. To physically link multiple network cables together
  2. To encrypt traffic at every hop
  3. To define an ordered sequence of network services (like firewall, load balancer, then IDS) that traffic must pass through, often implemented via NFV and SDN
  4. To assign IP addresses sequentially
Continue studying

Other subjects

All categories →