CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020

Read and download CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 designed as per the latest question paper pattern and Class 12 examination guidelines issued by CBSE, NCERT and KVS. The past year Question Papers for Class 12 Computer Science have been provided with solutions which will help students to assess their performance and find out topics in Computer Science Class 12 which they need to improve to get better marks in Class 12 exams. After solving these last year papers also refer to solved Sample Papers for Class 12 Computer Science available on our website to build strong understanding of the subject

Computer Science Question Paper Class 12

Students can refer to the below Class 12 Computer Science Question Paper designed to help students understand the pattern of questions that will be asked in Class 12 exams. Please download CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020

Computer Science Class 12 Question Paper

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

We hope you liked the above provided CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020. To get an understanding of the type of questions which were asked in previous year exams, it is important for Class 12 students to refer to CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 that we have provided above. Students can download all the Question Papers for Class 12 Computer Science which were issued in the exams so that you can practise them and solve all types of questions which have been asked till now. By doing all CBSE Class 12 Computer Science Old Compartment Question Paper Solved 2020 PYP (previous year papers) you will understand the regular questions and MCQ questions for Class 12 Computer Science which are always asked and learn them so that you can get full marks in those questions. You can download CBSE Class 12 Computer Science Previous Year Question Papers and Class 12 Computer Science Sample Papers in PDF. You should attempt all the last year question paper for Class 12 and Class 12 Computer Science MCQ Test in examination conditions at home and then compare their answers with the solutions provided by our teachers.
 

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 question paper given on studiestoday for 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