Class 12 Computer Science Previous Year Question Paper 2026

This page contains the AHSEC Class 12 Computer Science Previous Year Question Paper 2026. Students can use this question paper for exam preparation, practice and revision. Solving previous year question papers can help students understand the question pattern and important topics.

(Theory)

Full Marks : 70

Pass Marks : 21

Time: 3 hours

1.Answer any 8 from the following questions:   1x8=8

a)What is data hiding?

b)What is abstract class?

c)What is data abstraction?

d)What is inheritance?

e)What is function overloading?

f) What is constructor in OOP?

g)Give examples of non-linear data structure.

h)What is a pointer?

i)Write the full form of SQL.

j)What is WAN?

k)Write 2 examples of web browser.

l)What is destructor in OOP?

m) What is relational algebra?

2) Answer any ten questions from the following:      2x10=20

a) What is the difference between a class and an object?

b)Define member function

c) What is the use of scope resolution operator(::)?

d)What are the key features of OOP?

e) What is the difference between private and protected access specifier?

f) What is a stack? Mention its two applications.

g) What is searching? Mention any 2 searching techniques.

h)Write the syntax of ‘create table’ SQL command.

i) What is SOP in Boolean algebra?

j)Define associative law and commutative law of Boolean algebra.

k)Define Internet.

l) What is the use of twisted pair cable?

m)Define TCP/IP

n) What is FTP?

o) What is candidate key?

3) Answer any nine questions from the following                       3x9=27

a)Explain the concept of polymorphism.

b)Explain the concepts of base class and derived class.

c)Define queue. Mention 2 applications of queue.

d)Differentiate between insertion and selection sorting techniques

e)Give some examples of DDL and DML commands.

f)Draw the truth table for AND, OR and  NOT gates.

g)Simplify the Boolean expression  (A + B) (A’ + C) using Boolean algebra.

h)Give examples of different data transfer rates.

i)Define HTML and XML

j) Explain the server-side scripting

k)Compare 1G with 2G technology.

l) State the uses of different aggregate functions in SQL.

m)Explain the types of data file

4) Answer any three questions from the following                   5x3=15

a)Write a C++ program to create a matrix of order 3×3.

b) Simplify the Boolean expression using a 4-variable K-map

F(W, X, Y, Z)= ∑(4, 5, 6, 7, 12, 13, 14, 15)

Obtain the product of sum expression after simplification.

c)Write an algorithm to convert an infix expression to postfix using a stack.. Explain with an example.

d) Explain 3 different network topologies.

e)Write a C++ program to calculate the area of a rectangle using a class ‘rectangle’.

f) Differentiate between Wi-Fi and WiMAX.

Scroll to Top