Subject library

Computer MCQs

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

100 MCQs 10 per page 5 of 10
MCQ 41 C C++ Programming

Which of the following best describes the purpose of 'separation of concerns' as a software design principle?

  1. Combining all application logic into a single, large module for simplicity
  2. A synonym for the Singleton pattern
  3. A principle used only for database design
  4. Dividing a software system into distinct sections, each addressing a separate concern or responsibility, improving modularity and maintainability
MCQ 42 Computer Hardware & Architecture

Which of the following best describes 'processor microcode'?

  1. A separate, standalone operating system
  2. Low-level instructions embedded within the CPU that translate complex machine instructions into simpler internal hardware operations, and can sometimes be updated to fix bugs
  3. A synonym for BIOS/UEFI firmware
  4. A type of RAM module
MCQ 43 Database Pl/sql

What is the purpose of a 'database connection string secrets management' practice, such as using a vault service instead of hardcoded credentials?

  1. To permanently disable database authentication
  2. A synonym for database encryption at rest
  3. To securely store and dynamically retrieve sensitive database credentials at runtime, rather than embedding them directly in application source code or configuration files
  4. A technique used only for read-only connections
MCQ 44 Windows Linux File Systems

What is the purpose of Windows 'Shielded VM Fabric' requirements in a Hyper-V guarded fabric deployment?

  1. To disable virtual machines entirely
  2. To compress virtual hard disk files
  3. To establish a trusted host infrastructure (using components like the Host Guardian Service) that is verified before shielded virtual machines are permitted to run or migrate to it, protecting against compromised or untrusted hosts
  4. A synonym for a standard Hyper-V installation with no additional security
MCQ 45 Operating Systems

Which of the following best describes the purpose of 'memory overcommitment' in virtualized environments?

  1. To allocate more total virtual memory to guest VMs than the physical host actually has, relying on the assumption that not all VMs will use their full allocation simultaneously
  2. To guarantee that no virtual machine can ever use more memory than physically installed
  3. A synonym for memory encryption
  4. A technique used only for disk storage
MCQ 46 Computer Hardware & Architecture

What is the purpose of 'processor cache prefetching' distance and stride optimization?

  1. To tune how far ahead and in what access pattern the prefetcher speculatively loads data into cache, balancing the benefit of reduced latency against the risk of evicting useful data
  2. To permanently disable caching entirely
  3. A synonym for branch prediction
  4. A technique used only for GPU memory
MCQ 47 System Analysis And Design

What is the purpose of 'distributed tracing' in microservices architectures?

  1. To physically trace network cables
  2. To track a single request as it flows through multiple interconnected services, helping diagnose latency and errors across the entire call chain
  3. A synonym for load balancing
  4. A technique used only for database queries
MCQ 48 Oop & Uml

Which of the following best describes the purpose of the 'Null Coalescing' pattern combined with the 'Optional/Maybe' type in modern object-oriented and functional-influenced languages?

  1. To always throw an exception when a value is missing
  2. To provide a type-safe, explicit way to represent and handle the possible absence of a value, avoiding unchecked null reference errors
  3. A synonym for the Singleton pattern
  4. A pattern used only for numeric types
MCQ 49 Computer Hardware & Architecture

What is the primary purpose of a 'memory fence' (or memory barrier) instruction in multi-core processor programming?

  1. To physically separate different memory chips
  2. A synonym for cache flushing only
  3. To enforce ordering constraints on memory operations, preventing certain reads or writes from being reordered across the fence by the CPU or compiler, which is critical for correct multi-threaded synchronization
  4. A technique used only for single-threaded programs
MCQ 50 System Analysis And Design

What is the purpose of 'technical debt tracking' as an ongoing practice within a development team?

  1. To permanently ignore known code quality issues
  2. A synonym for a project's financial budget
  3. A technique used only for hardware maintenance
  4. To systematically document and prioritize known shortcuts, workarounds, or areas of the codebase needing improvement, ensuring they are visible and can be addressed over time rather than forgotten
Continue studying

Other subjects

All categories →