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 the official PDF for CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020?

The CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 is available for download on StudiesToday.com. It includes complete set with all sections so that Class 12 students can practice with the exact same paper that came in the CBSE exams.

Are the solutions for CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 based on the official CBSE marking scheme?

Yes, the solutions for CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 are prepared by subject matter experts as per official marking scheme. Class 12 students will understand the structure of answers and 'step-marks' methodology Computer Science.

How does solving CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 help in preparing for the 2026 exams?

Solving previous year papers like CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 is important to understand repeat themes and question difficulty levels of Computer Science. It helps Class 12 students to test their time management skills too.

Can I access CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 in different languages?

Yes, where applicable, CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 is available in both English and Hindi mediums. All students from Class 12 can access Computer Science study material in their preferred language.

Is there a charge to download the CBSE Class 12 Computer Science solved papers?

No, all previous year question papers on StudiesToday, including CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020, are provided free of charge in mobile-friendly PDF.