c++,oops technical interview question for fresher
Question - 1) What is a class ?
Question - 2) What is an object ?
Question - 3) List the advantages of object oriented programming ?
Question - 4) What is meant by 'call by value' ?
Question - 5) What is meant by 'call by reference' ?
Question - 6) What is a reference variable ? What is its use ?
Question - 7) What are inline Functions ? What is the advantage of using them ? How are they declared ?
Question - 8) What are the defining traits of an object-oriented language ?
Question - 9) What is the purpose of the scope resolution operator ?
Question - 10) What are the differences between type casting and automatic type conversion ?
Question - 11) Why ‘char’ is often considered as an integer data type ?
Question - 12) What is the difference between structure and class in C++ ?
Question - 13) What is the purpose of ios:app ?
Question -14) What is the purpose of ios::ate ?
Question - 15) How is random access of data achieved in C++ ?
Question - 16) Which header file is required for creating and manipulating data files in C++ ?
Question - 17) What is an access specifier ?
Question - 18) How is memory allocated to a class and its objects ?
Question - 19) What is the difference between an object and a class ?
Question - 20) Differentiate between data hiding and encapsulation ?
Question - 21) What is polymorphism? Explain with an example ?
Question - 22) What is public, protected and private ?
Question - 23) What is the significance of the protected access specifier ?
Question - 24) Do 'derivation' and 'friendship' mean the same ?
Question - 25) Enlist some advantages of object oriented programming ?
Question - 26) Is prototyping mandatory in C++ ? Why ?
Question - 27) When should a function be made inline ?
Question - 28) How is a static variable different from a static function ?
Question - 29) What is meant by macro ?
Question - 30) What do you mean by inline function?
Question - 31) What is a constructor? Why would I ever use one?
Question - 32) What are destructors really for? Why would I ever use them?
Question - 33) Is a default constructor equivalent to a constructor having default arguments?
Question - 34) Why is a destructor function required in a class?
Question - 35) What is a parameterized constructor?
Question - 36) What is a copy constructor?
Question - 37) What is a default constructor? What is its role?
Question - 38) What is meant by constructor overloading?
Question - 39) What is operator overloading?
Question - 40) What operators can/cannot be overloaded?
Question - 41) How is operator overloading implemented successfully in C++?
Question - 42) What is abstract class?
Question - 43) What is concrete class?
Question - 44) What is function overloading and operator overloading?
Question - 45) What is a ‘friend’ function?
Question - 46) Do ‘friends’ violate encapsulation?
Question - 47) What are some advantages/disadvantages of using friends?
Question - 48) What do you mean by the friend function and friend class?
Question - 49) Why should I use `new' instead of trustworthy old malloc()?
Question - 50) How do I allocate / unallocate an array of things?
Question - 51) What if I forget the `[ ]' when `delete'ing array allocated via `new X[n]'?
Question - 52) What are free store operators?
Question - 53) What do you mean by free storage list or AVAIL list?
Question - 54) What is meant by static memory allocation?
Question - 55) What is dynamic memory allocation?
Question - 56) Define free store ?
Question - 57) What do you mean by a self referential structure?
Question - 58) What is inheritance? What the types of inheritance?
Question - 59) What are the different types of inheritances?
Question - 60) What is the difference between a virtual base class and a normal base class?
Question - 61) What is meant by a visibility mode?
Question - 62) What's the difference between `public:', `private:', and `protected:' visibility modes?
Question - 63) When should you use inheritances?
Question - 64) How do you express `private inheritance'?
Question - 65) What are the access rules with `private' and `protected' inheritance?
Question - 66) What is meant by inheritance hierarchy ?
Question - 67) Differentiate between multiple and multilevel inheritances ?
Question - 68) What is an ABC (`Abstract Base Class') ?
Question - 69) What is a `virtual destructor' ?
Question - 70) What is a dangling pointer or wild pointers ?
Question - 71) What is abstraction?
Question - 72) How is abstraction and encapsulation interrelated?
Question - 73) What is an adaptor class or Wrapper class?
Question - 74) What is a container class? What are the types of container classes?
Question - 75) What is polymorphism?
Question - 76) What do you mean by a static data member and a static member function?
Question - 77) What is modularity in C++?
Question - 78) What do you mean by data abstraction?
Question - 79) What is a pointer? How will you define a pointer to an integer and a pointer to a character?
Question - 80) How does a pointer variable differ from a simple variable?
Question - 81) What is a nested structure ?
Question - 82) How are arrays and structures related to each other ?
Question - 83) What is the difference between structure and class?
Question - 84) What is the difference between get and getline member functions ?
Question - 85) Differentiate between ifstream class and ofstream class?
Question - 86) Name the streams generally used for file operations.
Question - 87) What do you mean by ‘this’ pointer?
Question - 88) What is a data structure?
Question - 89) List four major operations associated with linear data structures?
Question - 90) What are trees in C++?
Question - 91) State conditions under which binary search is applicable.
Question - 92) What is a linked list?
Question - 93) Differentiate between functions read() and write().
Question - 94) What is a null pointer?
Question - 95) What is a memory leak?
Question - 96) What is a stack?
Question - 97) What is meant by overflow in C++?
Question - 98) What is an infix expression?
Question - 99) What do you mean by static binding?
Question - 100) What do you mean by a node?
Question - 2) What is an object ?
Question - 3) List the advantages of object oriented programming ?
Question - 4) What is meant by 'call by value' ?
Question - 5) What is meant by 'call by reference' ?
Question - 6) What is a reference variable ? What is its use ?
Question - 7) What are inline Functions ? What is the advantage of using them ? How are they declared ?
Question - 8) What are the defining traits of an object-oriented language ?
Question - 9) What is the purpose of the scope resolution operator ?
Question - 10) What are the differences between type casting and automatic type conversion ?
Question - 11) Why ‘char’ is often considered as an integer data type ?
Question - 12) What is the difference between structure and class in C++ ?
Question - 13) What is the purpose of ios:app ?
Question -14) What is the purpose of ios::ate ?
Question - 15) How is random access of data achieved in C++ ?
Question - 16) Which header file is required for creating and manipulating data files in C++ ?
Question - 17) What is an access specifier ?
Question - 18) How is memory allocated to a class and its objects ?
Question - 19) What is the difference between an object and a class ?
Question - 20) Differentiate between data hiding and encapsulation ?
Question - 21) What is polymorphism? Explain with an example ?
Question - 22) What is public, protected and private ?
Question - 23) What is the significance of the protected access specifier ?
Question - 24) Do 'derivation' and 'friendship' mean the same ?
Question - 25) Enlist some advantages of object oriented programming ?
Question - 26) Is prototyping mandatory in C++ ? Why ?
Question - 27) When should a function be made inline ?
Question - 28) How is a static variable different from a static function ?
Question - 29) What is meant by macro ?
Question - 30) What do you mean by inline function?
Question - 31) What is a constructor? Why would I ever use one?
Question - 32) What are destructors really for? Why would I ever use them?
Question - 33) Is a default constructor equivalent to a constructor having default arguments?
Question - 34) Why is a destructor function required in a class?
Question - 35) What is a parameterized constructor?
Question - 36) What is a copy constructor?
Question - 37) What is a default constructor? What is its role?
Question - 38) What is meant by constructor overloading?
Question - 39) What is operator overloading?
Question - 40) What operators can/cannot be overloaded?
Question - 41) How is operator overloading implemented successfully in C++?
Question - 42) What is abstract class?
Question - 43) What is concrete class?
Question - 44) What is function overloading and operator overloading?
Question - 45) What is a ‘friend’ function?
Question - 46) Do ‘friends’ violate encapsulation?
Question - 47) What are some advantages/disadvantages of using friends?
Question - 48) What do you mean by the friend function and friend class?
Question - 49) Why should I use `new' instead of trustworthy old malloc()?
Question - 50) How do I allocate / unallocate an array of things?
Question - 51) What if I forget the `[ ]' when `delete'ing array allocated via `new X[n]'?
Question - 52) What are free store operators?
Question - 53) What do you mean by free storage list or AVAIL list?
Question - 54) What is meant by static memory allocation?
Question - 55) What is dynamic memory allocation?
Question - 56) Define free store ?
Question - 57) What do you mean by a self referential structure?
Question - 58) What is inheritance? What the types of inheritance?
Question - 59) What are the different types of inheritances?
Question - 60) What is the difference between a virtual base class and a normal base class?
Question - 61) What is meant by a visibility mode?
Question - 62) What's the difference between `public:', `private:', and `protected:' visibility modes?
Question - 63) When should you use inheritances?
Question - 64) How do you express `private inheritance'?
Question - 65) What are the access rules with `private' and `protected' inheritance?
Question - 66) What is meant by inheritance hierarchy ?
Question - 67) Differentiate between multiple and multilevel inheritances ?
Question - 68) What is an ABC (`Abstract Base Class') ?
Question - 69) What is a `virtual destructor' ?
Question - 70) What is a dangling pointer or wild pointers ?
Question - 71) What is abstraction?
Question - 72) How is abstraction and encapsulation interrelated?
Question - 73) What is an adaptor class or Wrapper class?
Question - 74) What is a container class? What are the types of container classes?
Question - 75) What is polymorphism?
Question - 76) What do you mean by a static data member and a static member function?
Question - 77) What is modularity in C++?
Question - 78) What do you mean by data abstraction?
Question - 79) What is a pointer? How will you define a pointer to an integer and a pointer to a character?
Question - 80) How does a pointer variable differ from a simple variable?
Question - 81) What is a nested structure ?
Question - 82) How are arrays and structures related to each other ?
Question - 83) What is the difference between structure and class?
Question - 84) What is the difference between get and getline member functions ?
Question - 85) Differentiate between ifstream class and ofstream class?
Question - 86) Name the streams generally used for file operations.
Question - 87) What do you mean by ‘this’ pointer?
Question - 88) What is a data structure?
Question - 89) List four major operations associated with linear data structures?
Question - 90) What are trees in C++?
Question - 91) State conditions under which binary search is applicable.
Question - 92) What is a linked list?
Question - 93) Differentiate between functions read() and write().
Question - 94) What is a null pointer?
Question - 95) What is a memory leak?
Question - 96) What is a stack?
Question - 97) What is meant by overflow in C++?
Question - 98) What is an infix expression?
Question - 99) What do you mean by static binding?
Question - 100) What do you mean by a node?
No comments:
Post a Comment