NPTEL Software Engineering Quiz B

NPTEL Software Engineering Quiz B

University

21 Qs

quiz-placeholder

Similar activities

c++

c++

University

22 Qs

Intro to Data Mining

Intro to Data Mining

University

16 Qs

Java Programming

Java Programming

University

20 Qs

DBMS Quiz

DBMS Quiz

University

20 Qs

JDBC

JDBC

University

20 Qs

IKW310 week 2 Review

IKW310 week 2 Review

University

16 Qs

OBJECTORIENTED PROGRAMMING(OOP|MIDTERM)

OBJECTORIENTED PROGRAMMING(OOP|MIDTERM)

University

25 Qs

Section 8: Storage (4-7)

Section 8: Storage (4-7)

University

18 Qs

NPTEL Software Engineering Quiz B

NPTEL Software Engineering Quiz B

Assessment

Quiz

Computers

University

Medium

Created by

Deepak Dubey

Used 6+ times

FREE Resource

21 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

30 sec • 1 pt

How is inheritance useful?

a. It prevents inherited properties from being lost

b. It minimizes 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

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

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

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following is true of encapsulation?

a. Encapsulation helps in reuse since it is not necessary for the developers to know how an off-the-shelf software component works internally.

b. Encapsulation means that software components can work more efficiently.

c. Encapsulation means that there is no need for software developers to document their work.

d. Encapsulation hinders reuse.

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which one of the following best characterizes a sequence diagram?

a. A call graph illustrating all possible sequences of calls between class method members

b. A time-line illustrating a typical sequence of calls between object methods

c. A time-line illustrating the changes in inheritance and instantiation relationships between classes and objects over time

d. A tree illustrating inheritance relationship between classes

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following UML diagrams should you use when allocating use-case behavior to classes?

a. sequence and communication diagrams

b. use-case and activity diagrams

c. sequence and activity diagrams

d. class and composite structure diagrams

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following sentence: “A square is a polygon”. From an analysis of the sentence, identify the relations between the two classes Square and Polygon that can be inferred from the sentence.

a. Inheritance

b. Association

c. Aggregation

d. Composition

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?