Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q1951: Which of the following is NOT an example of information hiding?
- A: Using local variables
- B: Minimizing coupling
- C: Using global variables
- D: Applying encapsulation
View Answer
C
Q1952: What can be compromised if a module does not restrict access to its internal data?
- A: The validity of the module
- B: The performance of the system
- C: The usability of the module
- D: The development speed of the software
View Answer
A
Q1953: What are the two incarnations of information hiding?
- A: Design goal and implementation goal
- B: Internal goal and external goal
- C: Functional goal and structural goal
- D: Design goal and user goal
View Answer
A
Q1954: What design practice helps to ensure that other modules do not need access to a module's internal information?
- A: Maximizing cohesion
- B: Minimizing coupling
- C: Using global variables
- D: Applying encapsulation
View Answer
A
Q1955: Which practice involves using local variables and encapsulation to reinforce module boundaries?
- A: Implementation goal
- B: Design goal
- C: External goal
- D: Structural goal
View Answer
A
Q1956: In the context of information hiding, what does the concept of an abstract tool represent?
- A: A "black box" whose internal features can be ignored by its user
- B: A tool that requires detailed knowledge of its internal workings
- C: A module that exposes all its internal data to users
- D: A complex system that does not need any encapsulation
View Answer
A
Q1957: Fill in the blank: Information hiding aims to prevent other modules from having unnecessary ________ on a module.
- A: Dependencies
- B: Interactions
- C: Knowledge
- D: Access
View Answer
A
Q1958: Fill in the blank: To ensure a module’s boundaries are reinforced, it is important to use ________ variables and apply encapsulation.
- A: Global
- B: Local
- C: Static
- D: Dynamic
View Answer
B
Q1959: Fill in the blank: The concept of an abstract tool is similar to information hiding because both protect users from ________ and protect their interiors from intrusion.
- A: Complexity
- B: Errors
- C: Internal details
- D: Unintended access
View Answer
C
Q1960: Fill in the blank: When a module’s internal structure is altered, it may cause ________ in modules designed to take advantage of that structure.
- A: Errors
- B: Performance issues
- C: Optimizations
- D: Redundancy
View Answer
A