image not found

Oops! That page can't be found.


Directions to Solve

In questions below, each passage consist of six sentences. The first and sixth sentence are given in the begining. The middle four sentences in each have been removed and jumbled up. These are labelled as P, Q, R and S. Find out the proper order for the four sentences.

Q1:
S1: All the land was covered by the ocean.
P : The leading god fought the monster, killed it and chopped its body in to two halves.
Q : A terrible monster prevented the gods from separating the land from the water.
R : The god made the sky out of the upper part of the body and ornamented it with stars.
S : The god created the earth from the lower part, grew plants on it and populated it with animals.
S6: The god moulded the first people out of clay according to his own image and mind.
The Proper sequence should be:

A QPRS

B PQRS

C PQSR

D QPSR

Q2: Which of the following also known as an instance of a class?

A Object

B Member Functions

C Friend Functions

D Member Variables

Q3: Constructor is executed when _____.

A an object is used

B an object goes out of scope.

C an object is created

D a class is declared

Q4: Which of the following statements about virtual base classes is correct?

A It is used to avoid multiple copies of base class in derived class.

B It is used to allow multiple copies of base class in a derived class.

C It allows private members of the base class to be inherited in the derived class.

D It is used to provide multiple inheritance.

Q5: How many objects can be created from an abstract class?

A Zero

B Two

C One

D As many as we want

Q6: What does the class definitions in following code represent?
class Bike
{
    Engine objEng;
};
class Engine
{
    float CC;
};

A Inheritance

B kind of relationship

C has a relationship

D Both A and B

Q7: Which of the following statements is correct when a class is inherited privately?

A Public members of the base class become private members of derived class.

B Private members of the base class become private members of derived class.

C Public members of the base class become public members of derived class.

D Public members of the base class become protected members of derived class.

Q8: Which of the following statements is correct?

A Both data and functions can be either private or public.

B Member functions of a class must be private.

C Data items in a class must be private.

D Constructor of a class cannot be private.

Q9: What does a class hierarchy depict?

A It describes "has a" relationships.

B It shows the same relationship as a family tree.

C It describes "kind of" relationships.

D It shows the relationships between the classes in the form of an organization chart.

Q10: Which of the following can be overloaded?

A Object

B Functions

C Operators

D Both B and C