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 PQRS

B PQSR

C QPRS

D QPSR

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

A Member Functions

B Member Variables

C Object

D Friend Functions

Q3: Constructor is executed when _____.

A an object is used

B a class is declared

C an object is created

D an object goes out of scope.

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

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

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

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

D It is used to provide multiple inheritance.

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

A Two

B One

C As many as we want

D Zero

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

A has a relationship

B Both A and B

C Inheritance

D kind of relationship

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

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

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

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

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

Q8: Which of the following statements is correct?

A Member functions of a class must be private.

B Data items in a class must be private.

C Constructor of a class cannot be private.

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

Q9: What does a class hierarchy depict?

A It shows the same relationship as a family tree.

B It describes "has a" relationships.

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

D It describes "kind of" relationships.

Q10: Which of the following can be overloaded?

A Object

B Functions

C Both B and C

D Operators