CBSE Class 11 Computer Revision Worksheet

Read and download the CBSE Class 11 Computer Revision Worksheet in PDF format. We have provided exhaustive and printable Class 11 Computer Science worksheets for All Chapters, designed by expert teachers. These resources align with the 2025-26 syllabus and examination patterns issued by NCERT, CBSE, and KVS, helping students master all important chapter topics.

Chapter-wise Worksheet for Class 11 Computer Science All Chapters

Students of Class 11 should use this Computer Science practice paper to check their understanding of All Chapters as it includes essential problems and detailed solutions. Regular self-testing with these will help you achieve higher marks in your school tests and final examinations.

Class 11 Computer Science All Chapters Worksheet with Answers

1. What is an operating system? What are its functions?

2. What do you mean by utility software? Give one example.

3. What do you mean by Non-Pre emptive scheduling? Give examples

4. What do you meant by Pre emptive scheduling? Give examples.

5. What is meant by multiprogramming and multitasking?

6. Define device management.

7. Define file management.

8. What is a bus? How are they classified?

9. Convert (4A8C)16 to binary.

10. Convert 10010110101110 to hexadecimal.

11. Convert the following binary number to decimal
(a) 10010
(b) 101010

12. Convert the decimal no 84 to its binary equivalent.

13. Which character is automatically added to a string in C++?

14. What are the difference between a keyword and an identifier?

15. What is the input operator ”>>” and output operator “<<” called?

16. Write a program in C++ to accept marks in five subjects for a student and display the average mark.

17. Write a program in C++ to accept marks in five subjects for a student and display the average mark.

18. What is the difference between Runtime and Syntax errors?

19. What will be the character size of the following constants: ‘\a’, “\a”, “sachin\’s bat”.

20. What will be the character size of the following constants: ‘\a’, “\a”, “sachin\’s bat”.

21. What type of constants are the following: 14,011, 3.123, 0xA.

22. Given the following two definitions
Unsigned int u1=0, u2=7;
What is the result of each of the following expressions?
(a) u1&&u2 (b)u1||u2 (c)!u1 (d)!!u1

23. Given the following set of identifiers:
char ch;
short sh;
int intval;
log longval;
float fl;
Identify he datatype of the following expressions:
(a)’a’-3 (b)intval * longval - ch (c)fl + longval / sh

24. Predict and rectify errors:
int main()
{
                cout<<enter the two numbers;
                cin>>num>>auto;
                float area= length*breadth;
                cout<<area is<<area
}

25. Point out the errors in the following program
void main()
{                 cout<<”Enter a number”;
                cin>>no;
                square=no*no
                cout<<”The square is”<<square;

26. Correct the errors if any in the following expressions:
i) cout<<”a” a;
ii) cout>>”you are a fool”;
iii) int a; b ;
iv) include<conio.h>

27. Write a program in c++ to convert temperature in Celsius to Fahrenheit?

28. What output will be the following code fragment produce?
int val, res, n=1000;
cin>>val;
res = n+val >1750 ? 400 : 200;
cout<<res;
i) if the input is 2000 ii) if the input is 500

29. What is the result of the following expression:
a>=b&&(a+b)>a
(1) a=3,b=0 (2)a=7,b=7

30. Evaluate X=a++ + --a; if a=20 initially?

31. Write a c++ program to input two numbers and print their quotient and reminder ?

32. What data type is required for a variable to store 34000?

33. What is meant by type conversion?

34. What is meant by type promotion?

35. Program to accept three numbers and print the largest of these three numbers.

36. Write a program in c++ to check whether a given number is even or odd?

37. Write a program to calculate the factorial of an integer.

38. Write a program to print the first n natural umbers and their sum.

39. Write an alternative code for the following using switch-case construct:
char wish;
if( wish== ‘a’)
                cout<< “ YOU WILL GETT 40 OUT OF 40”;
else if( wish== ‘b’)
                cout<< “ MY FRIEND WILL GET 40 OUT OF 40”;
else if( wish== ‘c’)
                cout<< “ TEACHER WILL NOT GIVE 40 OUT OF 40”;
else
                cout<<”NO ONE WILL GET 40 OUT OF 40”;

40. Predict the out put :
i) for (int a=10;a>=0;a-=3);
                cout<<a;
ii) for( int outer=1;outer<10;outer+=4)

41. Write a program to print first n natural numbers and their sum.

42. Write a program to calculate and print the roots of a quadratic equation ax2+bx+c=0.

43. Write a program to check whether a number is prime or not.

44. Write equivalent while loop for the following for loop:
int sum;
for( int i=0,sum=0;i<10;i++)
                sum+=i;
cout<< sum;

1. Find error in the following program and give the suitable reason for the same
#include<iostream.h> 3
void main( )
{
         int x=10;
         char *p=&x;
         p=p*2;
         int *ptr=&p;
         cout<,**p;
         exit;
}

2 a) Find the output of the following program? 3
#include<iostream.h>
int & max( int &x, int &y)
{
         if (x> y )
                  return x ;
         else
return y;
}
         void main( )
{
         int a=10, b=20;
         max(a,b)= -1 ;
         cout<< a<< “ “<<b<<" ";
         max(b,a) =7 ;
         cout<< a++<< “ “<< b- -<<" ";
         max(a,b) =3 ;
         cout<< a<< “ “<<b<<" " ;
}

b) Find the output of the following program: 2
#include<iostream.h>
#include<string.h>
#include<ctype.h>
void convert(char str[],int len)
{
for(int c=0;c<len;c++)
{
if (isupper(str[c]))
str[c]=tolower(str[c]);
else if (islower(str[c]))
str[c]=toupper(str[c]);
else if (isdigit(str[c]))
str[c]=str[c]+1;
else str[c]=’*’;
}
}
void main()
{
char text[]=”MONDAY Test 2010”;
int size=strlen(text);
convert(text,size);
cout<<text<<endl;
for(int c=0,r=size-1;c<=size/2;c++,r--)
{
char temp=text[c];
text[c]=text[r];
text[r]=temp;
}
cout<<text<<endl;
}

c) Find the output of the following program? 2
#include<iostream.h>
int a=3;
void demo(int &x,int y,int *z)
{
a+=x;
y*=a;
*z=a+y;
cout<<a<<” “<<x<<” “<<y<<” “<<*z<<endl;
}
void main()
{
int a=2,b=5;
demo(::a,a,&b);
cout<<::a<<” “<<a<<” “<<b<<endl;
}

3. a) Write a function SORT to sort the 2D array containing N strings in alphabetical order. 5
b) Write a function to count number of words in a given string (of sentence ) that starts with consonant and return the count; 5
Example : In a string “ Monday test class eleven” number of word that starts with consonant are 3
Note – Between words there may be more than one spaces

1. Rewrite the following program after removing syntactical error(s) if any. Underline each correction.
(a) #include<iostream.h> 2
#define SIZE =10
VOID MAIN()
{
int a[SIZE]={10, ,30,40,50};
float x=2;
SIZE=5;
for(int i=0;i<SIZE;i++)
cout<<a[i]%x;
}
(b) #include<iostream.h> 2
#include<stdio.h>
#define int M=3;
void main( )
{ const int s1=10;
int s2=100;
char ch;
getchar(ch);
s1=s2*M;
s1+M = s2;
cout<<s1<<s2 ;}
(c) #include<iostream.h> 3
void main()
{
char a=65;
const int n;
n=10;
cout<<a/n;
n++;
cout<<char n;
}

2. What will be the output of the following program (Assuming all header files included)
void main() 2
{
           char a[]=”PrE BoArd ExAM-2009”;
int i;
           for(i=0;i<strlen(a);i++)
           if(a[i]>=97 && a[i]<=122)
     a[i]--;
else
if(a[i]>=’0’ && a[i]<=’9’)
     a[i]=a[i-1];
else
if(a[i]>=’A’ && a[i]<=’Z’)
          a[i]+=32;
     else
          a[i]=’#’;
puts(a);
}

(b) 3
void main( )
{
for ( int i =0; ++ i<4; i++)
{ cout<<”DPS ”;
          continue ;
          cout<< “School ”;
     cout<< i;
     }cout<< i ;
}

(c) void main()
{
int i=0,ua=0,ub=0,fail=0;
while(i<=5)
{
switch(i++)
{
case 1:
case 2: ++ua;
case 3:
case 4: ++ub;
default : ++fail;
}
}
cout<<ua<<" "<<ub<<" "<<fail;
}

2. (a) WAP to print n numbers of Fibonacci series . 4
(b) WAP to count number of digits in any number (integer). 4
(c) WAP to print the sum of the following without using mathematical formula. 4
1+(1+3)+(1+3+5)............
(d) Write a program to count number of words in a given string (of sentence) that starts with consonant
and print the count; 4
Example : In a string “ Monday test class eleven” number of word that starts with consonant are 3 Note –
Between words there may be more than one spaces

Q1. Write a C++ program for finding the simple interest.

Q2. Write a C++ program to print the Fibonacci series (0 1 1 2 3 5 8…. Upto n terms).

Q3. Differentiate between logical error and syntax error with example.

Q4. What is the role of main( ) in C++ program?

Q5. What is the range of values that an unsigned integer variable can store?

Q6. What are the lengths in bytes of long double variables?

Q7. Use a statement to print out the character variable letter.

Q8. Write a statement to assign the value 3 to the variable C1,C2,C3.

Q9. What is the name of “ - ” operator?

Q10. What is the purpose of size of operator?

Q11. Give the output of the following program segment?
int i=100, j=9;
cout<<i/j <<endl;

Q12. What will be the output of the following program?
#include<iostream.h>
int a=25;
void main()
{
int a=8;
cout<<a <<“ ”<<::a<<endl;
}

Q13. What will be the output of the following program segment?
#include <iostream.h>
void main()
{
int r, a=50, b=10;
r=(a>45)?a:b;
cout<<r;
}

Q14. What will be the output of the following program:
#include<iostream.h>
main()
{
float P=10.45;
P=P++ +1;
cout<< “P= “<<P;

Q15. Using the given values of x, y, and z, evaluate the following. (answer in true/false)
(x=y) || (!(z==y) & & (z<x))
(i) x=10, y=5, z=11 (ii) x=10,y=10,z=10
(iii) x=9,y=10,z=2 (iv) x=1,y=1,z=1

Q16. What are the differences between Unary and Binary operators? Give their examples.

Q17. What is a modular programming?

Q18. Name the different types of program maintenance.

Q19. Using control structure, write a C++ program to find the sum of all even numbers between 1 and 20.

Q20. Write a C++ program to find out the square of ‘n’ prime numbers.     

1. WAP to print sum of the series 1+3+5+7…….n terms

2. WAP to print multiplication table up to 10 of nay inputted integer.

3. WAP to print the sum of series S= x+X2/2+x3/3+x4/4……n terms

4. WAP to input 2 number and print whether it is divisible by 5 or 7 or both.

5. WAP to input length. Take the user choice of converting it from feet into inches or inches into feet.

6. WAP to input a no. If it is the even printout its square root, if it is odd then print out its cube root.

7. WAP to input 5 nos and print largest of them.

8. WAP to print first 20 fibbonaci nos.

9. WAP to input a no. and check whether it is prime or not.

10. WAP to print perfect no between m to n.

11. WAP to print area of all circles which have radius between 5 to 25 in step of 5.

12. WAP to input a character and check whether it is vowel or not.

13. WAP to input the no. of day and print its name in words(e.g. print Monday for 1)

14. WAP to input first 10 odd nos and their sum

15. WAP to input a no and check whether it is Armstrong no or not. In an Armstrong no the sum of the cube of the digits of the no is equal to the no. e.g. 153= 13+53+33

16. WAP to calculate the bonus of a salesman. A salesman get a bonus of 7% if sales are less than 10000 and 10% if greater than 10000. Input the sales and print out bonus.

17. WAP to input a single character and change its case.

18. WAP to input the choice of user to calculate the volume of a cylinder.

19. WAP to input the rollno and marks in 3 subjects of a student. Calculate the average marks and print the result with rollno , avg marks and grade. A student is given A grade if avg marks is greater than 80, B grade if avg marks are between 80 and 40 and C grade if its less than 40.

1. What is Table Join? Explain.

2. Explain the following Aggregate functions.

a. Sum b. Avg c. count d. max e.min

3. Write command for creating a table with following structure.

Customer : custid (p.k), custname, address, amount, discount, purchasedate Insert 5 records.

4. What is the difference between primary and foreign key?

5. What is the difference between alter and update command.

6. What is View? Explain its advantages.

7. What is date data type I mysql.

8. How a table can be removed in mysql?

9. How do you add a foreign key in a table?

10. What is the difference between round and truncate function?

11. Explain the following character functions.

a. char b. lower c. substr d. instr e.length

Chapter 6: Getting Started with C++

1. What is a lexical unit ? Name the lexical units being used in C++.

2. What are literals ? Explain the different types of literals being used in C++.

3. What is the difference between ‘=’ and ‘==’ operators?

4. Which of the following are valid/ invalid operands :
height , main , rollno-5 , my address , 2day , class

5. What is the difference between ‘5’ , 5 and “ 5” ?

6. Identify the errors in the following program :
void main()
{
int x
char endl;
x=3;
cin>>endl;
cout<<x<<3
}

7. Explain the two different ways to give comments in C++.

8. Differentiate between ‘<<’ and ‘>>’ operators.

9. ‘Every C++ program must have a main().’ Why ?

10. Explain the different types of errors that may occur while programming .

11. What will be the output of the following code :
(i) cout<<” #\n**\n###\n****\n “;
(ii) char a= ‘@’;
cout << a;
cout<<’a’;

PROGRAMS

(to be done in the lab during practical periods)

1. To create a formatted output screen as given in the lab.

2. Write a C++ program that accepts marks and displays the percentage. Assume maximum marks is 50.

3. Write a program that accepts the temperature in percentage and displays in Fahrenheit

4. Write a program that accepts length , breadth and then displays the area and perimeter of a rectangle.

Note :

1. All programs must have a comment entry on the top indicating what exactly the program is about.

2. Proper messages should be given for input and output operations.

3. All programs should be properly indented.

Chapter 7 : Data Handling

1. Name the fundamental data types along with the number of bytes they occupy.

2. Explain integer type modifies

3. Define the following –
(i) Array
(ii) Pointer
(iii) Reference
(iv) Enumeration

4. Differentiate between a class and a structure.

5. Explain ‘const’ modifier with an example.

6. Why do we need to initialize variable?

7. An unsigned int can be twice as large as signed int?

Programs

1. Write a program that accepts a number, say num and print num, num2, num3, num4 and num5.

2. Write a program to accept two numbers and print their quotient and reminder.

3. Write a program to compute simple interest after accepting principal, Rate and Time. Include the header file iomanip.h and display the S.I. using setw(), setprecision (), setf().

CBSE Computer Science Class 11 All Chapters Worksheet

Students can use the practice questions and answers provided above for All Chapters to prepare for their upcoming school tests. This resource is designed by expert teachers as per the latest 2026 syllabus released by CBSE for Class 11. We suggest that Class 11 students solve these questions daily for a strong foundation in Computer Science.

All Chapters Solutions & NCERT Alignment

Our expert teachers have referred to the latest NCERT book for Class 11 Computer Science to create these exercises. After solving the questions you should compare your answers with our detailed solutions as they have been designed by expert teachers. You will understand the correct way to write answers for the CBSE exams. You can also see above MCQ questions for Computer Science to cover every important topic in the chapter.

Class 11 Exam Preparation Strategy

Regular practice of this Class 11 Computer Science study material helps you to be familiar with the most regularly asked exam topics. If you find any topic in All Chapters difficult then you can refer to our NCERT solutions for Class 11 Computer Science. All revision sheets and printable assignments on studiestoday.com are free and updated to help students get better scores in their school examinations.

Where can I download the 2025-26 CBSE printable worksheets for Class 11 Computer Science Chapter All Chapters?

You can download the latest chapter-wise printable worksheets for Class 11 Computer Science Chapter All Chapters for free from StudiesToday.com. These have been made as per the latest CBSE curriculum for this academic year.

Are these Chapter All Chapters Computer Science worksheets based on the new competency-based education (CBE) model?

Yes, Class 11 Computer Science worksheets for Chapter All Chapters focus on activity-based learning and also competency-style questions. This helps students to apply theoretical knowledge to practical scenarios.

Do the Class 11 Computer Science Chapter All Chapters worksheets have answers?

Yes, we have provided solved worksheets for Class 11 Computer Science Chapter All Chapters to help students verify their answers instantly.

Can I print these Chapter All Chapters Computer Science test sheets?

Yes, our Class 11 Computer Science test sheets are mobile-friendly PDFs and can be printed by teachers for classroom.

What is the benefit of solving chapter-wise worksheets for Computer Science Class 11 Chapter All Chapters?

For Chapter All Chapters, regular practice with our worksheets will improve question-handling speed and help students understand all technical terms and diagrams.