CBSE Class 12 Computer Science 2017 Previous Year Question Paper (Outside Set 1)
This is the CBSE Class 12 Computer Science Previous Year Board Question Paper for the 2017 examination, specifically Outside Set 1. The paper is divided into three sections: Section A for C++ programming, Section B for Python programming, and Section C which is compulsory for all students. Candidates must choose to answer either Section A or Section B. The paper carries a total of 70 marks and is to be completed within 3 hours. It includes questions on C++ tokens, header files, and syntax correction, as well as Python concepts. Solving this previous year paper is crucial for students to understand the exam pattern, identify important topics, and enhance their problem-solving skills for the upcoming board examinations.
Quick info
| Board | CBSE |
|---|---|
| Class | 12 |
| Subject | Computer Science |
| Session | 2017 |
| Language | English |
| Type | Previous Year Question Paper |
| Exam type | Board Exam |
Paper pattern
The paper is divided into Section A (C++) and Section B (Python), with Section C being compulsory. Candidates must attempt either Section A or Section B.
Topics covered
Paper topics
- C++ Tokens
- Header Files
- Syntax Correction
- Python Programming
Important topics
- C++ Keywords and Identifiers
- String Manipulation in C++
- Switch Statements in C++
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 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++.
- 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++]
1. 2 1
- Write the type of C++ tokens (keywords and user defined identifiers) from the following:
- new
- While
- case
- Num_2
- Anil typed the following C++ code and during compilation he found three errors as follows:
- Function strlen should have prototype
- Undefined symbol cout
- 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; }
- 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 document is the CBSE Class 12 Computer Science Previous Year Board Question Paper from 2017, Outside Set 1, designed for exam practice.
What is the total mark and time duration for the exam?
The Computer Science exam is for a maximum of 70 marks and has 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 marks in the final examination.
What are the sections in this paper?
The paper has Section A (C++), Section B (Python), and Section C (Compulsory for all). Students must choose to answer either Section A or Section B.
What topics are covered in this paper?
This paper covers topics like C++ tokens, header files, syntax correction, and concepts from Python programming.
Content reviewed by the NCERT Help team. Editorial Team and update policy
Question Papers PDF on NCERT Help. URL unchanged for search indexing.