CBSE Class 12 Computer Science (C++) Previous Year Question Paper 2015 Delhi-Set-1

Question Papers Class 12 PDF

This is the CBSE Class 12 Computer Science (C++) Previous Year Question Paper from 2015, specifically Delhi-Set-1. The paper is designed for students opting for the C++ programming language. It consists of multiple sections, with Section A focusing on C++ concepts, Section B on Python, and Section C being compulsory for all. Candidates must attempt either Section A or Section B. The paper is allotted a total of 3 hours and carries a maximum of 70 marks. It includes questions on C++ syntax, identifiers, header files, error correction, and program output. Solving this previous year's paper is crucial for students to understand the exam pattern, question types, and difficulty level, thereby enhancing their preparation and performance in the board examinations.

Quick info

BoardCBSE
Class12
SubjectComputer Science (C++)
Session2015
LanguageEnglish
TypePrevious Year Question Paper
Exam typeBoard Exam

Paper pattern

The paper is divided into sections, with candidates needing to attempt either Section A (C++) or Section B (Python), and Section C is compulsory. The total time allowed is 3 hours for a maximum of 70 marks.

Topics covered

Paper topics

  • C++ Identifiers
  • C++ Header Files
  • C++ Syntax Errors
  • C++ Program Output
  • C++ Functions

Important topics

  • C++ Identifiers
  • C++ Header Files
  • C++ Syntax Errors
  • C++ Program Output

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/1

Code No. 91/1

Roll No.

Candidates must write the Code on

the title page of the answer-book.

Please check that this question paper contains 16 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 11 questions.
  • Please write down the Serial Number of the question before attempting it.

<math>\bullet</math> 15 minutes 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

General Instructions:

  1. All questions are compulsory.
  2. Programming Language : Section A refers to C++
  3. Programming Language: Section B refers to Python.
  4. Attempt either Section A or Section B.
  5. Section C is compulsory for all.
  6. It is compulsory to mention 'Section A' or 'Section B' before attempting the question paper.

Section – A

(Only for C++ Candidates)

  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

While, for, Float, new, 2ndName, A%B, Amount2, _Counter

91/1 [P.T.O. 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: 1

typedef char TEXT[80]; void main() { TEXT Str[] = "Peace is supreme"; int Index=0; while (Str[Index]!='\0') if (isupper(Str[Index])) Str[Index++]='#'; else Str[Index++]=' *'; puts (Str);

  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 Max=70.0; Void main() { int Speed char Stop='N'; cin>>Speed; if Speed>Max Stop='Y'; cout << Stop << end;</pre>

  1. Write the output of the following C++ program code : 2 Note: Assume all required header files are already being included in the program. void Position(int &C1,int C2=3) { <math>C1+=2;</math> <math>C2+=Y;</math> } void main() { int P1=20, P2=4; Position (P1); cout << P1 << ", " << P2 << end1; Position(P2,P1); cout << P1 << ", " << P2 << end1; }

2 91/1

Frequently asked questions

What is this document?

This is the CBSE Class 12 Computer Science (C++) Previous Year Question Paper from 2015, Delhi-Set-1, for board exam practice.

What is the structure of the paper?

The paper has multiple sections, including C++ specific questions, Python specific questions, and a compulsory section. Candidates choose between C++ or Python sections.

How does solving this paper help?

Solving this previous year question paper helps students understand the board exam pattern, question types, and improve their scoring potential.

What is the duration and maximum marks?

The question paper is designed to be completed in 3 hours and has a maximum mark allocation of 70.

Which programming languages are covered?

Section A is for C++ candidates, Section B is for Python candidates, and Section C is compulsory for all.

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

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