Subject library

Computer MCQs

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

100 MCQs 10 per page 6 of 10
MCQ 51 Web Technologies

What is the purpose of the PHP 'named arguments' feature (introduced in PHP 8.0)?

  1. To permanently disable positional arguments
  2. A synonym for variadic arguments
  3. To allow function or method arguments to be passed by explicitly specifying the parameter name, rather than relying solely on their positional order, improving readability and allowing optional parameters to be skipped
  4. A feature used only for constructors
MCQ 52 Computer Networks

What is the purpose of 'network path MTU black hole' detection?

  1. To permanently block all traffic on a path
  2. A synonym for standard packet loss
  3. A technique used only for wireless networks
  4. To identify situations where oversized packets are silently dropped along a path (because ICMP 'fragmentation needed' messages are blocked), rather than triggering the expected Path MTU Discovery feedback
MCQ 53 Oop & Uml

Which of the following best describes the purpose of the 'Specification Pattern' combined with the 'Repository' pattern for building flexible, reusable database queries?

  1. To restrict a repository to returning only a single hardcoded query
  2. To physically merge the repository and database into one class
  3. To encapsulate query criteria as composable Specification objects that a Repository can accept, allowing complex, reusable query logic to be built and combined without the repository needing a separate method for every possible query variation
  4. A pattern used only for validating user input forms
MCQ 54 System Analysis And Design

Which of the following best describes the purpose of a 'maturity model', such as CMMI, in software process improvement?

  1. To provide a structured framework describing progressively more mature and optimized organizational processes, helping organizations assess and improve their practices
  2. To measure the age of a software product
  3. A synonym for a project charter
  4. A model used only for hardware certification
MCQ 55 Oop & Uml

What is the purpose of 'polymorphic collections' in object-oriented programming, such as a list of a base type holding various subclass instances?

  1. To allow a single collection to store and uniformly process objects of different subclasses that share a common base type or interface
  2. To restrict a collection to holding only one exact type
  3. A synonym for a static array
  4. A concept used only for primitive data types
MCQ 56 Database Pl/sql

What is the purpose of a 'transaction log' (or write-ahead log) backup, as distinct from a full database backup?

  1. To permanently discard all transaction history
  2. A synonym for a full database backup with no distinction
  3. To back up only the record of changes made since the last backup, allowing point-in-time recovery when combined with a full backup, while requiring less storage and time than repeated full backups
  4. A technique used only for read replicas
MCQ 57 Database Pl/sql

What is the purpose of 'database connection pooling' minimum and maximum pool size settings?

  1. To control the range of concurrent database connections maintained by the pool, balancing resource usage against the ability to handle concurrent request load
  2. To permanently fix the number of database tables
  3. A synonym for a query timeout setting
  4. A technique used only for encrypting connections
MCQ 58 Computer Networks

Which of the following best describes the purpose of 'network jitter buffer sizing' trade-offs in real-time communication?

  1. A larger buffer always eliminates all latency
  2. Buffer size has no effect on call quality
  3. A larger jitter buffer better smooths out variable packet arrival delay but adds more overall latency; a smaller buffer reduces latency but risks audio/video glitches from insufficient smoothing
  4. A technique used only for file transfer protocols
MCQ 59 Oop & Uml

Which of the following best describes an 'inversion of control' (IoC) container?

  1. A physical hardware device
  2. A synonym for a database connection pool
  3. A framework or library that manages the creation and lifecycle of objects and their dependencies, automatically wiring them together based on configuration
  4. A tool used only for compiling source code
MCQ 60 Database Pl/sql

Which of the following best describes the purpose of a 'database schema-per-tenant' approach in multi-tenant application architecture?

  1. All tenants share a single set of tables with no separation
  2. Each tenant is given its own separate database schema, providing stronger data isolation between tenants at the cost of increased management overhead compared to a shared-schema approach
  3. A synonym for database sharding by geographic region
  4. A technique used only for single-tenant applications
Continue studying

Other subjects

All categories →