Revision tour of XI C++ Concepts (for XII CBSE Exam 2015)
QUESTION BANK-1
1.
Difference between the typecasting and automatic
type conversion. Give Example using C++ code.
2.
Diff between formal parameters and actual
parameters. Give Example using C++ code.
3.
What is escape sequence (Non graphic characters)
? Examples?
4.
What is token in C++ ? Examples?
5.
What are literals? How many types of literals
are available in c++ ?
6.
What is data type? How many data types are in
C++ ?
7.
What are Punctuators in C++ ? Example?
8.
What is reference?
9.
What is conditional operator (ternary operator )
?
10.
Diff b/w if-else
and switch case ? Example ?
11.
Diff b/w
while and do-while loop ?
12.
What is effect of absence of break statement in switch-case (fall through) ?
13.
What is compound and selection statement in
C++ ?
14.
What are jump statements in C ++ ( goto
, return , break and continue : 4 )?
15.
What are the functions used for console I/O ?
16.
Define Array ? Advantages and Disadvantages of
using arrays ?
17.
Define function ? Func prototype vs Func Definition ?
18.
Default Arguments ?
19.
Scope rules ?
20.
Passing 1D array , 2D array as arguments to
function.
21.
Standard Library function and Header files ?
22.
Concept of Random number generation random(),
randomize() function ?
23.
Diff b/w
structure and class ?
24.
Diff b/w structure and union ?
25.
Diff b/w
cal by value and call by reference ?
26.
Local var vs Global var ?
27.
Diff b/w a keyword and identifier ?
28.
What is special about main() function in a C++
program ?
29.
What are data type modifiers ? How they affect a
base data type ?
30.
What are diff tpes of errors ? Examples?
31.
Difference b/w
Runtime error and syntax error ?
32.
What is recursion ? what is recursive function ?
33.
Array initialization in 2-D array
34.
Precedence of operators ?
35.
Enumeration ?
36.
Declaration of constant variables?
37.
Formatting Output setw()
, setprecision () ?
38.
How to define MACRO in C++ ? Advantages?
Examples?
39.
Diff b/w MACRO and FUNCTION ?
40.
What is difference between character
constants and string literals in terms
of size ?
What is significance of null character (
‘\0’) in a string .
**************** TO BE CONTINUED/Extended........VISIT AGAIN *****************