Software Engineering Questions and Answers – Object Oriented Software Design – 1

This set of Software Engineering Multiple Choice Questions & Answers (MCQs) focuses on “Object Oriented Software Design – 1”.

1. Choose the incorrect statement in terms of Objects.
a) Objects are abstractions of real-world
b) Objects can’t manage themselves
c) Objects encapsulate state and representation information
d) All of the mentioned
View Answer

Answer: b
Explanation: Objects are independent.

2. What encapsulates both data and data manipulation functions ?
a) Object
b) Class
c) Super Class
d) Sub Class
View Answer

Answer: a
Explanation: None.

3. Which of the following is a mechanism that allows several objects in an class hierarchy to have different methods with the same name?
a) Aggregation
b) Polymorphism
c) Inheritance
d) All of the mentioned
View Answer

Answer: b
Explanation: In polymorphism instances of each subclass will be free to respond to messages by calling their own version of the method.
advertisement
advertisement

4. Inherited object classes are self-contained.
a) True
b) False
View Answer

Answer: b
Explanation: Inherited object classes are not self-contained. They cannot be understood without reference to their super-classes.

5. Which of the following points related to Object-oriented development (OOD) is true?
a) OOA is concerned with developing an object model of the application domain
b) OOD is concerned with developing an object-oriented system model to implement requirements
c) All of the mentioned
d) None of the mentioned
View Answer

Answer: c
Explanation: The answer is in support with the OOD.
Sanfoundry Certification Contest of the Month is Live. 100+ Subjects. Participate Now!

6. How is generalization implemented in Object Oriented programming languages?
a) Inheritance
b) Polymorphism
c) Encapsulation
d) Abstract Classes
View Answer

Answer: a
Explanation: None.

7. Which of the following is a disadvantage of OOD ?
a) Easier maintenance
b) Objects may be understood as stand-alone entities
c) Objects are potentially reusable components
d) None of the mentioned
View Answer

Answer: d
Explanation: All the options define the characteristics of OOD.
advertisement

8. Which of the following describes”Is-a-Relationship” ?
a) Aggregation
b) Inheritance
c) Dependency
d) All of the mentioned
View Answer

Answer: b
Explanation: None.

9. Object that collects data on request rather than autonomously is known as
a) Active Object
b) Passive Object
c) Multiple instance
d) None of the mentioned
View Answer

Answer: b
Explanation: A passive object holds data, but does not initiate control.
advertisement

10. Objects are executed
a) sequentially
b) in Parallel
c) sequentially & Parallel
d) none of the mentioned
View Answer

Answer: c
Explanation: Objects may be distributed and may execute sequentially or in parallel.

Sanfoundry Global Education & Learning Series – Software Engineering.

Here’s the list of Best Books in Software Engineering.

If you find a mistake in question / option / answer, kindly take a screenshot and email to [email protected]

advertisement
advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.