CBSE 2018 Computer Science Question Paper for Class 12

CBSE

CBSE

Computer Science2018
PDFN/A23 pages

CBSE Class 12 Computer Science question paper 2018 (code 91): C++ or Python section plus compulsory SQL, Boolean algebra and networking, 70 marks, 3 hours.

Practice these questions to improve your performance in the board examination.

CBSE 2018 Computer Science Question Paper for Class 12 — page 1 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 2 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 3 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 4 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 5 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 6 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 7 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 8 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 9 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 10 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 11 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 12 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 13 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 14 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 15 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 16 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 17 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 18 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 19 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 20 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 21 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 22 of 23
CBSE 2018 Computer Science Question Paper for Class 12 — page 23 of 23
Advertisement
Advertisement

About this paper

This is the CBSE Class 12 Computer Science paper from the 2018 board examination, code 91 (Series SGN, Set 4). It carries 70 marks over three hours and has 7 questions. Students answer either Section A, written for C++, or Section B, written for Python; each section has four questions on programming and output tracing, object-oriented programming and inheritance, data structures such as queues, stacks and postfix expressions, and file handling. Section C is compulsory for all and covers relational operations and SQL queries on ACCOUNT and TRANSACT tables, Boolean algebra with a K-map reduction, and networking, ending with a case study on networking an Ayurveda training institute's departments in Hyderabad. This copy has the questions only, without solutions.

Exam
CBSE Class 12
Subject
Computer Science
Year
2018
Paper code
91
Maximum marks
70
Time allowed
3 hours
Questions
7
Pages
23
Answers included
No, questions only

Paper pattern

  • Section A

    Questions 1–4 for C++ candidates: C++ tokens, header files and output questions, function overloading, classes and inheritance, arrays and queues, and data file handling

  • Section B

    Questions 1–4 for Python candidates: errors, modules and output questions, classes and inheritance, sorting, queues and postfix evaluation, and text and pickled file handling

  • Section C

    Questions 5–7, compulsory for all: relational operations and SQL, Boolean algebra, and networking with a case study

Topics covered

  • C++ programming and output questions
  • Function overloading
  • Classes and inheritance
  • Arrays and address calculation
  • Queues and stacks
  • Data file handling
  • Python classes and the super() function
  • Bubble sort
  • Relational algebra and SQL
  • Boolean algebra and K-maps
  • Network topologies and web scripting

Questions from this paper

  1. Data[20][15] is a two-dimensional array stored in memory along the row, with each element occupying 2 bytes. Find the address of the element Data[10][5] if the element Data[15][10] is stored at memory location 15000.
  2. Differentiate between a syntax error and a run-time error. Also, write a suitable example in Python to illustrate both.
  3. What is the advantage of the super() function in inheritance? Illustrate it with the help of an example in Python.
  4. Write a method in Python to read lines from a text file INDIA.TXT and find and display the occurrences of the word "India".
  5. State any one absorption law of Boolean algebra and verify it using a truth table.
  6. Differentiate between bus topology and star topology of networks. What are the advantages and disadvantages of star topology over bus topology?

Free email alert

Get the 2027 CBSE Class 12 papers first

One email when the new CBSE Class 12 Computer Science question papers are published here. No spam, unsubscribe any time.

Used only for paper-release alerts. See our privacy policy.

Advertisement
Advertisement

What's next

Planning what comes after Class 12?

Compare college costs, education loans, and scholarships in one place.

See the cost breakdown