Subject library

Computer MCQs

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

100 MCQs 10 per page 1 of 10
MCQ 1 Computer Hardware & Architecture

What is the primary purpose of 'processor SMT' (Simultaneous Multithreading), as implemented in technologies like Intel's Hyper-Threading?

  1. To allow a single physical core to concurrently execute instructions from multiple threads by sharing certain internal execution resources, improving overall resource utilization
  2. To physically add more CPU cores to a chip
  3. A synonym for multi-core processing with identical resource duplication
  4. A feature used only for GPU rendering
MCQ 2 Computer Hardware & Architecture

Which of the following best describes the purpose of 'processor microarchitecture' as distinct from 'instruction set architecture' (ISA)?

  1. They are identical concepts with no distinction
  2. Microarchitecture defines the software compiled for a processor
  3. ISA refers only to memory addressing, never instructions
  4. The ISA defines the abstract programming interface (instructions) a processor supports, while microarchitecture describes the specific internal hardware implementation used to execute that ISA
MCQ 3 Computer Fundamentals

What is the primary difference between 'IaaS', 'PaaS', and 'SaaS' cloud service models?

  1. They are all identical, just different marketing terms
  2. IaaS provides raw infrastructure (like virtual servers); PaaS provides a platform for building applications without managing underlying infrastructure; SaaS provides fully ready-to-use applications
  3. SaaS provides the most control over underlying infrastructure
  4. IaaS is only used for storage, never computing
MCQ 4 Oop & Uml

Which of the following best describes the 'Hexagonal Architecture' (Ports and Adapters) pattern?

  1. A pattern that requires a system to have exactly six modules
  2. A synonym for the Singleton pattern
  3. A pattern used only for game development
  4. An architectural style that isolates a system's core business logic from external concerns (like databases or UIs) through defined ports and adapters, improving testability and flexibility
MCQ 5 Computer Hardware & Architecture

Which of the following best describes the purpose of 'processor register windows', as used in some architectures like SPARC?

  1. A technique for physically resizing registers
  2. A synonym for register renaming with no distinction
  3. A feature used only for floating-point operations
  4. A technique where a processor provides overlapping sets of registers for different function call levels, reducing the overhead of saving and restoring registers during function calls
MCQ 6 Database Pl/sql

What is the purpose of 'idempotent database operations' in the context of message-driven or event-driven architectures?

  1. To permanently prevent any database write
  2. A synonym for a database transaction
  3. To design database operations so that processing the same event or message multiple times (such as due to a retry) produces the same final result as processing it once
  4. A technique used only for read-only queries
MCQ 7 Oop & Uml

What is the purpose of the 'Publish-Subscribe' pattern as a looser-coupled evolution of the classic Observer pattern?

  1. To restrict a class to a single instance
  2. To define a family of interchangeable algorithms
  3. A pattern used only for database access
  4. To decouple publishers and subscribers further by routing messages through an intermediary (like a message broker), so publishers and subscribers don't need direct references to each other at all
MCQ 8 C C++ Programming

Which of the following best describes the purpose of 'property-based testing' as a software testing technique?

  1. Testing only the specific example inputs a developer manually thinks of
  2. Automatically generating a wide range of varied test inputs to verify that certain general properties or invariants hold true across all of them, rather than checking only specific hand-picked examples
  3. A synonym for manual exploratory testing
  4. A technique used only for testing user interfaces
MCQ 9 Windows Linux File Systems

What is the purpose of the Windows 'Windows Defender Application Guard' feature?

  1. To manage disk partitions
  2. To isolate untrusted websites or Office documents within a lightweight, hardware-isolated container, preventing potential threats from affecting the main operating system
  3. A synonym for standard Windows Defender antivirus scanning
  4. A feature used only for network firewall rules
MCQ 10 Oop & Uml

Which of the following best describes the purpose of the 'Saga' pattern in distributed, microservices-based transaction management?

  1. A pattern that manages a sequence of local transactions across multiple services, using compensating actions to undo prior steps if a later step fails, since a single distributed ACID transaction isn't practical
  2. A pattern that requires a single, traditional ACID transaction spanning all microservices
  3. A synonym for the Repository pattern
  4. A pattern used only for single-service applications
Continue studying

Other subjects

All categories →