
NPTEL Software Engineering Quiz B

Quiz
•
Computers
•
University
•
Medium
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
Similar Resources on Wayground
20 questions
Audio

Quiz
•
University
20 questions
Technical Quiz R1

Quiz
•
University
25 questions
PHP + MySQL

Quiz
•
7th Grade - University
16 questions
Java Flashcards

Quiz
•
University
23 questions
OCA Unit 1

Quiz
•
11th Grade - Professi...
20 questions
Collections C#

Quiz
•
University
25 questions
Machine Learning (Concept Learning)

Quiz
•
University
20 questions
OOD Realization Quizziz

Quiz
•
University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University