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

Question Papers Class 12 PDF

This is the CBSE Class 12 Computer Science (C++) Previous Year Question Paper from 2019, Set 1. The paper is designed for a maximum of 70 marks and a duration of 3 hours. It is divided into three sections: Section A (C++), Section B (Python), and Section C (compulsory for all). Candidates must choose to answer either Section A or Section B. The paper contains 7 questions in total, with internal choices provided in questions 2(b), 2(d), 3, and 4. A 15-minute reading time is allotted before the exam begins. Solving this board question paper is crucial for students to understand the exam pattern, question types, and marking scheme, thereby enhancing their preparation and performance in the final examinations.

Keep studying

Jump to solutions, books, papers, or another subject — without leaving NCERT Help.

Quick info

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

Paper pattern

The paper has a total of 70 marks and a duration of 3 hours. It is divided into Section A (C++), Section B (Python), and Section C (compulsory). Candidates must attempt either Section A or Section B.

Topics covered

Paper topics

  • C++ fundamental data types
  • C++ header files
  • C++ syntax errors
  • C++ program output
  • String manipulation in C++

Important topics

  • Fundamental data types in C++
  • Header files in C++
  • C++ syntax and error correction
  • Program output prediction in C++
  • String manipulation and function usage in C++

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 BVM

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 27 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:

  1. SECTION A refers to programming language <math>C++</math>.
  2. SECTION B refers to programming language Python.
  3. SECTION C is compulsory for all.
  4. Answer either SECTION A or SECTION B.
  5. It is compulsory to mention on the page 1 in the answer-book whether you are attempting SECTION A or SECTION B.
  6. All questions are compulsory within each section.
  7. Questions 2(b), 2(d), 3 and 4 have internal choices.

P.T.O. 91

SECTION A

[Only for candidates, who opted for C++]

2 1. 1 2

  1. (b) Write the names of the correct header files, which must be included

in the following C++ code to compile the code successfully:

void main() char L[]="CS 2018"; int N=strlen(L); cout<<L[N-1];

  1. Rewrite the following C++ program after removing any/all syntactical error(s). Underline each correction done in the code: Note: Assume all required header files are already included in the program. <math>\#define Area(L,B) = L*B</math> structure Recta int Length, Breadth; }; void main() Recta <math>R = [10, 15];</math> cout<<Area(Length.R, Breadth.R);</pre> }
  2. Note: Assume all required header files are already included in the program. void Alter(char *S1, char *S2) char *T; <math>T=S1;</math> <math>S1=S2;</math> <math>S2=T;</math> cout<<S1<<"&"<<S2<<end1; } void main() t char X[]="First", Y[]="Second"; Alter(X,Y); cout<<X<<"*"<<Y<<end1; }

2 2 91

Frequently asked questions

What is this document?

This is the official CBSE Class 12 Computer Science (C++) Previous Year Board Question Paper from 2019, Set 1.

What is the total marks and duration for the exam?

The Computer Science exam is for a maximum of 70 marks and has a duration of 3 hours.

How does solving previous year papers help?

Solving previous year question papers helps students understand the board exam pattern, question difficulty, and time management, leading to improved scores.

What are the sections in this paper?

The paper consists of Section A (C++), Section B (Python), and Section C (compulsory). Students must choose to answer either Section A or Section B.

What kind of questions are included?

The paper includes questions on C++ fundamental data types, header files, syntax correction, program output prediction, and string manipulation, among other topics.

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

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