Q.1

Which of the following is not the member of class?

  • Virtual function
  • Static function
  • Friend function
  • Const function
Q.2

What is the Run-Time Type Information?

  • Information about an object’s datatype at runtime
  • Information about the variables
  • Information about the given block
  • None of these
Q.3

Which is best for coding the standard libary for c++?

  • no trailing underscores on names
  • complex objects are returned by value
  • have a member-swap()
  • All of the mentioned
Q.4

Where does the allocaters are implemented?

  • Template library
  • Standard library
  • C++ code library
  • None of these
Q.5

Default constructor accepts how many arguments?

  • one
  • two
  • three
  • None
Q.6

What are the methods are available in storing sequential files?

  • Natural merging
  • Polyphase sort
  • Distribution of Initial runs
  • All the above
Q.7

What is the use of Namespace?

  • To encapsulate the data
  • To structure a program into logical units.
  • Both a and b
  • none of these
Q.8

What is a template?

  • A template is a formula for creating a generic class
  • A template is used to manipulate the class
  • A template is used for creating the attributes
  • none of the mentioned
Q.9

How the different permutations are ordered in c++?

  • Compare lexicographicaly to each other elements
  • By finding the highest element in the range
  • By finding the lowest element in the range
  • None of the mentioned
Q.10

Pick out the correct method in the c++ standard library algorithm.

  • mismatch
  • maximum
  • minimum
  • None of these
Q.11

A binary tree with 7 nodes will have how many null branches?

  • 6
  • 7
  • 8
  • 5
Q.12

How many items are presented in the associate container?

  • 2
  • 3
  • 4
  • 5
Q.13

What does the sequence adaptor provide?

  • Insertion
  • Deletion
  • Interface to sequence container
  • None of thse
Q.14

Where does the exceptions are used?

  • Exceptions are used when postconditions of a function cannot be satisfied.
  • Exceptions are used when postconditions of a function can be satisfied.
  • To preserve the program
  • none of these
Q.15

What does inheriatance allows you to do?

  • create a class
  • access methods
  • create a hierarchy of classes
  • None of the mentioned
Q.16

How many types of constructor are there in C++?

  • 1
  • 2
  • 3
  • 4
Q.17

What is meant by heap?

  • Used for fast reterival of elements
  • Used for organising the elements
  • Both a & b
  • None of the mentioned
Q.18

Where is the reference stored?

  • stack
  • heap
  • queue
  • None
Q.19

What are the operators available in dynamic memory allocation?

  • new
  • delete
  • compare
  • both a & b
Q.20

How do define the user-defined exceptions?

  • inheriting and overriding exception class functionality.
  • overriding class functioality.
  • inheriting class functionality
  • none of the mentioned
0 h : 0 m : 1 s