
NPTEL Software Engineering Quiz B
Authored by Deepak Dubey
Computers
University
Used 6+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
20 questions
Redes Sociales
Quiz
•
University
20 questions
Fintech
Quiz
•
University
20 questions
Examen Final Enfermeria
Quiz
•
University
18 questions
PBO Inheritance Episode 2
Quiz
•
University
20 questions
Nuevas tecnologías
Quiz
•
6th Grade - Professio...
20 questions
Information Management - QUIZ
Quiz
•
University
20 questions
Parcial1 Informatica y Redes
Quiz
•
University
18 questions
Lenguaje de Definición de Datos
Quiz
•
University
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade