Live Help (Start Chat)
View Count: 0
Duration: 39 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 19 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 35 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 14 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 21 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 15 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 19 mins
Accessed date:
Not Yet Viewed
View Count: 0
Duration: 7 mins
Accessed date:
Not Yet Viewed
Post your comment / feedback here
 
 

Be the first one to comment about this video

Question No: 1 of 17
The class members are by default …………. 
Options:
  1. Public
  2. Private
  3. Protected
  4. Inherited
View Answer/Explanation:
b
Explanation:

Question No: 2 of 17
Which of the following is false about classes 
Options:
  1. Permits the data to be hidden from other classes
  2. It contains data member and member functions
  3. It brings together all aspects of an entity in one place
  4. All of the above.
View Answer/Explanation:
c
Explanation:

Question No: 3 of 17
Which of the following helps you to find out the dynamic type of an object when you have only pointer or a reference to the base type? 
Options:
  1. Object type
  2. Abstract data type
  3. Reference type
  4. Runtime type Identification
View Answer/Explanation:
d
Explanation:
RTTI, Runtime type Identification is the type which finds the type of an object and converts the type of a pointer or reference (i.e. dynamic typing).

Question No: 4 of 17
What is the size of an object of an empty class? 
Options:
  1. 0
  2. Undefined
  3. 1
  4. Garbage value
View Answer/Explanation:
c
Explanation:
C++ allows us a feature where we can create an object of an empty class. At the time of creating the object some bytes of memory has been initialized. The minimum amount of memory created is 1 byte. But sometimes it may change depending on the compiler.

Question No: 5 of 17
Which of these means exposing the essential data of an object and hiding the background details. 
Options:
  1. Inheritance
  2. Encapsulation
  3. Data abstraction
  4. Polymorphism
View Answer/Explanation:
c
Explanation:
Data abstraction is the process of exposing the essential data of an object to the outside of the world and hiding the low level data of that object.

Question No: 6 of 17
Which operator is used to create a memory space of specified type and returns the starting address to the pointer variable. 
Options:
  1. malloc
  2. New
  3. Calloc
  4. None of the above
View Answer/Explanation:
b
Explanation:
int *p = new int[10]; In this statement we can say that, new operator creates an array of 10 integers and allocates 20 bytes of memory space & returns the starting position or starting memory location to the pointer variable p. 10 is being assigned to the pointer variable.

Question No: 7 of 17
What is the significance of endl in c++? 
Options:
  1. Creates a new line
  2. Creates space between two words
  3. Removes a line
  4. None
View Answer/Explanation:
a
Explanation:
endl has the same effect as that of the “\n” in ‘C’.

Question No: 8 of 17
Private members can be accessed 
Options:
  1. Within the class
  2. Outside the class
  3. Both within and outside the class
  4. None of the above
View Answer/Explanation:
a
Explanation:
Private members can be accessed only from within the class and they cannot be accessed from outside of the class.

Question No: 9 of 17
The data members in the class are usually declared as private and the member functions are declared as …………………. 
Options:
  1. public
  2. private
  3. protected
  4. inherited
View Answer/Explanation:
b
Explanation:

Question No: 10 of 17
The operator :: is known as: 
Options:
  1. Conditional operator
  2. Extraction operator
  3. Scope resolution operator
  4. Field width operator
View Answer/Explanation:
c
Explanation:

  1