Software Engineering-I MCQs with Answers
Practice important Software Engineering-I MCQs with answers and explanations.
Chapter: 21
Q381:
Fill in the blank: Collaboration diagrams depict how objects interact with respect to ________.
A. organization and boundaries
B. encapsulation and data
C. flow of control and operations
D. users and messages
Correct Answer:
A
Chapter: 21
Q382:
What is the main benefit of reducing coupling in object-oriented design?
A. Increased complexity
B. Improved maintainability
C. More messages sent
D. Reduced encapsulation
Correct Answer:
B
Chapter: 21
Q383:
Which object does the Heat Flow Regulator communicate with in a distributed control system?
A. Room object
B. Desired Temp object
C. Actual Temp object
D. Occupancy object
Correct Answer:
C
Chapter: 21
Q384:
What is a better design practice when creating methods for setting temperature limits?
A. Use multiple methods
B. for different limits
C. Use a single method for all limits
D. Use only one method for high limits
Correct Answer:
B
Chapter: 21
Q385:
Fill in the blank: To evaluate the quality of an object-oriented design, one should analyze encapsulation and ________.
A. abstraction
B. delegation
C. inheritance
D. polymorphism
Correct Answer:
B
Chapter: 22
Q386:
What is the main focus of software architecture?
A. Structural issues of a system
B. Programming logic
C. Visual design of interfaces
D. Database management
Correct Answer:
A
Chapter: 22
Q387:
Who emphasized the importance of software structure in 1968?
A. Edsger Dijkstra
B. Barry Boehm
C. David Parnas
D. Shaw and Garlan
Correct Answer:
A
Chapter: 22
Q388:
What does a program family refer to?
A. A group of similar programs
B. Any software application
C. A set of unrelated programs
D. A database of programs
Correct Answer:
A
Chapter: 22
Q389:
Which of the following defines software architecture according to UML 1.3?
A. The organizational structure of a system
B. The programming logic of a system
C. The database structure of a system
D. The user interface of a system
Correct Answer:
A
Chapter: 22
Q390:
What does architectural design establish in a software system?
A. Only the user interface design
B. The overall structure of the system
C. Only the database schema
D. Programming language selection
Correct Answer:
B
Chapter: 22
Q391:
The study of software architecture began with Edsger Dijkstra's work in which year?
A. 1970
B. 1980
C. 1968
D. 1995
Correct Answer:
C
Chapter: 22
Q392:
According to Barry Boehm, what should a project not proceed without?
A. A clear user interface
B. A system architecture
C. Programming language choice
D. A development team
Correct Answer:
B
Chapter: 22
Q393:
The earliest design decisions in a software project should remain constant across what?
A. Modules
B. Program families
C. Users
D. Development teams
Correct Answer:
B
Chapter: 22
Q394:
What is an architectural design considered in the system design process?
A. A late stage
B. A beginning stage
C. An optional stage
D. A constant stage
Correct Answer:
B
Chapter: 22
Q395:
Software architecture is a common language for which of the following?
A. Only programmers
B. All stakeholders
C. Only project managers
D. Only testers
Correct Answer:
B
Chapter: 22
Q396:
What does the term 'interfaces' refer to in the context of software architecture?
A. Connections between components
B. Visual design elements
C. Database connections
D. Programming languages
Correct Answer:
A
Chapter: 22
Q397:
According to the definitions presented, what is the structure of a software architecture?
A. Only the code structure
B. The components and their relationships
C. Only the user interface design
D. Only the performance metrics
Correct Answer:
B
Chapter: 22
Q398:
What is the role of architectural design in relation to non-functional requirements?
A. It defines the user interface design
B. It addresses non-functional challenges
C. It is unrelated to performance
D. It only concerns coding practices
Correct Answer:
B
Chapter: 22
Q399:
What are the architectural attributes that software architecture must address?
A. Only functional requirements
B. Non-functional requirements only
C. Both functional and non-functional requirements
D. Only performance metrics
Correct Answer:
C
Chapter: 22
Q400:
Fill in the blank: The study of software architecture began in ________ when Edsger Dijkstra highlighted the importance of software structure.
A. 1968
B. 1970
C. 1985
D. 1990
Correct Answer:
A