CBSE Computer Science sample paper Class XI 2011
http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com Sample Paper – 2010 Class – XI Subject – Computer Science [Operating systems, programming methodology, Fundamentals of C ++, I/O in C++, Operators & Expression, Control Statements] 1. What is an operating system? Give few o/s available. 1 2. What is a compiler? 1 3. What is a file? 1 4. Define a Process. 1 5. What is FIFO? 1 6. Define lexical. List few with examples. 1 7. Name three types of debugging errors. 1 8. Who developed the C ++ Programming language? 1 9. List any four internal Dos commands. 1 10. What is a class? Give one example. 1 11. What is the difference between „x‟ and “x” in c++? 2 12. What are Variables? Give examples using data types. 2 13. What is the difference between int and float data type? 2 14. What are the uses of these punctuators { } , ; [ ] ? 2 15. Define a stream and insertion operator in C++. 2 16. What is # include directive? What happens if iostream.h is not included in a program ? 2 17. What will be the output of the following program? 2 # include int i=20; void main() { int i=7; cout<< i<< “ “ << : : I << endl; } 18. How will you include comments in c++? How many types of comments are there in c++ language? 2 19. What are Unary and Binary operators? Give example 2 20. What is the difference between num=10; and num==10;? What is an assignment operator? 2 21. Write a program to enter marks in three subjects and calculate total and assign grade „A‟ if total is > =200 else assign grade „B‟ . 3 22. What are the sequence, iteration & Selection construct in c++? http://www.cbseguess.com/-------------------------------------------------------------------------------------------------------www.cbseguess.com Other Educational Portals www.icseguess.com | www.ignouguess.com | www.dulife.com | www.magicsense.com What are the purpose of loops in c++ ? 3 23. What is difference between logical & syntax errors? Give their examples 3 24. What is the difference between return ( ) and exit ( ) statement? 3 25. What is the difference between break and continue statement? 3 26. Write a program to find factorial of a number using While loop. 4 27. Find the syntax errors, if any in the following: 4 main() { int r w =90; while(w>60); { r=w-50; switch(w) { 20: cout<< “lower range” <
Description
This content is useful for CBSE Students
Presentation Transcript
Your Facebook Friends on WizIQ