CBSE Class 12 Computer Science Revision Worksheet

Access the latest CBSE Class 12 Computer Science Revision Worksheet. We have provided free printable Class 12 Computer Science worksheets in PDF format, specifically designed for All Chapters. These practice sets are prepared by expert teachers following the 2025-26 syllabus and exam patterns issued by CBSE, NCERT, and KVS.

All Chapters Computer Science Practice Worksheet for Class 12

Students should use these Class 12 Computer Science chapter-wise worksheets for daily practice to improve their conceptual understanding. This detailed test papers include important questions and solutions for All Chapters, to help you prepare for school tests and final examination. Regular practice of these Class 12 Computer Science questions will help improve your problem-solving speed and exam accuracy for the 2026 session.

Download Class 12 Computer Science All Chapters Worksheet PDF

Revision Tour
 
1. What is the difference between Global and Local Variables? Give an example to illustrate the same.
 
2. Illustrate the use of inline function in C++ with the help of an example.
 
3. Differentiate between Run Time Error and Syntax Error. Also give suitable examples of each in C++.
 
4. Differentiate between a Logical and Syntax error. Also give suitable examples of each in C++.
 
5. What is the difference between #define and const? Explain with suitable example.
 
6. What is the purpose of using typedef command in C++? Explain with suitable example.
 
7. What is the difference between type casting and automatic type conversion? Explain with suitable example.
 
8. What is the difference between Call By Value and Call By Reference in a user defined function in C++? Give an example to illustrate the same.
 
9. What is the difference between Actual parameter and Formal parameter? Give an example in C++ to illustrate both type of parameters.
 
10. Name the Header files that shall be needed for successful compilation of the following C++ code:
 
void main( )
{ char Text[40];
strcat(Text, ”AISSES”);
puts(Text); }
 
11. Name the Header files that shall be needed for successful compilation of the following C++
code:
void main() {
char String[] = “Peace”;
cout << setw(20) <
 
12. Name the Header files that shall be needed for successful compilation of the following C++
code:
void main() {
char Str[30], ch; cin>>Str;
cin>>Str; ch = tolower(Str[0]);
cout << ”The first Character of “ << Str << ” = “ << ch; }
 
13. Re Write the following program after removing the syntactical error(s), if any. Underline each correction.
#include
constint Divider 5;
void main(){
Number = 15;
for (int Count = 1, Count<=5; Count++, Number-=3)
if ( Number%Divider == 0 )
cout<
cout << endl;
else
cout<
}
 
14. Find the Output of the following program:
 
#include
#include
#include
void Change(char Msg[], int Len)
{
for (int Count=0; Count
{
if (islower(Msg[Count]))
Msg[Count] = toupper(Msg[Count]);
else if (isupper(Msg[Count]))
Msg[Count] = tolower(Msg[Count]);
else if (isdigit(Msg[Count]))
Msg[Count] = Msg[Count] + 1;
elseMsg[Count] = '*';
}
}
void main()
{
char Message[] = "2018 All The Best Class 12";
int Size = strlen(Message);
Change(Message, Size);
cout<< Message <
for (int C = 0, R = Size-1; C <= Size/2; C++, R--)
{
char Temp = Message[C];
Message[C] = Message[R];
Message[R] = Temp;
}
cout<
}
 
15. Observe the following program GAME.CPP carefully, if the value of Num entered by the user is 3, choose the correct possible output(s) from the options from (i) to (iv), and justify your opinion.

#include

#include

void main()
{
randomize(); intNum, Rndnum; cin>>Num;
Rndnum = random(Num) + 5;
for (int N = 1; N <= Rndnum; N++)
cout<< N<< " ";
}
Output Options: (i) 1 2 3 4 (ii) 1 2 3 4 5 6 7 8 9 (iii) 1 2 3 4 5 6 (iv) 1234567
 
16. Find the Output of the following program:
 
#include
int x = 10;
void pass(int&a, int b, int&c)
{
int x = 4; c += x;
a *= ::x; b += c;
}
void main()
{
int y = 1, x = 2;
pass(y, ::x, x); cout<< x << ':' << y << ':' << ::x; cout<
pass(::x, x, y); cout<< x << ':' << y << ':' << ::x;
}
 
17. Find the Output of the following program:
 
#include
void main()
{
long NUM=1234543;
int F=0, S=0;
do{
int Rem = NUM%10;
if (Rem % 2 != 0)
F+=R;
else S+=R;
NUM /=10;
}while (NUM>0);
cout<< F-S;}
 
18. Rewrite the following program after removing syntactic error(s) if any. Underline each correction:
 
#include
const int MAX 10;
void main() {
int Numbers{MAX};
Numbers = {20,50,10,30,40};
for(Loc = Max – 1; Loc>= 0; Loc--)
cout>> Number[Loc];
 
19. Find the output of the following program:
 
#include
voidWithdef(int HisNum = 30)
{
for (int I=20; I<=HisNum; I+=5)
cout<< I << ",";
cout<
}
void Control(int &MyNum)
{
MyNum+=10;
Withdef(MyNum);
}
void main()
{
intYourNum=20;
Control(YourNum);
Withdef();
cout<<"Number=" <
}
 
20. In the following program what is the expected value of MyMarks from Options (i) to (iv) given below. Justify your answer.
 
#include
#include
void main() {
randomize(); int Marks[] = {99,92,94,96,93,95}, MyMarks;
MyMarks = Marks[1+random(2)];
cout<
}
Output Options : (i) 99 (ii) 94 (iii) 96 (iv) None of the above.


Please click on below link to download CBSE Class 12 Computer Science Revision Worksheet

All Chapters CBSE Class 12 Computer Science Worksheet

Students can use the All Chapters practice sheet provided above to prepare for their upcoming school tests. This solved questions and answers follow the latest CBSE syllabus for Class 12 Computer Science. You can easily download the PDF format and solve these questions every day to improve your marks. Our expert teachers have made these from the most important topics that are always asked in your exams to help you get more marks in exams.

NCERT Based Questions and Solutions for All Chapters

Our expert team has used the official NCERT book for Class 12 Computer Science to create this practice material for students. After solving the questions our teachers have also suggested to study the NCERT solutions  which will help you to understand the best way to solve problems in Computer Science. You can get all this study material for free on studiestoday.com.

Extra Practice for Computer Science

To get the best results in Class 12, students should try the Computer Science MCQ Test for this chapter. We have also provided printable assignments for Class 12 Computer Science on our website. Regular practice will help you feel more confident and get higher marks in CBSE examinations.

Where can I download the latest PDF for CBSE Class 12 Computer Science Revision Worksheet?

You can download the teacher-verified PDF for CBSE Class 12 Computer Science Revision Worksheet from StudiesToday.com. These practice sheets for Class 12 Computer Science are designed as per the latest CBSE academic session.

Are these Computer Science Class 12 worksheets based on the 2026 competency-based pattern?

Yes, our CBSE Class 12 Computer Science Revision Worksheet includes a variety of questions like Case-based studies, Assertion-Reasoning, and MCQs as per the 50% competency-based weightage in the latest curriculum for Class 12.

Do you provide solved answers for CBSE Class 12 Computer Science Revision Worksheet?

Yes, we have provided detailed solutions for CBSE Class 12 Computer Science Revision Worksheet to help Class 12 and follow the official CBSE marking scheme.

How does solving CBSE Class 12 Computer Science Revision Worksheet help in exam preparation?

Daily practice with these Computer Science worksheets helps in identifying understanding gaps. It also improves question solving speed and ensures that Class 12 students get more marks in CBSE exams.

Is there any charge for the Class 12 Computer Science practice test papers?

All our Class 12 Computer Science practice test papers and worksheets are available for free download in mobile-friendly PDF format. You can access CBSE Class 12 Computer Science Revision Worksheet without any registration.