CBSE Class 11 Computer Revision Worksheet

Read and download free pdf of CBSE Class 11 Computer Revision Worksheet. Students and teachers of Class 11 Computer Science can get free printable Worksheets for Class 11 Computer Science All Chapters in PDF format prepared as per the latest syllabus and examination pattern in your schools. Class 11 students should practice questions and answers given here for Computer Science in Class 11 which will help them to improve your knowledge of all important chapters and its topics. Students should also download free pdf of Class 11 Computer Science Worksheets prepared by school teachers as per the latest NCERT, CBSE, KVS books and syllabus issued this academic year and solve important problems with solutions on daily basis to get more score in school exams and tests

Worksheet for Class 11 Computer Science All Chapters

Class 11 Computer Science students should refer to the following printable worksheet in Pdf for All Chapters in Class 11. This test paper with questions and answers for Class 11 will be very useful for exams and help you to score good marks

Class 11 Computer Science Worksheet for All Chapters

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().

More Study Material

CBSE Class 11 Computer Science All Chapters Worksheet

We hope students liked the above worksheet for All Chapters designed as per the latest syllabus for Class 11 Computer Science released by CBSE. Students of Class 11 should download in Pdf format and practice the questions and solutions given in the above worksheet for Class 11 Computer Science on a daily basis. All the latest worksheets with answers have been developed for Computer Science by referring to the most important and regularly asked topics that the students should learn and practice to get better scores in their class tests and examinations. Studiestoday is the best portal for Class 11 students to get all the latest study material free of cost.

Worksheet for Computer Science CBSE Class 11 All Chapters

Expert teachers of studiestoday have referred to the NCERT book for Class 11 Computer Science to develop the Computer Science Class 11 worksheet. If you download the practice worksheet for one chapter daily, you will get higher and better marks in Class 11 exams this year as you will have stronger concepts. Daily questions practice of Computer Science worksheet and its study material will help students to have a stronger understanding of all concepts and also make them experts on all scoring topics. You can easily download and save all revision worksheet for Class 11 Computer Science also from www.studiestoday.com without paying anything in Pdf format. After solving the questions given in the worksheet which have been developed as per the latest course books also refer to the NCERT solutions for Class 11 Computer Science designed by our teachers

All Chapters worksheet Computer Science CBSE Class 11

All worksheets given above for Class 11 Computer Science have been made as per the latest syllabus and books issued for the current academic year. The students of Class 11 can be rest assured that the answers have been also provided by our teachers for all worksheet of Computer Science so that you are able to solve the questions and then compare your answers with the solutions provided by us. We have also provided a lot of MCQ questions for Class 11 Computer Science in the worksheet so that you can solve questions relating to all topics given in each chapter. All study material for Class 11 Computer Science students have been given on studiestoday.

All Chapters CBSE Class 11 Computer Science Worksheet

Regular worksheet practice helps to gain more practice in solving questions to obtain a more comprehensive understanding of All Chapters concepts. Worksheets play an important role in developing an understanding of All Chapters in CBSE Class 11. Students can download and save or print all the worksheets, printable assignments, and practice sheets of the above chapter in Class 11 Computer Science in Pdf format from studiestoday. You can print or read them online on your computer or mobile or any other device. After solving these you should also refer to Class 11 Computer Science MCQ Test for the same chapter.

Worksheet for CBSE Computer Science Class 11 All Chapters

CBSE Class 11 Computer Science best textbooks have been used for writing the problems given in the above worksheet. If you have tests coming up then you should revise all concepts relating to All Chapters and then take out a print of the above worksheet and attempt all problems. We have also provided a lot of other Worksheets for Class 11 Computer Science which you can use to further make yourself better in Computer Science

Where can I download latest CBSE Printable worksheets for Class 11 Computer Science All Chapters

You can download the CBSE Printable worksheets for Class 11 Computer Science All Chapters for latest session from StudiesToday.com

Can I download the Printable worksheets of All Chapters Class 11 Computer Science in Pdf

Yes, you can click on the links above and download Printable worksheets in PDFs for All Chapters Class 11 for Computer Science

Are the Class 11 Computer Science All Chapters Printable worksheets available for the latest session

Yes, the Printable worksheets issued for Class 11 Computer Science All Chapters have been made available here for latest academic session

How can I download the Class 11 Computer Science All Chapters Printable worksheets

You can easily access the links above and download the Class 11 Printable worksheets Computer Science All Chapters for each chapter

Is there any charge for the Printable worksheets for Class 11 Computer Science All Chapters

There is no charge for the Printable worksheets for Class 11 CBSE Computer Science All Chapters you can download everything free

How can I improve my scores by solving questions given in Printable worksheets in Class 11 Computer Science All Chapters

Regular revision of practice worksheets given on studiestoday for Class 11 subject Computer Science All Chapters can help you to score better marks in exams

Are there any websites that offer free test sheets for Class 11 Computer Science All Chapters

Yes, studiestoday.com provides all latest NCERT All Chapters Class 11 Computer Science test sheets with answers based on the latest books for the current academic session

Can test papers for Class 11 Computer Science All Chapters be accessed on mobile devices

Yes, studiestoday provides worksheets in Pdf for All Chapters Class 11 Computer Science in mobile-friendly format and can be accessed on smartphones and tablets.

Are worksheets for All Chapters Class 11 Computer Science available in multiple languages

Yes, worksheets for All Chapters Class 11 Computer Science are available in multiple languages, including English, Hindi