Trending ▼   ResFinder

# CBSE XII Sample / Mock 2009 : COMPUTER SCIENCE with Answers (Paper I)

26 pages, 43 questions, 0 questions with responses, 0 total responses,    0    0
 cbse12 +Fave Message ProfileTimelineUploadsQ & A
 Home > cbse12 > SAMPLE / MOCK Question Papers : CBSE Board Class 12 >

Formatting page ...

Computer Science (Code 083) Sample Paper Set - 1 Max. Marks: 70 Duration: 3 Hours 1. (a) What is the difference between Global Variable and Local Variable? 2 (b) Write the names of the header files to which the following belong: (i) strcmp() (ii) fabs() 1 (c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. 2 #include [iostream.h] class PAYITNOW { int Charge; PUBLIC: void Raise(){cin>>Charge;} void Show{cout<<Charge;} }; void main() { PAYITNOW P; P.Raise(); Show(); } (d) Find the output of the following program: #include <iostream.h> struct PLAY { int Score, Bonus;}; void Calculate(PLAY &P, int N=10) { P.Score++;P.Bonus+=N; } void main() { PLAY PL={10,15}; Calculate(PL,5); cout<<PL.Score<< : <<PL.Bonus<<endl; Calculate(PL); cout<<PL.Score<< : <<PL.Bonus<<endl; Calculate(PL,15); cout<<PL.Score<< : <<PL.Bonus<<endl; } 3 (e) Find the output of the following program: #include <iostream.h> #include <ctype.h> void Encrypt(char T[]) { for (int i=0;T[i]!='\0';i+=2) if (T[i]=='A' || T[i]=='E') T[i]='#'; else if (islower(T[i])) T[i]=toupper(T[i]); else T[i]='@'; } 2 -1-

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Formatting page ...

Additional Info : CBSE Class XII Board Solved Sample / Mock Question Paper 2009 Computer Science with Answers
Tags : CBSE Board 2009, Specimen Question Paper Computer Science, solved sample mock guess question paper, cbse class XII syllabus, cbse class 12 previous years model papers, cbse, cbse papers, cbse sample papers, cbse books, portal for cbse india, cbse question bank, central board of secondary education, cbse question papers with answers, prelims preliminary exams, pre board exam papers, cbse model test papers, solved board question papers of cbse last year, previous years solved question papers, free online cbse solved question paper, cbse syllabus, india cbse board sample questions papers, last 10 years cbse papers, cbse question papers 2017, cbse guess sample questions papers, cbse important questions, specimen / mock papers 2018.