CBSE Class XI Computer Science sample paper2008
http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com Sample Paper -2008 Class-XI Subject – Computer Science Max Marks 70 Duration 3 hrs Note:-All questions are compulsory Figures to right indicate full marks Use c++ as programming language This question paper contains 31 questions Q1) a)Name any 4 internal Dos commands ? 2 b) What are wild cards ? 2 c) Define operating system ? 2 Q2) a) What stylistic guidelines may be followed to design a good program ? 2 b) What do you mean by syntax error? Mention any 2 syntax errors occurring in any cpp program 3 c)Give different stages of program development ? 3 d) Why are logical errors harder to locate ? 2 Q3) a) India 12 a is correct or incorrect variable name in cpp 1 b) Which loop is an exit control loop in c++? 1 c) Define an array 1 d) Function definition in cpp is followed by ; ( semicolon). True or False 1 e) What does following function prototype means 2 a) void findsum(int &,int) b) int value(int x,int y, int r=5); f) What output does following code fragment produce 2 : : int stock[ ]={ 10,22,15,12,18}; int total=0; for(int I=0; I<5; ++I) { if(stock[I]>15) total+=stock[I]; http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com } cout< void execute(int &x,int y=200) { int temp=x+y; x+=temp; if(y!=200) cout<
Description
This content is useful for CBSE Students
Presentation Transcript
Your Facebook Friends on WizIQ