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

Question Papers Class 12 PDF

This is the CBSE Class 12 Computer Science (C++) Previous Year Question Paper from 2017 (Outside-Set-1). The paper is divided into three sections: Section A for C++, Section B for Python, and Section C which is 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 of 70 marks. An additional 15 minutes are allotted for reading the question paper. Solving this previous year paper helps students understand the exam pattern, question types, and marking scheme, thereby improving their preparation and performance in the board examinations.

Quick info

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

Paper pattern

The paper has 7 questions and is divided into three sections (A, B, C), with a total of 70 marks and a duration of 3 hours.

Topics covered

Paper topics

  • C++ Tokens
  • Header Files
  • Syntax Errors
  • Switch Statement

Important topics

  • C++ Tokens
  • Header Files
  • Syntax Errors
  • Switch Statement

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 GBM

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

General Instructions:

(i) SECTION A refers to programming language C++.

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

  1. Write the type of C++ tokens (keywords and user defined identifiers) from the following:
  2. new
  3. While
  4. case
  5. Num_2
  6. Anil typed the following C++ code and during compilation he found three errors as follows:
  7. Function strlen should have prototype
  8. Undefined symbol cout
  9. Undefined symbol endl On asking, his teacher told him to include necessary header files in the code. Write the names of the header files, which Anil needs to include, for successful compilation and execution of the following code: void main() { char Txt[] = "Welcome"; for(int C= 0; C<strlen(Txt); C++)</pre> <math>Txt[C] = Txt[C]+1;</math> cout<<Txt<<endl; }
  10. Rewrite the following C++ code after removing any/all syntactical

errors with each correction underlined. 2

Note: Assume all required header files are already being included in the program. void main() { cout<<"Enter an Alphabet:";</pre> cin>>CH; switch (CH) case 'A' cout<<"Ant";</pre> Break; case 'B' cout<<"Bear" ; Break;</pre> } 2 91

Frequently asked questions

What is this document?

This is a CBSE Class 12 Computer Science (C++) Previous Year Question Paper from 2017 (Outside-Set-1) for board exam practice.

What is the structure of the paper?

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

What is the total mark and time duration?

The paper carries a maximum of 70 marks and has a time duration of 3 hours, with an additional 15 minutes for reading.

How does solving this paper help students?

Solving this previous year question paper helps students understand the exam pattern, identify important topics, and improve their time management and scoring potential for the board exams.

What are the key topics covered in the provided text?

The provided text includes questions on C++ tokens, header files, identifying and correcting syntax errors, and the switch statement.

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

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