Introduction to Computing MCQs with Answers
Practice important Introduction to Computing MCQs with answers and explanations.
Multiple Choice Questions
Q1931: How does the object-oriented paradigm help reduce data coupling between objects?
- A: By passing data explicitly between objects
- B: By using global data accessible to all objects
- C: By including all methods that manipulate an object’s internal data within the object itself
- D: By sharing data among all objects implicitly
View Answer
C
Q1932: What is the main disadvantage of using global data in a modular system?
- A: It makes modules more independent
- B: It makes modifying modules easier
- C: It can make it difficult to identify how a module interacts with others
- D: It reduces the complexity of the software
View Answer
C
Q1933: Fill in the blank: Control coupling occurs when a module passes ________ to another module.
- A: Data
- B: Control
- C: Instructions
- D: Parameters
View Answer
B
Q1934: Fill in the blank: Data coupling between functions can occur by explicitly passing data ________.
- A: Through global variables
- B: Through local variables
- C: As parameters
- D: Indirectly
View Answer
C
Q1935: Fill in the blank: In object-oriented design, the object PlayerA contains information and ________ that require that information.
- A: Variables
- B: Functions
- C: Constants
- D: Methods
View Answer
D
Q1936: Fill in the blank: Global data are data items that are automatically available to ________ throughout the system.
- A: Specific modules
- B: All modules
- C: Only local modules
- D: Private methods
View Answer
B
Q1937: Fill in the blank: Data coupling in an object-oriented design is minimized because methods within an object ________ the object’s internal data.
- A: Share
- B: Ignore
- C: Manipulate
- D: Discard
View Answer
C
Q1938: What does cohesion refer to in software engineering?
- A: The degree of relatedness of a module’s internal parts
- B: The degree of dependency between different modules
- C: The degree of complexity in a module
- D: The extent of code duplication within a module
View Answer
A
Q1939: Which form of cohesion involves internal elements performing activities logically similar in nature?
- A: Logical cohesion
- B: Functional cohesion
- C: Temporal cohesion
- D: Procedural cohesion
View Answer
A
Q1940: What is a stronger form of cohesion where all parts of the module are focused on a single activity?
- A: Logical cohesion
- B: Functional cohesion
- C: Sequential cohesion
- D: Communicational cohesion
View Answer
B