CBSE Class 12 Computer Science (C++) 2015 Previous Year Question Paper (Outside-Set-1)
This is the CBSE Class 12 Computer Science (C++) Previous Year Question Paper from 2015 (Outside-Set-1). The paper is divided into sections, with Section A focusing on C++ programming and Section B on Python. Section C is compulsory for all students. Candidates must choose to answer either Section A or Section B. The paper is designed to assess students' understanding of programming concepts and their ability to apply them. Solving this board question paper will help students familiarise themselves with the exam pattern, question types, and marking scheme, ultimately aiding in their preparation and performance in the final examinations.
Quick info
| Board | CBSE |
|---|---|
| Class | 12 |
| Subject | Computer Science (C++) |
| Session | 2015 |
| Language | English |
| Type | Previous Year Question Paper |
| Exam type | Board Exam |
Paper pattern
The exam is divided into three sections: A (C++), B (Python), and C (Compulsory). Candidates must answer either Section A or Section B. The total marks for the paper are 70, with a time duration of 3 hours.
Topics covered
Paper topics
- C++ Identifiers
- C++ Header Files
- C++ Syntax Errors
- C++ Programs
Important topics
- C++ Identifiers
- C++ Header Files
- C++ Syntax Errors
PDF preview
Read page by page below. PDF is streamed from the official NCERT website — no download button on this page.
Question paper text
SET-4
Series SSO
Code No. 91
Roll No.
Candidates must write the Code on the
title page of the answer-book.
Please check that this question paper contains 20 printed pages.
Code number given on the right hand side of the question paper should be written on the title page of the answer-book by the candidate.
- Please check that this question paper contains 7 questions.
Please write down the Serial Number of the question before attempting it.
15 minute time has been allotted to read this question paper. The question paper will be distributed at 10.15 a.m. From 10.15 a.m. to 10.30 a.m., the students will read the question paper only and will not write any answer on the answer-book during this period.
COMPUTER SCIENCE
Time allowed: 3 hours
Maximum Marks: 70
Instructions:
(i) SECTION A refers to programming language <math>C++</math>.
- SECTION B refers to programming language Python.
- SECTION C is compulsory for all
- Answer either SECTION A or SECTION B.
- It is compulsory to mention on the page 1 in the answer book whether you are attempting SECTION A or SECTION B.
- All questions are compulsory within each section.
P.T.O. 91
SECTION A
[Only for candidates, who opted for C++]
- (a) Find the correct identifiers out of the following, which can be used for naming Variable, Constants or Functions in a C++ program :
2 For, while, INT, NeW, delete, 1stName, Add+Subtract, name1 1
- Observe the following program very carefully and write the names of those header file(s), which are essentially needed to
compile and execute the following program successfully:
typedef char STRING[80]; void main() { STRING Txt[] = "We love Peace"; int Count=0; while <math>(Txt[Count]!=' \setminus 0')</math> if (isalpha(Txt[Count])) Txt[Count++]='@'; else Txt[Count++]='#'; puts(Txt);
- Observe the following C++ code very carefully and rewrite it after removing any/all syntactical errors with each correction underlined.
2 Note: Assume all required header files are already being included in the program.
#Define float MaxSpeed=60.5;
void main() { int MySpeed char Alert='N'; cin>MySpeed; if MySpeed>MaxSpeed Alert='Y'; cout<<Alert<<endline; } 2 91
Frequently asked questions
What is this document?
This is the official CBSE Class 12 Computer Science (C++) Previous Year Question Paper from 2015, Outside-Set-1.
What is the structure of the paper?
The paper has three sections: A (C++), B (Python), and C (Compulsory). Students must attempt either Section A or Section B.
What is the total mark and time duration?
The Computer Science paper has a maximum of 70 marks and a time duration of 3 hours.
How does solving previous year papers help?
Solving previous year question papers helps students understand the board pattern, identify important topics, and improve their time management and scoring potential.
What are the key topics covered in Section A?
Section A of this paper covers C++ programming concepts, including identifiers, header files, and syntax error correction.
Content reviewed by the NCERT Help team. Editorial Team and update policy
Question Papers PDF on NCERT Help. URL unchanged for search indexing.