wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Object Oriented Modeling & Design

Total questions: 10

Worksheet time: 5mins

Name
Class
Date
1.

In which of the following mechanisms, types of all variables and expressions are not known until runtime

a)

Strong Typing

b)

Weak Typing

c)

Static Binding/ early binding

d)

Dynamic Binding/ late binding

2.

What is that concept in type theory in which a single name may denote objects of many different classes that are related by some common super class referred to ______

a)

Monomorphism

b)

Type Checking

c)

Polymorphism

d)

Generalization

3.

Which of the following statements about Persistence is correct?

a)

It is the enforcement of the class of an object, such that objects of different types may not be interchanged, or at the most they may be interchanged only in very restricted ways.

b)

It is the property of an object through which its existence transcends time and/or space.

c)

It is the property that distinguishes an active object from one that is not active.

d)

All of the mentioned

4.

In which of the following mechanisms, types of all variables and expressions are fixed at compilation time.

a)

Strong Typing

b)

Weak Typing

c)

Static Binding/ early binding

d)

Dynamic Binding/ late binding

5.

Single inheritance, Multiple inheritance, and Aggregation comes under _______

a)

Modularity

b)

Typing

c)

Hierarchy

d)

None of the mentioned

6.

What is the programming style of the object oriented conceptual model?

a)

Invariant relationships

b)

Algorithms

c)

Classes and objects

d)

Goals, often expressed in a predicate calculus.

7.

Which of the following statement is true concerning objects and/or classes?

a)

An object is an instance of a class

b)

A class is an instance of an object

c)

An object includes encapsulates only data

d)

A class includes encapsulates only data

8.

The method of design encompassing the process of object oriented decomposition and a notation for depicting both logical and physical and as well as static and dynamic models of the system under design is known as:

a)

Object- Oriented Programming

b)

Object- Oriented Design

c)

Object- Oriented Analysis

d)

None of the mentioned

9.

The essential characteristics of an object that distinguish it from all other kinds of objects and thus provide crisply defined conceptual boundaries, relative to the perspective of the viewer is called:

a)

Encapsulation

b)

Modularity

c)

Hierarchy

d)

Abstraction

10.

Inheritance is an example of which type of hierarchy

a)

Class Structure

b)

Object Structure

c)

Both

d)

None of the mentioned