github

Made bySaurav Hathi

CSE - Practice Test -12

Q1:

Which of the following is a correct identifier in C++?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q2:

What are the formal parameters in C++?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q3:

Which function is used to read a single character from the console in C++?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q4:

Which function is used to write a single character to console in C++?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q5:

What are the escape sequences?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q6:

Which of the following escape sequence represents tab?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q7:

Constructor is executed when _____.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q8:

How many ways of reusing are there in class hierarchy?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q9:

Which of the following is a valid class declaration?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q10:

Class templates are generally used for storage classes.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q11:

What does the cerr represent?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q12:

Which of the following keywords is used to control access to a class member?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q13:

Which of the following statements is incorrect?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q14:

When Virtual Table is created?
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q15:

The ……………. inherits some or all of the properties of the ……….. class.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q16:

A derived class with only one base class is called …………… inheritance.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q17:

A class can be derived from another derived class which is known as ………. inheritance.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q18:

When a base class is privately inherited by derived class public members of the base class can only be accessed by the ……… of the derived class.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q19:

In compile-time polymorphism, a compiler is able to select the appropriate function for a particular call at the compile time itself, which is known as …………
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q20:

The pointers which are not initialized in a program are called ……………..
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q21:

…………………… is useful in creating objects at run time.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q22:

In C++ ………………… operator is used for Dynamic memory allocation.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q23:

Which function return the current position of the get or put pointer in bytes.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q24:

To overload an operator ………………… keyword must be used along with the operator to be overloaded.
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options:
Q25:

Because the lifetime of a local variable is limited and determined automatically, these variables are also called ……………………….
 

Tags:
Kalsee_CSE
Section:
CSE Miscellaneous
Options: