CBSE Computer Science sample paper5 class XII 2007

Add to Favourites
Post to:

http://www.cbseguess.com/---------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com COMPUTER SCIENCE (Theory) CLASS -XII Time allowed: 2 hours Maximum Marks: 50 Note: (i) This question paper has three sections (ii) Section A -marks, Section B -marks and Section C -marks (iii) All questions are compulsory. (iv) Programming language: C++ Section-A 1. Answer the following: (a) Write the name of the header files to which the following built – in functions belong: i) exit(0) ii) isalnum() iii) frexp ( ) iv) setw() 4 (b) What do you understand by constructor in C++? Explain all the three constructors with examples. 4 (c) Define the following terms: i) Data abstraction ii) Encapsulation iii) Polymorphism 4 (d) List any five characteristics of destructors 4 (e) What is variable scope? What is the difference between Local and Global scope? Explain with an example 4 [20 Marks] Section -B 2. (a) Rewrite the following program after removing the syntactical errors (if any). Underline each correction. 5 #include [iostream.h] class PAYITNOW { int Charge; PUBLIC: void Raise( ){cin>>Charge;} void Show{cout< struct PLAY { int Score, Bonus; }; 2 void Calculate(PLAY &P, int N=10) { P.Score++; P.Bonus+=N; } [P.T.O] void main() { PLAY PL={10,15}; Calculate(PL,5); cout< void Changethecontent(int Arr[], int Count) { for (int C=1;C

Description
This content is useful for CBSE Students

Comments

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no:


Area code Number
Subjects you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy
62 Followers

Your Facebook Friends on WizIQ

Give live classes, create & sell online courses

Try it free Plans & Pricing

Connect