Read and download PDF of CBSE Class 12 Computer Science Sample Paper 2017 Solved Set A designed as per the latest curriculum and examination pattern for Class 12 issued by CBSE, NCERT and KVS. The latest Class 12 Computer Science Sample Papers have been provided with solutions so that the students can solve these practice papers and then compare their answers. This will help them to identify mistakes and improvement areas in Computer Science Class 12 which they need to study more to get better marks in Class 12 exams. After solving these guess papers also refer to solved Class 12 Computer Science Question Papers available on our website to build strong understanding of the subject
Sample Paper for Class 12 Computer Science Pdf
Students can refer to the below Class 12 Computer Science Sample 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 Sample Paper 2017 Solved Set A
Computer Science Class 12 Sample Paper
1. (a) Find the correct identifiers out of the following, which can be used for naming variable, constants or functions in a C++ program.
For, while, INT, NeW, delete, 1stName, Add+Subtract, name1
(b) Write the names of the header files which are essentially required to run the following C++ code [1]
void main( )
{
char String[ ] = “ Anna Hazare” ;
cout<<setw(12) <<String <<” and “<<toupper(String[0]);
}
(c) Rewrite the following program after removing the syntactical errors (if any). Underline each correction [2]
#include [iostream.h]
class PAYITNOW
{
int Charge;
PUBLIC:
void Raise()
{
cin>>Charge;
}
void Show
{
cout<<Charge;
}
};
void main()
{
PAYITNOW P;
P.Raise();
Show();
}
(d) Find the output of the following program:
class Student
{ char grade;
int GP;
public: Student()
{
grade = ‘E’;
GP = 0;
}
void downgrade(int L)
{
grade - = L;
}
void upgrade(int L)
{ grade + = L;
GP + + ;
}
void show()
{
cout<<grade<<”@”<<GP<<endl;
}
};
void main()
{
Student s;
s.downgrade(4);
s.show();
s.upgrade(8);
s.show();
s.downgrade(5);
s.show();
}
(e) In the following program, what will be the output? Justify. [2]
#include <stdlib.h>
#include <iostream.h>
void main()
{
randomize();
int score [ ] = {25, 20, 34, 56, 72, 63}, myscore;
myscore = score[2 + random(2)];
cout << myscore <<endl;
}
i) 25 ii) 56 iii) 20 iv) None of these
(f) Find the output of the following program . [2]
void Location (int &X, int Y=4)
{
Y+= 2;
X+= Y;
}
void main()
{
int PX=10, PY=2;
Location (PY);
cout<<PX<<” ,”<<PY<<endl;
Location (PX, PY);
cout<<PX<<” ,”<<PY<<endl;
}
2. (a) What is function overloading? Write an example using C++ to illustrate the concept of function overloading. [2]
(b) Answer the questions (i) and (ii) after going through the following program:
class Match
{
int Time;
public:
Match() //Function 1
{
Time=0;
cout<<”Match commences”<<end1;
}
void Details() //Function 2
{
cout<<”Inter Section Basketball Match”<<end1;
}
Match(int Duration) //Function 3
{
Time=Duration;
cout<<”Another Match begins now”<<end1;
}
Match(Match &M) //Function 4
{
Time=M.Duration;
cout<<”Like Previous Match ”<<end1;
}
};
i) Which category of constructor - Function 4 belongs to and what is the purpose of using it?
ii) Write statements that would call the member Functions 1 and 3
(c) Define a class TEST in C++ with following description:
Private Members
• TestCode of type integer
• Description of type string
• NoCandidate of type integer
• CenterReqd (number of centers required) of type integer
• A member function CALCNTR() to calculate and return the number of centers as ((NoCandidates/100)+1)
Public Members
• A function SCHEDULE() to allow user to enter values for TestCode, Description, NoCandidate & call function CALCNTR() to calculate the number of Centres
• A function DISPTEST() to allow user to view the content of all the data members
(d) Given the following class definition, answer the questions that follow:
class Medicines
{
char Category[10];
char mfg_date[10];
char Company;
public
Please click the link below to download CBSE Class 12 Computer Science Sample Paper 2017 Solved Set A
CBSE Class 12 Computer Science Sample Paper 2023 Set A |
CBSE Class 12 Computer Science Sample Paper 2023 Solved |
CBSE Class 12 Computer Science Boards 2021 Sample Paper Solved |
CBSE Class 12 Computer Science Sample Paper 2021 Set A |
CBSE Class 12 Computer Science Sample Paper 2021 Set C Solved |
CBSE Class 12 Computer Science Sample Paper 2017 Solved Set A
We hope you liked the above provided CBSE Class 12 Computer Science Sample Paper 2017 Solved Set A. To get an understanding of the type of questions which were asked in exams, it is important for Class 12 students to understand the way sample Paper are set by teachers. Students can download the Sample Paper for Class 12 Computer Science which will be coming in the exams so that you can practise them and solve all types of questions that can be asked in exams. By doing CBSE Class 12 Computer Science Sample Paper 2017 Solved Set A you will understand the regular questions and MCQ questions for Class 12 Computer Science which are always asked. You can download CBSE Class 12 Computer Science Sample Paper and Class 12 Computer Science Question 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.
You can download CBSE Class 12 Computer Science Sample Paper 2017 Solved Set A from StudiesToday.com
Regular practice of sample question paper given on studiestoday for CBSE Class 12 Computer Science Sample Paper 2017 Solved Set A can help you to score better marks in exams
Yes, studiestoday.com provides all latest CBSE Class 12 Computer Science Sample Papers with answers based on the latest format issued for current academic session
Yes, mock CBSE Class 12 Computer Science Sample Paper 2017 Solved Set A are available in multiple languages, including English, Hindi