CBSE Class 12 Computer Science Question Paper 2021 Set 02

Official CBSE Exam Papers for Class 12 Computer Science

Access comprehensive previous year question papers for Class 12 Computer Science using the CBSE Class 12 Computer Science Question Paper 2021 Set 02. Designed to align with the 2026-27 CBSE academic guidelines, these solved papers help students assess their exam readiness and understand official marking schemes.

Solved Previous Year Papers for Computer Science

Access the complete question paper PDF for Class 12 Computer Science below. Regular practice with these targeted exam papers builds familiarity with standard question patterns and helps secure higher marks in final evaluations.

CBSE Class 12 Computer Science Question Paper 2021 Set B. Students can download the last year board exams question papers using the link below. Free download of examination question papers with solutions. Last 10 year question papers should be practised to get better marks in examinations. 
 
1. (a) Out of the following, find those identifiers, which cannot be used for naming Variable, Constants or Functions in a C++ program : 
_Cost, Price*Qty, float, Switch, Address One, Delete, Number12, do
(b) Jayapriya has started learning C++ and has typed the following program. When she compiled the following code written by her, she discovered that she needs to include some header files to successfully compile and execute it. Write the names of those header files, which are required to be included in the code. 
void main()
{ float A, Number, Outcome;
cin>>A>>Number;
Outcome=pow(A,Number);
cout<<Outcome<<endl; }
(c) Rewrite the following C++ code after removing any/all syntactical errors with each correction underlined. 
Note : Assume all required header files are already being included in the program.
#define Equation(p,q)=p+2*q
void main()
{
float A=3.2;B=4.1;
C=Equation(A,B);
cout<<’Output=’<<C<<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.
typedef char STRING[80];
void MIXITNOW(STRING S)
{ int Size=strlen(S); for(int I=0;I<Size–1;I+=2)
{ char WS=S[I]; S[I]=S[I+1];
S[I+1]=WS; }
for(I=1;I<Size;I+=2)                    if(S[I]>=’M’ && S[I]<=’U’)
S[I]=’@’; }
void main()
{ STRING Word=”CRACKAJACK”; MIXITNOW(Word); cout<<Word<<endl; }
(e) Find and write the output of the following C++ program code : 
Note : Assume all required header files are already being included in the program.
class Stock
{
long int ID; float Rate; int Date;
public:
Stock() { ID=1001; Rate=200; Date=1; }
void RegCode(long int I,float R)
{
ID=I;
Rate=R;
}
 
Please click the link below to download pdf file of CBSE Class 12 Computer Science Question Paper 2021 Set B

Past Exam Papers & Solutions for Class 12 Computer Science

Download CBSE Class 12 Computer Science Question Paper 2021 Set 02 for Class 12 Computer Science

Explore downloadable past papers for Class 12 Computer Science. Utilizing the CBSE Class 12 Computer Science Question Paper 2021 Set 02 ensures complete preparedness by offering clear insights into historical question styles and marking expectations.

Master Marking Schemes and Time Management

Regular simulation of exam environments using past question documents builds crucial pacing abilities and eliminates last-minute test anxiety during Class 12 Computer Science assessments.

Offline Revision & Comprehensive Study Material

Pair your past paper revision with our official Class 12 Computer Science sample papers and online practice modules to achieve total curriculum mastery.

FAQs

Where can I download the official PDF for CBSE Class 12 Computer Science Question Paper 2021 Set 02?

The CBSE Class 12 Computer Science Question Paper 2021 Set 02 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 Question Paper 2021 Set 02 based on the official CBSE marking scheme?

Yes, the solutions for CBSE Class 12 Computer Science Question Paper 2021 Set 02 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 Question Paper 2021 Set 02 help in preparing for the 2026 exams?

Solving previous year papers like CBSE Class 12 Computer Science Question Paper 2021 Set 02 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 Question Paper 2021 Set 02 in different languages?

Yes, where applicable, CBSE Class 12 Computer Science Question Paper 2021 Set 02 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 Question Paper 2021 Set 02, are provided free of charge in mobile-friendly PDF.