Class-XII
Important question set
CHAPTER- Programming in C++
1 What is friend function? What do you meant by function overloading?
2 Define function. Write a program to find factorial of a number using function.
3 In______ loop the body of loop is executed at least once.
4 Differentiate between(i) call by value and call by reference (ii) constant and variable (iii) entry controlled and exit controlled loops (iv)
assignment and equality operator
5 C++ can be used as _________as well as _______ language.
6 What are primitive and non-primitive data types?
7 What is dangling else problem? Suggest solution for the same.
8 Explain various control structures?
9 Define structure. Write syntax to declare a structure in c++.
10 List properties of a structure.
11 How the members of a structure are accessed outside the structure.
12 C++ was developed by _____________________.
13 What do you mean by comment? How the single linerc and multi-liner comment is passed in C++ program?
14 What do you mean by ternary operator (or conditional operator?Give example.
15 What do you mean by (1) sizeof operator (2) compound assignment operators?
16 what are formal and actual parameters in a function?
17 what do you meant by header file? Why do we add them in a c++ program?
18 what do you meant by literals? What are the various types of it?
19 what do you meant by type conversion and type casting? Give example.
20 what is the difference between constant and variable?