Upload
vikas-saxena
View
212
Download
0
Embed Size (px)
DESCRIPTION
Xii Mat April-may
Citation preview
KENDRIYA VIDYALAYA NO 1, KALPAKKAM
CLASS XII - COMPUTER SCIENCE
MM 50DATE:Time allowed : 1.5 hours _______________________________________________________
Note:- (I) All questions are compulsory. (II)Programming Language : C++
SECTION A
Questions from 1 to 10 carries of 1 mark each.
1. Write the difference between while and do-while?
2. What do you mean by function prototype?
3. What do you mean by call by reference?
4. What is recursion?
5. By default all the members of a structure are:-
(i)Public(ii)Private(iii) protected
6. What is type modifier? Explain.
7. Give the output of the following program:-
void main()
{
int i=3; cout