Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
UNIT-I:
ABOVE AVERAGE QUESTIONS
SHORT QUESTIONS:
1. Explain Friend function with example?
8. What is polymorphism?
LONG QUESTIONS:
1. What do mean by Encapsulation and explain in detail?
2. What are the benefits of operator overloading? Explain binary operator
overloading.
3. Explain call by value and call by reference with an example?
4. What is the difference between constructor and copy constructor?
5. Define class template and function template. Give an Example?
6. Describe the syntax of hybrid inheritance in C++ with an example?
7. Explain performance algorithm.
8. Explain types of inheritance?
9. Explain in detail about Exceptional Handling with example?
AVERAGE QUESTIONS
SHORT QUESTIONS:
1. Define class and object?
function overloading.
8. Distinguished between private and protected access specifiers?
LONG QUESTIONS:
1. Differentiate between function overloading and function over riding?
2. What are the benefits of operator overloading?
3. Write a C++ program to distinguish default and parameterized
constructors with example?
4. Using function template writes a C++ program to sort array elements
using bubble sort technique.
5. Explain hierarchical inheritance with example?
6. Wite a C++ program to demonstrate destructor?
LONG QUESTIONS:
LONG QUESTIONS:
1. Explain Singly linked list with program?
2. Explain Queue in detail.WAC++ program to implement queue using
linked list.
AVERAGE QUESTIONS
SHORT QUESTIONS:
1. Explain Sparse matrix. How Sparse matrix can be represented efficiently
in memory?
2. What are the disadvantages of Singly linked list?
3. Differentiate between Arrays and linked list?
4. Write the Step for converting infix to postfix?
5. What is Circular linked list?
6. Evaluate the postfix expression 3 16 2 + * 12 6 / - ?
LONG QUESTION:
1. Give a postfix notation of the following infix expression
A*(B+C/(D+E))-F(G/H+I).
2. WAC++ program to implement stack using linked list.
LONG QUESTIONS:
1. Explain Queue in detail.WAC++ program to implement queue using
array.
LONG QUESTIONS:
1. Draw a binary tree
Preorder- F A E C D H G B
Inorder-E A C K F H D B G
2. Give the inorder and postorder traversal for tree whose preorder traversal is
ABC- -D- -E-F--. The letters correspond to labeled internal nodes the minus
signs to external nodes?
AVERAGE QUESTIONS
SHORT QUESTIONS:
1. Define complete Binary tree
2. What are the applications of binary tree?
3. Define binary tree and give binary tree node structure
LONG QUESTIONS:
1. Explain Binary Tree Traversal techniques with examples
2. Draw a binary Tree to represent the following expression.
(5+4* (6-7) ) /(5+8)
LONG QUESTIONS:
1. Explain about the representation of binary tree using array and linked list?
2. Implement a C++ program for Binary tree