Subject library

Computer MCQs

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

100 MCQs 10 per page 2 of 10
MCQ 11 Web Technologies

Which of the following best describes the purpose of the 'Intersection Observer API' in JavaScript?

  1. To permanently disable scrolling
  2. To efficiently detect when a target element enters or exits the visible viewport (or another specified container), without expensive manual scroll-event listening and calculations
  3. A synonym for CSS media queries
  4. A technique used only for form validation
MCQ 12 Operating Systems

What is the purpose of an operating system's 'capabilities' model (such as Linux capabilities), as a finer-grained alternative to traditional root/non-root privilege?

  1. To grant a process either full root privileges or none at all, with no middle ground
  2. A synonym for a firewall rule
  3. A feature used only for network sockets
  4. To break down the broad privileges traditionally associated with the root user into smaller, individually grantable units, allowing a process to be given only the specific privileged operations it actually needs
MCQ 13 Oop & Uml

What is the purpose of 'protocol-oriented programming', a style emphasized in languages like Swift, compared to traditional class-based inheritance?

  1. A style that eliminates the use of any interfaces or protocols entirely
  2. A style that favors composing behavior through multiple lightweight protocols (similar to interfaces) that types can conform to, rather than relying primarily on deep class inheritance hierarchies
  3. A synonym for the Singleton pattern
  4. A style used only for network protocol implementation
MCQ 14 Computer Networks

What is the purpose of 'Anycast' routing combined with 'Unicast' failover in resilient DNS root server deployment?

  1. To rely on a single physical server worldwide for all queries
  2. A synonym for round-robin DNS with no distinction
  3. A technique used only for private internal networks
  4. To distribute many physical server instances sharing the same anycast IP address globally, with routing automatically directing clients to the nearest healthy instance, providing both performance and resilience
MCQ 15 Oop & Uml

Which of the following best describes the purpose of a 'value object' in domain-driven design, as opposed to an 'entity'?

  1. A value object is defined by a persistent unique identity that must be tracked over time
  2. A value object is defined solely by its attribute values (not a unique identity), is typically immutable, and two value objects with the same attributes are considered equal
  3. A synonym for a database table
  4. A concept applicable only to primitive data types
MCQ 16 Computer Fundamentals

Which of the following best describes the purpose of 'accessibility overlay' widgets sometimes added to websites?

  1. A guaranteed, complete solution for full website accessibility compliance
  2. A synonym for a website's sitemap
  3. A third-party script layer that attempts to adjust a website's presentation for accessibility, though it is often criticized as an incomplete substitute for genuinely accessible underlying code
  4. A tool used only for SEO optimization
MCQ 17 Oop & Uml

What is the purpose of the 'Circuit Breaker' pattern when combined with object-oriented service client design?

  1. To restrict a class to a single instance
  2. To wrap calls to a potentially failing remote service within an object that monitors failure rates and temporarily short-circuits further calls once a failure threshold is exceeded, preventing cascading failures
  3. To define a family of interchangeable algorithms
  4. A pattern used only for database queries
MCQ 18 Database Pl/sql

Which of the following best describes the purpose of 'database connection multiplexing' at the application driver level, as opposed to a separate proxy layer?

  1. To permanently prevent any connection reuse
  2. A synonym for database replication
  3. A technique used only for encrypting connections
  4. To have the application's own database driver manage a pool of physical connections internally, transparently sharing them among concurrent logical requests within the same process
MCQ 19 Computer Hardware & Architecture

Which of the following best describes the purpose of a 'scratchpad memory' as used in some specialized and embedded processor designs?

  1. A software-managed, fast on-chip memory region explicitly controlled by the programmer or compiler, rather than automatically managed like a traditional hardware cache
  2. A synonym for virtual memory swap space
  3. A type of removable external storage
  4. A memory region used only for storing the operating system kernel
MCQ 20 Operating Systems

What is the purpose of a 'kernel taint' flag in Linux, set when certain conditions occur (like loading a proprietary or out-of-tree module)?

  1. To permanently corrupt kernel memory
  2. A synonym for a kernel panic
  3. A feature used only for network drivers
  4. To mark that the kernel has entered a state that developers may consider outside full official support, useful context when diagnosing bug reports or crashes
Continue studying

Other subjects

All categories →