CBSE Class 12 Computer Science 2015 Previous Year Question Paper (Outside Set 1)

Question Papers Class 12 PDF

This is the CBSE Class 12 Computer Science Previous Year Question Paper from 2015 (Outside Set 1). The paper is divided into three sections: Section A (for C++), Section B (for Python), and Section C (compulsory for all). Candidates must choose to answer either Section A or Section B. The question paper contains a total of 7 questions and is designed to be completed in 3 hours, with a maximum mark of 70. An additional 15 minutes are allotted for reading the question paper. Solving this board question paper helps students understand the exam pattern, question types, and marking scheme, thereby improving their preparation and performance in the final examinations.

Quick info

BoardCBSE
Class12
SubjectComputer Science
Session2015
LanguageEnglish
TypePrevious Year Question Paper
Exam typeBoard Exam

Paper pattern

The paper has 7 questions, divided into Section A (C++), Section B (Python), and Section C (compulsory). Candidates answer either Section A or B. The total marks are 70, and the time allowed is 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.

Preparing PDF preview…
Page of
Loading 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>.

  1. SECTION B refers to programming language Python.
  2. SECTION C is compulsory for all
  3. Answer either SECTION A or SECTION B.
  4. It is compulsory to mention on the page 1 in the answer book whether you are attempting SECTION A or SECTION B.
  5. All questions are compulsory within each section.

P.T.O. 91

SECTION A

[Only for candidates, who opted for C++]

  1. (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

  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);

  1. 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 document is the CBSE Class 12 Computer Science Previous Year Question Paper from 2015, Outside Set 1.

What is the structure of the paper?

The paper is divided into Section A (C++), Section B (Python), and Section C (compulsory). Candidates must attempt either Section A or Section B.

What is the duration and maximum marks?

The total time allowed is 3 hours, and the maximum marks for the paper are 70.

How does solving previous year papers help?

Solving previous year question papers helps students understand the board exam pattern, question types, and marking scheme, improving their confidence and performance.

What are the key topics covered in this paper?

This paper includes questions on C++ identifiers, header files, syntax error correction, and basic C++ programming concepts.

Content reviewed by the NCERT Help team. Editorial Team and update policy

Question Papers PDF on NCERT Help. URL unchanged for search indexing.