CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020

Access and download CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020, carefully designed as per the latest 2025-26 examination guidelines issued by CBSE, NCERT, and KVS. These Class 12 Computer Science previous year question papers include detailed solutions, helping students to assess their performance and identify and improve key areas before the final exams.

Solved Computer Science Question Papers for Class 12

Practicing these Class 12 Computer Science question papers is the best way to understand the actual exam pattern and marking scheme. By solving these papers under timed conditions, Class 12 students can improve their speed and accuracy. Download the full CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 to begin your self-assessment today.

Computer Science Class 12 Question Paper PDF with Solutions

SECTION A
[Only for candidates, who opted for C++]
1. (a) Identify the valid keywords in C++ from the following :
(i) If
(ii) for
(iii) case
(iv) Object
(v) struct
(vi) sub
(vii) float
(viii) My_class
(b) Write the names of the correct header files, which must be included in the following C++ code to compile the code successfully :
void main()
{
int X = random(10);
int Y = random(20);
cout<<"sum of "<<X<<" and "<<Y<<" = "<<X+Y<<endl;
}
(c) Rewrite the following C++ program after removing any/all
syntactical errors with each correction underlined :
Note : Assume all required header files are already included in the
program.
void main()
{
cout<<"Enter two integers";
cin>>A>>B;
if A <= B
A += B;
B –= 5;
else
{
B = B + A;
A – 5 = A;
}
cout<<A<<" : "<< B << Endl;
}
 
(d) Find and write the output of the following C++ program code :
 
Note : Assume all required header files are already included in the program.
void ChangeVal(int *M, int N)
{
for(int i=0;i<N ; i++)
{
if (*M%5 == 0)
*M /= 5;
if (*M%3 == 0)
*M /= 3;
M++;
}
}
void main()
{
int Val[]={25,8,75,12};
ChangeVal(Val,4);
for(int i=0;i<4; i++)
cout<<Val[i]<<"*";
cout<<endl;
}
(e) Find and write the output of the following C++ program code :
 
Note : Assume all required header files are already included in the program.
struct Product
{
int X, Y;
};
void Change(Product &P)
{
P.X += 5; P.Y –= 5;
}
void Multiply(int P1, int P2)
{
cout<<"First = "<<P1<<" & Second = "<<P2<<endl;
cout<<"Product = "<<P1*P2<<endl;
}
void main()
{
Product P[] = {{7,10},{10,7},{7,7}};
for(int i=0; i<3; i++)
{
Change(P[i]);
Multiply(P[i].X, P[i].Y);
}
}
 
Please click on below link to download CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020.

CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020

To understand the types of questions asked in past examinations, it is very important for Class 12 students to solve the CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 provided above. You can easily download these past papers for Class 12 Computer Science in PDF format for the last 10 years. By practicing these actual exam questions you will gain an understanding of the difficulty level and the variety of topics covered over the years. By solving these Previous Year Papers (PYPs) you will understand both descriptive and MCQ questions in your final tests.

Importance of solving CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020

Regularly practicing CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 is the best way to improve your score in Class 12 Computer Science. These papers will give you details of the marking scheme and the paper structure used by the CBSE. By regularly attempting these under actual exam conditions at home, you can slowly improve your time management skills, which will help you to complete your Computer Science paper within the allowed duration.

Benefits of downloading CBSE Class 12 Question Papers

Having the CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 in PDF format allows you to revise key concepts anywhere, even without an internet connection. These sets are a reliable tool to practice numerical problems and understand the correct approach to all types of answers. After solving the questions, you should compare your work with the solutions provided by our teachers. Along with these papers, students should always solve the Class 12 Computer Science Sample Papers and MCQ tests on studiestoday.com for a complete revision.

Where can I download CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 in Pdf

You can download CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 from StudiesToday.com

How can I download and print CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020

You can easily access the link above and download CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 and save on your computer of mobile

How can I improve my scores by solving CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020

Regular practice of sample CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 can help you to score better marks in exams

Are there any websites that offer free CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020

Yes, studiestoday.com provides all latest CBSE Class 12 Computer Science Question Papers with answers based on the latest format issued for current academic session

Are mock CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 available in multiple languages

Yes, mock CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 are available in multiple languages, including English, Hindi