CBSE Board Computer Science Sample Papers for Class 11
Class – XI
Subject – Computer Science
Time: 3Hours Maximum Marks: 70
Note. (i) All questions are compulsory.
(ii) Programming Language: C++
1 a) What is an operating system? Explain its types? 2
b) What is the difference b/w Data & Information? 2
c) (i) Storage of 1 KB means the following number of bytes : 2
1) 1000 2) 964 3) 1042 4) 1024
(ii) One Megabyte is equivalent to
1) 210 Bytes 2) 220 Bytes 3) 230 Bytes 4) None of these.
d) State the basic units of the computer, Name the subunits that make up the CPU and give the function of each of the units. 2
e) Define System Software and what are its two main types? Give examples.2
f) What is Booting? 1
g) Which of the following are hardware and software? 1
(i) Capacitor (ii) Internet Explorer (iii) Hard disk (iv) UNIX
2 a) What is the difference b/w “while” & “do while” loop? 2
b) What are data types? What are all predefined data types in c++? 2
c) What will be the size of following constants? 1
‘\v’,”\v”,
d) Write the corresponding C++ expressions for the following mathematical expressions: 1
i) √ (a2+b2+c2) (ii) p+q/(r+s) 4
e) Evaluate the following, where a, b, c are integers and d, f are floating point numbers.
The value of a=8, b=4 and d=2.5
(i)f = a * b + a/b
(ii)c = d+a + b % a 2
3 a) What is the output of the following? 2
i) # include<iostream.h>
void main ( )
{
int i=0;
for (i=1; i<=20;i++)
{
cout<<i<<endl;
i=i+2;
}
}
ii) # include<iostream.h>
void main( )
{
a=3;
a=a+1;
if (a>5)
cout<<a;
else
cout<<(a+5);
} 2
iii) What will be the output of the following program segment? 3
If input is as: (a) c (b) m (c) a (d) v
cin >>ch;
switch (ch)
{ case ‘c’: cout<<”Computer Science”;
case ‘m’: cout<<”Mathematics”;
break;
case ‘a’: cout<<”Accoutant”;
break;
default: cout<<” wrong choice”;
}
iv) Determine the output:
2
for(i=10;i<=50;i+=10)
{
j=i/2;
cout<<j<<””;
}
v) What output will be the following code fragment produce?
void main( )
{
int val, res, n=1000;
cin>>val;
res = n+val >1750 ? 400:200;
cout<<res;
}
(i) if val=2000 (ii) if val=1000 (iii) if val=500 3
4 a) Find the error from the following code segment and rewrite the corrected code underlining the correction made. 2
# include(iostream.h)
void main ( )
int X,Y;
cin>>X;
for(Y=0,Y<10, Y++)
if X= =Y
cout<<Y+X;
else
cout>>Y; }
b) Convert the following code segment into switch case construct. 3
int ch;
cin>>ch;
If(ch = = 1)
{ cout<<“ Laptop”;
}
else If(ch = = 2)
{
cout<<“Desktop ”;
} else if(ch= = 3)
{
cout<<“Notebook”;
} else
{
cout<<“Invalid Choice”;
}
}
}
c) Convert the following code segment into while loop. 3
#include<iostream.h>
void main()
{ int i;
for(i=1;i<=20;++i)
cout<<”\n”<<i;
}
d) Given the following code fragment
int ch=20;
cout << ++ch<< “\n”<<ch<<”\n”;
i)What output does the above code fragment produce?
ii)What is the effect of replacing ++ ch with ch+1? 2
5 a) Which header files are required for the following?
(i) puts ( ) (ii) sqrt( ) (iii) clrscr( ) (iv) strlen( ) 2
b) Evaluate: 4
i) (120)10 = ( X)2
ii) (110001)2=(X)10
iii) (0100011)2=(X)10
iv) (97)10=(X)2
6 a) Write a C++ program to check a year for leap year or not. 2
b) Write a C++ program to check a number for Armstrong or not. 4
c) Write a C++ program to print day of the week corresponding to the number (1-7) entered using switch case statement. 4
d) Write a C++ program to design a menu for calculator and calculate the following operations :
1 for addition,2 for subtraction,3 for multiplication, 4 for division, 5 for exit the program. 4
e) Write a C++ program to print table a given number. 2
7. Explain the following term: (Give answer any six) 6
i) Variable
ii) Token
iii) Array
iv) Debugging
v) Comment
vi) Keyword
vii) Structure
CBSE Board Computer Science Sample Papers for Class 11 by Year
-
CBSE Board Computer Science Sample Papers for Class 11 for year 2011
Sample Paper – 2011 Class – XI Subject – Computer Science Time Allowed: 3 Hours Maximum Marks: 70 Instructions: (i) All questions are compulsory. (ii) Programming language: C++ 1.(i) (1010.11)2 = (___)8 [ 1 ] (ii) (6AF)16 = (___)2 [ 1 ] (iii) (10111)2 = (___)10...Read More
-
CBSE Board Computer Science Sample Papers for Class 11 for year 2007
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 ...Read More
-
CBSE Board Computer Science Sample Papers for Class 11 for year 2005
GUESS PAPER - 2005 Class - XI SUBJECT – COMPUTER SCIENCE 1. Write a menu driven program using functions 1.To convert an uppercase character in to lower case character(without using library functions) 2.To generate all three digits prime numbers. 3.To find the sum of the individual digits of a number. 2. Write a me...Read More
-
CBSE Board Computer Science Sample Papers for Class 11 for year 2008
Sample Paper – 2008 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 ...Read More
-
CBSE Board Computer Science Sample Papers for Class 11 for year 2009
Sample Paper – 2009 Class – XI Subject – Computer Science Time: 3Hours Maximum Marks: 70 Note. (i) All questions are compulsory. (ii) Programming Language: C++ 1 a) What is an operating system? Explain its types? 2 b) Wh...Read More
-
CBSE Board Computer Science Sample Papers for Class 11 for year 2010
Sample Paper – 2010 Class – XI Subject – Computer Science Time: 3Hours Maximum Marks: 70 Note. (i) All questions are compulsory. (ii) Programming Language: C++ 1 a) What is an operating system? Explain its types? 2 b) Wh...Read More
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.
Get help on CBSE Board Sample Question Paper for class 11 Now
Board Sample Paper
- CBSE Board Class 10 Biology 2007 2011
- CBSE Board Class 10 Social Science 2008
- Andhra Pradesh Board Class 12 Psychology 2011
- CBSE Board Class 10th Math Sample Paper 2007
- CBSE Board Class 12 English Elective 2009
- Madhya Pradesh Board Class 12 Hindi 2013-SET-4
- CBSE Board Class 12 Sample Paper of Physics For 2007
- CBSE Board Class 9 Math 2008
- CBSE Board Class 12 Biotechnology 2007
- CBSE Board Class 12 Fashion Studies 2007
Previous Year Paper
- CBSE Board Class 9 Math 2011
- CBSE Board Class 11 Biology 2011
- CBSE Board Class 11 Functional English 2009
- CBSE Board Class 12 Political Science 2011
- CBSE Board Class 11 History 2011
- ICSE Board Class 10 Geography 2008
- CBSE Board Class 11 English Core 2011
- CBSE Board 12 Political Science Previous Year Question Paper 2005
- CBSE Board Class 12 Business Studies 2005
- CBSE Board Class 11 Biology 2008
Syllabus
- Himachal Pradesh Board Class 11 Music (Hindustani Vocal)
- Rajasthan Board Class 12 Informatics Practices
- CBSE Board Class 7 Science
- CBSE Board 10th Science Syllabus
- Gujarat Board Class 10 Science
- Himachal Pradesh Board Class 12 Economics
- CBSE Board 12th Chemistry Syllabus
- Haryana Board Class 12 Business Studies
- Rajasthan Board Class 12 Political Science
- Madhya Pradesh Board Class 9 Urdu (special)



