← Class 12 Board Exam (2nd PUC)
Karnataka State Board · Computer Science

KARNATAKA STATE BOARD CLASS 12 SECOND PUC COMPUTER SCIENCE 2025-1

2025 · 45 questions · First 10 Solutions Free
Questions 1–10 have full step-by-step solutions visible. Sign in to unlock all 45 →
Q1 mcq 1 mark
The large Printed Circuit Board (PCB) having many chips, ports and controllers mounted on it.
a.
Processor
b.
Motherboard
c.
Slots
d.
Power unit

No explanation saved for this question yet.

Q2 mcq 1 mark
According to which law, the complement of a variable is complemented again, we get the same variable?
a.
Complementarity law
b.
Absorption law
c.
Involution law
d.
Idempotence law

No explanation saved for this question yet.

Q3 mcq 1 mark
The two input XNOR gate produces the output as high (1) when its inputs are
a.
0, 0
b.
1, 1
c.
0, 1
d.
Both a) and b)

No explanation saved for this question yet.

Q4 mcq 1 mark
Assertion (A) : Tree is a linear data structure. Reason (R) : The data items in tree data structure represent hierarchical relationship.
a.
A is true, R is false
b.
A is false, R is false
c.
A is false, R is true
d.
A is true, R is true

No explanation saved for this question yet.

Q5 mcq 1 mark
Given the class class student { int regno ; char name[25] ; public : int marks ; void get( ) ; } ; Identify the data members of the class student.
a.
regno, name, marks
b.
regno, name
c.
marks
d.
regno, name, marks, get( )

No explanation saved for this question yet.

Q6 mcq 1 mark
A non-member function that has full access right to the private and protected members of the class.
a.
Inline function
b.
Friend function
c.
Overloaded function
d.
Both b) and c)

No explanation saved for this question yet.

Q7 mcq 1 mark
The return type of destructor is
a.
int
b.
void
c.
no return type
d.
both a) and b)

No explanation saved for this question yet.

Q8 mcq 1 mark
The class whose properties are inherited by another class is
a.
Base class
b.
Derived class
c.
Virtual class
d.
Abstract class

No explanation saved for this question yet.

Q9 mcq 1 mark
Given : int *ptr, n = 25 ; which is the correct way to initialize the pointer?
a.
ptr = *n ;
b.
ptr = & n ;
c.
ptr = n ;
d.
n = ptr ;

No explanation saved for this question yet.

Q10 mcq 1 mark
The set of values for an attribute in that column.
a.
Tuple
b.
Fields
c.
Domain
d.
Entity

No explanation saved for this question yet.

🎉 10 Free Sample Solutions Completed

Unlock All 45 Questions & Solutions

Sign up free in seconds to unlock step-by-step AI answers for the remaining 35 questions.

Q11 mcq 1 mark
The SQL command used to delete the entire table.
a.
Delete
b.
Drop
c.
Remove
d.
Desc
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q12 mcq 1 mark
Correct expansion of HTTP.
a.
Hyper Text Transfer Protocol
b.
High Text Transfer Protocol
c.
Hyper Test Transmission Protocol
d.
High Text Transmit Protocol
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q13 mcq 1 mark
The device that connects dissimilar networks.
a.
Hub
b.
Switch
c.
Router
d.
Gateway
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q14 mcq 1 mark
A non-profit organisation created for the purpose of supporting free software movement.
a.
FSF
b.
GNU
c.
OSS
d.
FLOSS
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q15 mcq 1 mark
The type of web hosting which rents the entire web server from the hosting company.
a.
Co-location hosting
b.
Dedicated hosting
c.
Free hosting
d.
Virtual hosting
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q16 short answer 1 mark
_____________ refers to the validity of data.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q17 short answer 1 mark
The ability of the database to modify a schema definition at one level without affecting next higher level is _____________.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q18 short answer 1 mark
In _____________ file organisation records are arranged one after another determined by the key field.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q19 short answer 1 mark
_____________ key can be used to cross-reference tables.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q20 short answer 1 mark
_____________ is a repository of organisations electronically stored data.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q21 short answer 2 marks
Write the dual form of : a) 1 + 0 = 1 b) $X \cdot 1 = X$
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q22 short answer 2 marks
Realize OR gate using only NAND gate.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q23 short answer 2 marks
Write any two features of parameterized constructor.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q24 short answer 2 marks
List the member functions of β€œofstream”.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q25 short answer 2 marks
Define data model. Mention any one data model.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q26 short answer 2 marks
Mention any two logical operators in SQL.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q27 short answer 2 marks
What is β€œorder by” clause in SQL? Write its syntax.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q28 short answer 3 marks
Write a note on UPS and its types.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q29 short answer 3 marks
Explain the different types of linked list.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q30 short answer 3 marks
Define : a) Free store b) this pointer c) Self referential structure.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q31 short answer 3 marks
What is a file? Compare text file and binary file.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q32 short answer 3 marks
Describe the different levels of RDBMS.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q33 short answer 3 marks
Identify the type of e-commerce in the following cases : a) Buying of used cars from the owner. b) Buying of goods by distributor from manufacturer. c) Buying of goods from Amazon website.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q34 short answer 3 marks
Briefly explain the basic structure of HTML.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q35 long answer 5 marks
What is primitive data structure? Explain the different operations performed on primitive data structure.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q36 long answer 5 marks
Write an algorithm to insert an element into the Queue.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q37 long answer 5 marks
Explain any five characteristics of OOP.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q38 long answer 5 marks
Define inline function. Write the situations where inline function may not work.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q39 long answer 5 marks
Explain default constructor with syntax and suitable programming example.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q40 long answer 5 marks
With a neat diagram explain the different types of inheritance.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q41 long answer 5 marks
Give the measures for preventing virus.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q42 long answer 5 marks
Given the Boolean function $F(A, B, C, D) = \sum(5, 6, 7, 10, 14, 15)$. Simplify it using K-map.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q43 long answer 5 marks
Define a class employee with data members empno, empname and member functions getdata( ) and putdata( ). Define the member functions outside the class.
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q44 long answer 5 marks
With reference to the table given below, write the SQL query to perform the following operations : Table Name : Book [Table image provided in source] a) Display all the records from β€œBook” table. b) Add a new field β€œTotal – Cost” to the table book. c) Calculate the Total – Cost. d) Find the highest Total – Cost. e) Delete the record whose Book – Code is 102.
Question 44 image
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.

Q44 long answer 5 marks
With reference to the table given below, write the SQL query to perform the following operations : Table Name : Book Book – Code Book – Name Book – Qty Book – Price 101 C 5 200 102 Java 10 250 103 Python 20 350 104 HTML 15 150 105 SQL 25 230 a) Display all the records from β€˜β€˜Book’’ table. b) Add a new field β€œTotal – Cost” to the table book. c) Calculate the Total – Cost. d) Find the highest Total – Cost. e) Delete the record whose Book – Code is 102.
Question 45 image
Correct Answer & Step-by-Step Solution Locked

Sign in free to reveal the correct answer and AI explanation for this question.