CBSE Class 12 Computer Science 2016 Previous Year Question Paper (Outside Set 4)
This is the CBSE Class 12 Computer Science Previous Year Question Paper from 2016, Outside Set 4. The paper is divided into two sections for programming languages: Section A for C++ and Section B for Python. Section C is compulsory. Candidates must attempt either Section A or Section B. The total marks for the paper are 70, and students are allotted 3 hours for completion. An additional 15 minutes are provided for reading the question paper. 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 CBSE board examinations.
Quick info
| Board | CBSE |
|---|---|
| Class | 12 |
| Subject | Computer Science |
| Session | 2016 |
| Language | English |
| Type | Previous Year Question Paper |
| Exam type | Board Exam |
Paper pattern
The paper has a total of 70 marks and is to be completed in 3 hours. It is divided into Section A (C++) and Section B (Python), with Section C being compulsory. Candidates must choose either Section A or Section B.
Topics covered
Paper topics
- C++ programming
- Python programming
- Variables
- Constants
- Functions
- Header files
- Syntax errors
- Data types
- Input/Output
- Mathematical functions
Important topics
- C++ syntax and identifiers
- Required header files in C++
- Rewriting C++ code with corrections
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 ONS
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 24 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
General Instructions:
Maximum Marks: 70
(i) 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.
P.T.O. 91 1
SECTION - A
[Only for candidates, who opted for C++]
1. 2 1
- Out of the following, find those identifiers, which cannot be used for naming Variables, Constants or Functions in a C++ program : Total*Tax, double, Case, My Name, NeW, switch, Column31, Amount
- Ronica Jose has started learning C++ and has typed the following program. When she compiled the following code written by her, she discovered that she needs to include some header files to successfully compile and execute it. Write the names of those header files, which are required to be included in the code. void main() { double X,Times,Result; cin>>X>>Times; Result=pow(X,Times); cout<<Result<<end1;</pre> }
- Rewrite the following C++ code after removing any/all syntactical errors with each correction underlined. Note: Assume all required header files are already being included in the program. <math>\#define Formula(a,b) = 2*a+b</math> void main() { float X=3.2;Y=4.1; Z=Formula(X,Y); cout<< 'Result=' << Z<< end1; }
2 91 <math>\mathbf{2}</math>
Frequently asked questions
What is this document?
This is the CBSE Class 12 Computer Science Previous Year Question Paper from 2016, Outside Set 4, designed for board exam practice.
What is the total marks and time duration for this paper?
The paper carries a maximum of 70 marks and has a time duration of 3 hours, with an additional 15 minutes for reading.
How is the paper structured?
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.
Why is it important to solve previous year question papers?
Solving previous year question papers helps students understand the board exam pattern, question difficulty, and time management, thereby improving their preparation and scores.
What programming languages are covered in this paper?
This paper covers C++ in Section A and Python in Section B.
Content reviewed by the NCERT Help team. Editorial Team and update policy
Question Papers PDF on NCERT Help. URL unchanged for search indexing.