CBSE Class 12 Computer Science Question Paper 2021 Set 01

Previous Year Question 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 01. Designed to align with the 2026-27 CBSE academic guidelines, these solved papers help students assess their exam readiness and understand official marking schemes.

Practice Class 12 Computer Science Exam Papers

Navigate directly to the solved Computer Science question papers using the digital viewer below. Each practice set includes detailed solutions, allowing students to instantly cross-check their work and identify areas requiring further revision.

CBSE Class 12 Computer Science Question Paper 2021 Set A. 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) Explain in brief the purpose of function prototype with the help of a suitable example. 

(b) Name the header files that shall be needed for successful compilation of the following C++ code : 
void main()
{ char str[20],str[20];
gets(str);          strcpy(str1,str);           strrev(str);              puts(str);             puts(str1); }
(c) Deepa has just started working as a programmer in STAR SOFTWARE company. In the company she has got her first assignment to be done using a C++ function to find the smallest number out of a given set of numbers stored in a one-dimensional array. But she has committed some logical mistakes while writing the code and is not getting the desired result. Rewrite the correct code underlining the corrections done. Do not add any additional statements in the
corrected code. 
int find(int a[],int n)
{ int s=a[0];
for(int x=1;x<n;x++)
if(a[x]>s)
a[x]=s;
return(s);
}
(d) Find output of the following program segment : 
#include<iostream.h>
#include<ctype.h>
void Mycode(char Msg[], char CH)
{
for (int cnt=0;Msg[cnt]!=‘\0’;cnt++)
{ if(Msg[cnt]>=‘B’&& Msg[cnt]<=‘G’)                                     Msg[cnt]=tolower(Msg[cnt]);
else
if(Msg[cnt]==‘N’||Msg[cnt]==‘n’ Msg[cnt]==‘’)
Msg[cnt]=CH; else
if(cnt%2==0)
Msg[cnt]=toupper(Msg[cnt]);
else
Msg[cnt]=Msg[cnt–1]; } }
void main()
{ char MyText[]="Input Raw";
Mycode(MyText,‘@’);
cout<<"NEW TEXT:"<<MyText<<endl; }
(e) Find the output of the following program : 
#include<iostream.h>
void in(int x,int y, int &z)
{ x+=y;
y- -;
z*=(x–y); }
void out(int z,int y, int &x)
{ x*=y; y++;
z/=(x+y); }
 
Please click the link below to download pdf file of CBSE Class 12 Computer Science Question Paper 2021 Set A

CBSE Class 12 Computer Science Question Paper 2021 Set 01 & Previous Year Question Papers for Class 12 Computer Science

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

Access structured past examination sets for Class 12 Computer Science. Solving the CBSE Class 12 Computer Science Question Paper 2021 Set 01 provided above helps students understand actual exam difficulty levels, question formats, and topic distributions for both descriptive and objective sections.

Master Marking Schemes and Time Management

Practicing past question sets under timed home conditions helps refine pacing and time management skills, ensuring you complete your Computer Science examination comfortably within the official duration.

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 01?

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

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

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

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