Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q1981: Which of the following is an example of a design pattern library provided by Microsoft?
- A: .NET Framework
- B: C++ Standard Template Library
- C: Java API
- D: Python Standard Library
View Answer
A
Q1982: Fill in the blank: The Decorator pattern helps in designing systems that perform different ________ depending on the situation.
- A: Combinations of activities
- B: Database queries
- C: Network configurations
- D: User interface designs
View Answer
A
Q1983: Fill in the blank: The origins of design patterns in software engineering lie in the research of ________.
- A: Christopher Alexander
- B: Alan Turing
- C: Bill Gates
- D: Dennis Ritchie
View Answer
A
Q1984: Fill in the blank: The Adapter pattern is used when a prefabricated module’s ________ is incompatible with the current application.
- A: Interface
- B: Functionality
- C: Documentation
- D: License
View Answer
A
Q1985: Fill in the blank: The ________ pattern is used to manage the complexity of software systems with multiple options.
- A: Decorator
- B: Singleton
- C: Observer
- D: Builder
View Answer
A
Q1986: Fill in the blank: Design patterns play a crucial role in software engineering by providing standardized solutions that help in ________ the software design process.
- A: Simplifying
- B: Complicating
- C: Obfuscating
- D: Disrupting
View Answer
A
Q1987: Which design pattern is used to create loosely coupled systems by creating and reusing instances?
- A: Factory Design Pattern
- B: Singleton Design Pattern
- C: Observer Design Pattern
- D: Decorator Design Pattern
View Answer
A
Q1988: The Factory Design Pattern falls under which category of design patterns?
- A: Creational Pattern
- B: Structural Pattern
- C: Behavioral Pattern
- D: Abstract Pattern
View Answer
A
Q1989: What is the main purpose of the Factory Design Pattern?
- A: To create and reuse instances
- B: To manage memory allocation
- C: To optimize database queries
- D: To handle exceptions
View Answer
A
Q1990: In the Factory Design Pattern, what does the factory class provide?
- A: Abstraction between Client and Car
- B: Direct interaction with hardware
- C: Real-time error checking
- D: User interface design
View Answer
A