NPTEL Software Engineering Week 7 Assignment Answers 2024

Sanket
By Sanket

PTEL Software Engineering Week 7 Assignment Answers 2024

1. Which of the following term means packing of data and functions into a single unit in a program?

a. Polymorphism
b. Abstraction
c. Encapsulation
d. Inheritance
e. Decomposition

Answer :- For Answers Click Here 

2. Which of the followings are important advantages of applying the principle of data hiding to a design solution?

a. Low cohesion
b. High coupling
c. Low fan out
d. Low coupling
e. High cohesion

Answer :- 

3. Which of the followings are characterize the inheritance relation between two classes?

a. Encapsulation.
b. Aggregation
c. Generalization and specialization.
d. Polymorphism
e. “Has a” relation
f. “Is a” relation
g. Composition

Answer :- For Answers Click Here 

4. Consider the statement: “An employee is either a worker or a manager.” Assuming that Employee and Manager to be two classes, what can be said about the relationship between these two classes?

a. Association
b. Generalization-specialization
c. Aggregation
d. Polymorphism
e. Composition
f. Dependency

Answer :- 

5. Which one of the following can be said about an abstract data type (ADT)?

a. It is a synonym for an abstract class
b. A data type that cannot be instantiated
c. A data type that can only be used through the operations defined on it
d. It is the same as a collection of data items
e. It is the same as an aggregation of data items

Answer :- For Answers Click Here 

6. Which one of the following phrases indicates the relationship that exists between a class and its public parent class?

a. “…is a…”
b. “…has a…”
c. “…is implemented as a…”
d. “…uses a…”
e. “…implementation of…”

Answer :- 

7. Which one of the following sentences most closely describes “multiple inheritance” in object- oriented development?

a. Two classes inherit from each other
b. A base class has two or more derived classes
c. A child class has two or more parent classes
d. A child class has both an “is a” and a “has a” relationship with its parent class
e. A class is derived from its parent class, which in turn is derived from its parent class

Answer :- For Answers Click Here 

8. Which one of the following is true of a design solution that involves several deep inheritance hierarchies?

a. It is a sign of a good design as it increases reuse
b. It is a sign of a good design as it leads to sophisticated and versatile classes at the leaf level
c. It is a sign of good design as it increases polymorphic bindings
d. It is a sign of bad design as it breaks encapsulation
e. It is a sign of bad design as it causes repeated inheritance

Answer :- 

9. Which of the following are NOT the characteristics of a good textual description accompanying a use case diagram?

a. Every use case description starts with a request from the system to an actor.
b. The textual description should be written using the development team’s terminologies
c. Every use case description ends with the system producing all answers the actor asked for.
d. Every use case description is written from the actor’s point of view.
e. Every use case description should identify the sequence of message exchanges required among the concerned classes.

Answer :- 

10. Which of the following statements are false regarding UML models of a system?

a. Construction UML models help handle complexity in the problem
b. All UML models are design models of the system
c. All UML designs are models of the system
d. In general, from a system implementation, all UML models can be extracted
e. Dynamic UML models represent behavioral aspects of the system
f. Static UML models represent structural aspects of the system

Answer :- For Answers Click Here 
Share This Article
Leave a comment