NPTEL Software Engineering Week 7 Assignment Answers

NPTEL Software Engineering Week 7 Assignment Answers:- In this post, we have provided the answers to the NPTEL Software Engineering Week 7. All the answers are provided here on the basis of data available on the internet.

NPTEL Software Engineering All Week Assignment Answers
Software Engineering Week 1 Answer
Software Engineering Week 2 Answer
Software Engineering Week 3 Answer
Software Engineering Week 4 Answer
Software Engineering Week 5 Answer
Software Engineering Week 6 Answer
Software Engineering Week 7 Answer
Software Engineering Week 8 Answer
Software Engineering Week 9 Answer
Software Engineering Week 10 Answer
Software Engineering Week 11 Answer
Software Engineering Week 12 Answer

NPTEL Software Engineering Week 7 Assignment Answers 2022

Q1. Consider the statement: “A student is either a postgraduate student or an undergraduate student.” Assuming that student and postgraduate student and undergraduate student to be classes, what can be said about the relationship between Student and undergraduate student?

  • a. Association
  • b. Generalization-specialization
  • C. Containment
  • d. Polymorphism
  • e. Multiple inheritance
  • f. Dependency
Answer:- b

Q2. Suppose a course management software needs to be developed. Consider that course registration is a high-level functional requirement and requires that during registration a student can request a course catalogue showing the different course offerings for the semester. To factor the course registration use case, which one of the following mechanisms should be used?

  • a. Inheritance
  • b. Dependency
  • C. Include
  • d. Extend
  • e. Aggregation
Answer:- d

Q3. 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 be used only through the operations defined on it
  • d. It is the same as a collection of data items
  • e. It is the same as instance variables in a class
Answer:- c

Q4. 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. “…related to..”
Answer:- c

Q5. Assume that an academic institute automation software is to be developed. The students need to register at the start of every semester. However, the registration process of the post graduate (PG) students is slightly different than the undergraduate (UG) students, since the UG students can register only for the core courses, whereas the PG students are allowed to register for electives. Also, the PG students need to provide their bank account details for payment of monthly stipend and also need to sign an undertaking for doing teaching assistantship. Which one of the following mechanisms should be deployed to factor the student registration use case into UG registration and PG registration use cases?

Answer:- a
  • a. Inheritance
  • b. Dependency
  • C. Include
  • d. Extend
  • e. Package
  • f. Multiple inheritance
Answer:- a

Q6. The line connecting a user to a use case indicates which one of the following?

  • a. Association relationship
  • b. Communicates relationship
  • c. Usage relationship
  • d. Data flow
  • e. Composition relationship
  • f. Inheritance relationship
Answer:- b

Q7. Consider the following use case factorization example. Which of the following options can be inferred from it?

  • a. Issue book use case implicitly invokes Check reservation use case
  • b. Issue book use case invokes Check reservation use case only if some conditions are satisfied
  • c. Issue book and Renew book use cases are inter dependent
  • d. This factorization helps in reducing the duplication in the implementation
  • e. The factorization helps in reducing the runtime complexity of the two use cases
Answer:- a
d

Q8. Usually a textual description accompanies a use case diagram. Which one of the following is a hallmark of a poor textual description?

  • a. Every use case description starts with a request from the system to an actor
  • b. Every use case description ends with the system producing all answers the actor asked for.
  • C. Every use case description is written from the actor’s point of view.
  • d. Every use case description strives to describe the details of the internal activities that the system must perform to produce all the required system responses.
Answer:- d

Q9. How is inheritance useful?

  • a. It prevents inherited properties from being lost
  • b. It reduces the amount of code which has to be written
  • C. It creates elegant tree structures in the class model
  • d. It divides objects up into useful classes
  • e. It helps in reusing code once written and tested.
Answer:- b
e

Q10. Consider the sentence: A book has one or more pages. Which of the following best characterizes the relationship between the Book class and the Page class?

  • a. Inheritance
  • b. Specialization
  • C. Association
  • d. Composition
  • e. Multiple inheritance
  • f. Dependency
Answer:- d

Q11. Which one of the following characteristics of a class implies that the same message can be interpreted by it differently.

  • a. Encapsulation
  • b. Polymorphism
  • C. Information Hiding
  • d. Inheritance
  • e. Persistence
Answer:- b

Important Links:-

NPTEL Answers

Join Our Telegram

NPTEL Software Engineering Week 7 Assignment Answers:- In this post, we have provided the answers to the NPTEL Software Engineering Week 7. All the answers are provided here on the basis of data available on the internet.

Leave a Comment