Bit buddy
Quiz by , created more than 1 year ago

Some questions may have more than one answer!

51
0
0
Bit buddy
Created by Bit buddy over 5 years ago
Close

Basics in Object Oriented Programming

Question 1 of 6

1

..................................... is a mechanism to filter out an object’s properties and operations until just the ones you need are left after ignoring the irrelevant and unimportant ones.

Select one of the following:

  • Inheritance

  • Encapsulation

  • Polymorphism

  • Abstraction

  • Specialization

Explanation

Question 2 of 6

1

………………… means that the same message can be interpreted differently by different classes of objects.

Select one of the following:

  • Polymorphism

  • Specialization

  • Encapsulation

  • Generalization

  • Composition

Explanation

Question 3 of 6

1

……………… is the process of binding both attributes and methods together within a class and through it, the internal details of a class can be hidden from outside.

Select one of the following:

  • Encapsulation

  • Inheritance

  • Generalization

  • Polymorphism

  • Specialization

Explanation

Question 4 of 6

1

A/An ……… diagram illustrates the objects that participate in one scenario and the messages that pass between them over time.

Select one of the following:

  • Activity

  • Use case

  • Sequence

  • Class

  • State

Explanation

Question 5 of 6

1

……….. diagram is a structure diagram which describes a lightweight extension mechanism to UML by defining custom stereotypes, tagged values and constraints.

Select one of the following:

  • Class

  • State

  • Profile

  • Deployment

  • Component

Explanation

Question 6 of 6

1

Which of the following diagrams is/are UML Interaction diagrams?

Select one or more of the following:

  • Timing Diagram

  • Sequence Diagram

  • Interaction Overview Diagram

  • Activity Diagram

  • Communication Diagram

Explanation