CBSE Computer Science sample paper2 class XII 2006

Add to Favourites
Post to:

www.cbseguess.com -------------------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com Computer science Class: XII (SET – I) ---------------------------------------------------------------------------------------------------------------------Time Duration: 3 Hours Maximum Marks : 70 ---------------------------------------------------------------------------------------------------------------------Instructions: (i) All Questions are Compulsory. (ii) Programming Language : C++ ---------------------------------------------------------------------------------------------------------------------1. (a) Distinguish between an object and a class. (b) How does a pointer variable differ from a simple variable? (c) What is an inline function? Specify the conditions when you can not create inline function? (d) What are the advantages offered by inheritance? (e) What is a parameter? Differentiate between an actual and a formal parameter with an example? (2 X 5 = 10) 2. (a) Write the names of the header files to which the following belong : (i) gets() (ii) remove() (iii) abs() (iv) isupper() 2 (b) What will be the output of the following program : #include #include #include #include void changestring(char text[], int &counter) { char *ptr = text; int length=strlen(text); for(;counter void main() { int var1=5,var2=10; for(int i=1;i<=2;i++) { cout< #include #include #include void changestring(char text[], int &counter) { char *ptr = text; int length=strlen(text); for(;counter void main() { int var1=7,var2=20; for(int i=1;i<=2;i++) { cout<

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