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 QPSR

B QPRS

C PQSR

D PQRS

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

A Member Functions

B Friend Functions

C Object

D Member Variables

Q3: Constructor is executed when _____.

A a class is declared

B an object goes out of scope.

C an object is used

D an object is created

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

A It is used to provide multiple inheritance.

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 avoid multiple copies of base class in derived class.

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

A Two

B One

C Zero

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 Both A and B

B has a relationship

C Inheritance

D kind of relationship

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 Data items in a class must be private.

C Constructor of a class cannot be private.

D Member functions of a class must be private.

Q9: What does a class hierarchy depict?

A It shows the same relationship as a family tree.

B It describes "kind of" relationships.

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

D It describes "has a" relationships.

Q10: Which of the following can be overloaded?

A Operators

B Object

C Both B and C

D Functions