CBSE Board Class 11 Computer Science Sample Papers 2007


CBSE Board Sample Papers 2007 for Class 11 Computer Science

ample Paper – 2007
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 { } , ; [ ] ?

15. Define a stream and insertion operator in C++.

16. What is # include directive? What happens if iostream.h is not included in a program ?

17. What will be the output of the following program?

# include <iostream.h>
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?

19. What are Unary and Binary operators? Give example

20. What is the difference between num=10; and num==10;?
What is an assignment operator?

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‟ .

22. What are the sequence, iteration & Selection construct in c++? What are the purpose of loops in c++ ? 3

23. What is difference between logical & syntax errors?
Give their examples

24. What is the difference between return ( ) and exit ( ) statement?

25. What is the difference between break and continue statement?

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” <<endl

30: cout<<” middle range”<< endl;
}
}

28. Describe switch statements .What is the difference between if
and switch statements.

29. Write a for loop which will produce the following output.
1
22
333
4444
55555

30. a) . Explain local and global identifiers in a c++ program.
b) . What is a logical operator? Give examples.
31. a) . Define arrays and pointers with simple exression.
b) . Define the terms Polymorphism & Inheritance.

CBSE Board Best Sellers

In order to keep pace with technological advancement and to cope up with CBSE Board examinations, Pearson group has launched Edurite to help students by offering Books and CDs of different courses online.

Sign Up FREE

Get help on CBSE Board Sample Question Paper for class 11 Now

ALWAYS LEARNING