Subject library

Computer MCQs

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

100 MCQs 10 per page 8 of 10
MCQ 71 Oop & Uml

What is the primary difference between 'static polymorphism' and 'dynamic polymorphism' in object-oriented languages like C++?

  1. Static polymorphism is resolved at compile time (e.g., function overloading); dynamic polymorphism is resolved at runtime (e.g., virtual functions)
  2. They are identical concepts
  3. Dynamic polymorphism is always resolved at compile time
  4. Static polymorphism requires virtual functions
MCQ 72 Computer Hardware & Architecture

What is the primary advantage of an ASIC over an FPGA for a fixed, high-volume application?

  1. ASICs can be reprogrammed after deployment, unlike FPGAs
  2. ASICs are always cheaper to design initially
  3. There is no meaningful performance difference
  4. ASICs typically offer better performance and lower per-unit cost at high volumes, since they are custom-designed for one specific task
MCQ 73 C C++ Programming

Which of the following best describes the purpose of 'immutable infrastructure' as a deployment philosophy?

  1. Manually patching servers in place whenever a change is needed
  2. Treating deployed servers or containers as unchangeable once created; any update is done by deploying entirely new instances rather than modifying existing ones
  3. A synonym for a monolithic architecture
  4. A technique used only for database schema changes
MCQ 74 Web Technologies

What is the purpose of 'CSS containment' (the 'contain' property) in modern web performance optimization?

  1. To permanently hide an element
  2. To tell the browser that an element's subtree is independent of the rest of the page, allowing the browser to optimize rendering and layout calculations
  3. A synonym for CSS Grid
  4. A technique used only for print stylesheets
MCQ 75 Database Pl/sql

Which of the following best describes the purpose of PL/SQL 'autonomous transactions'?

  1. A transaction that can be committed or rolled back independently of the main, calling transaction, useful for logging actions that should persist even if the main transaction fails
  2. Transactions that automatically roll back after every statement
  3. A synonym for a distributed transaction
  4. A feature used only for read-only queries
MCQ 76 Computer Hardware & Architecture

What is the purpose of 'processor instruction fusion' (macro-op fusion) in modern CPU pipeline design?

  1. To physically merge two separate CPU cores into one
  2. To combine certain common pairs of adjacent instructions into a single internal micro-operation during decode, improving pipeline throughput and reducing the number of operations that need to be tracked
  3. A synonym for SIMD vectorization
  4. A technique used only for memory allocation
MCQ 77 Computer Networks

Which of the following best describes the purpose of 'network packet fragmentation'?

  1. To permanently corrupt packets during transmission
  2. A synonym for packet encryption
  3. A technique used only for wireless networks
  4. To break a packet larger than the outgoing link's MTU into smaller pieces that can be transmitted and later reassembled at the destination
MCQ 78 Computer Networks

Which of the following best describes 'network address translation traversal' (NAT traversal) techniques, such as STUN?

  1. A method for permanently disabling NAT
  2. A synonym for VPN tunneling
  3. Techniques that allow devices behind a NAT to establish direct peer-to-peer connections, despite the address translation obscuring their real internal addresses
  4. A method for compressing NAT tables
MCQ 79 C C++ Programming

Which of the following best describes the purpose of 'design by contract' as a software correctness methodology?

  1. A legal agreement signed by developers
  2. Formally specifying preconditions, postconditions, and invariants that a piece of code must satisfy, treating the interaction between components as a contractual obligation
  3. A synonym for unit testing
  4. A technique used only for database design
MCQ 80 Computer Networks

Which of the following best describes the purpose of 'network address translation hairpinning' (NAT loopback)?

  1. To permanently block internal-to-internal traffic
  2. A synonym for port forwarding with no distinction
  3. To allow a device on a local network to access another local device using the external, public-facing IP address and port mapping, correctly routing the traffic back through the NAT device rather than out to the internet and back
  4. A technique used only for IPv6 networks
Continue studying

Other subjects

All categories →