CBSE Class 12 Computer Science 2017 Delhi Set 1 Previous Year Question Paper
This is the CBSE Class 12 Computer Science 2017 Delhi Set 1 Previous Year Question Paper. The paper is divided into two sections, A and B, with Section C being compulsory. Candidates must choose either Section A (C++) or Section B (Python). The total marks for the examination are 70, with a duration of 3 hours. The paper contains 7 questions in total and includes 16 printed pages. A 15-minute reading time is allotted before the exam begins. Solving this board question paper helps students understand the exam pattern, question types, and marks distribution, which is crucial for effective preparation and scoring well in the final CBSE board exams.
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 Computer Science paper has a total of 70 marks and a duration of 3 hours. It is divided into Section A (C++) or Section B (Python), and a compulsory Section C.
Topics covered
Paper topics
- C++ Tokens
- Header Files
- Syntactical Errors
- Program Output
- String Manipulation
Important topics
- C++ Tokens
- C++ Header Files
- C++ Syntax Correction
- C++ Program Output
- C++ String Manipulation
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/1
Code No. 91/1
Candidates must write the Code on
the title page of the answer-book.
Roll No.
- 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 7 questions.
- Please write down the Serial Number of the question before attempting it.
<math>\bullet</math> 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:
- Programming Language in SECTION A : C++.
- Programming Language in SECTION B: Python.
- Answer either SECTION A or B, and SECTION C is compulsory.
- It is compulsory to mention on the page 1 in answer book whether you are attempting SECTION A or SECTION B.
- All questions are compulsory within each section.
SECTION - A
(Only for Candidates, who opted for C++)
- (a) Write the type of C++ tokens (keywords and user defined identifiers) from the
following: 2
- For
- delete
- default
- Value
91/1 [P.T.O. 1
- Anil typed the following C++ code and during compilation he found four errors as
follows: 1
- Function strlen should have a prototype
- Undefined symbol cout
- Undefined symbol endl
- Function getchar should have a prototype
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 S[] = "Hello"; for(int <math>i = 0</math>; <math>i < strlen(S)</math>; <math>i++</math>) <math>S[i] = S[i]+1;</math> cout<<S<<end1;</pre> getchar(); }
- 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 integer";</pre> cin>>N; switch (N%2) case 0 cout<<"Even"; Break;</pre> case 1 cout<<"Odd"; Break;</pre> }
- Find and write the output of the following C++ program code : 2 Note: Assume all required header files are already included in the program. #define Big(A,B) (A>B)?A+1:B+2 void main() { char W[] = "Exam"; int L=strlen(W); for(int i=0; i<L-1; i++) <math>W[i] = Big(W[i], W[i+1]);</math> cout<<W<<end1;</pre> }
91/1 2
Frequently asked questions
What is this document?
This is the official CBSE Class 12 Computer Science Previous Year Question Paper for the 2017 Delhi Set 1 examination.
What is the structure of the paper?
The paper is divided into Section A (C++) or Section B (Python), and a compulsory Section C. It contains 7 questions in total.
What are the marks and duration?
The Computer Science paper is for 70 marks and has a duration of 3 hours.
How does solving this paper help?
Solving this previous year question paper helps students understand the exam pattern, question difficulty, and time management, improving their preparation for the board exams.
Which programming languages are used?
Section A uses C++ and Section B uses Python. Candidates must choose one section to attempt.
Content reviewed by the NCERT Help team. Editorial Team and update policy
Question Papers PDF on NCERT Help. URL unchanged for search indexing.