CBSE Class 12 IT 802 Sample QP 2025-26 with Solution

CBSE Class 12 IT (802) Sample Question Paper 2025–26 is a useful study resource for students preparing for their board exams. Sample papers help students become familiar with the exam pattern, types of questions, and marking scheme followed by CBSE. Solving these papers regularly also helps students improve their speed and accuracy during the exam.

CBSE-Class-12-IT-802-Sample-Question-Paper-2025-26-with-Solution

On this page, you can access the CBSE Class 12 Information Technology (802) Sample Question Paper 2025–26 with complete solutions. The solutions will help students understand the correct approach to solving questions and make their preparation easier. Practicing these papers regularly can help students perform better and score good marks in the board exam.

CBSE Class 12 IT 802 Sample QP 2025-26 with Solution

You can download the free PDF of this sample pre-board question paper from our website and start practicing today. Download Link available in last.

The Year-Wise CBSE Class 12 Information Technology (802) Pre-Board and Sample Question Papers with Solutions are provided at the bottom of this post.

CBSE Class 12 IT 802 Sample Question Paper Session (2025-26)

CBSE | DEPARTMENT OF SKILL EDUCATION
INFORMATION TECHNOLOGY (SUBJECT CODE - 802)
Sample Question Paper (SQP) Solution for Class XII (Session 2025-2026)

Max. Time: 3 Hours
Max. Marks: 60

General Instructions:
  1. Please read the instructions carefully.
  2. This Question Paper consists of 24 questions in two sections – Section A & Section B.
  3. Section A has Objective type questions whereas Section B contains Subjective type questions.
  4. Out of the given (6 + 18 =) 24 questions, a candidate has to answer (6 + 11 =) 17 questions in the allotted (maximum) time of 3 hours.
  5. All questions of a particular section must be attempted in the correct order.
  6. SECTION A - OBJECTIVE TYPE QUESTIONS (30 MARKS):
    • This section has 06 questions.
    • There is no negative marking.
    • Do as per the instructions given.
    • Marks allotted are mentioned against each question/part.
  7. SECTION B – SUBJECTIVE TYPE QUESTIONS (30 MARKS):
    • This section contains 18 questions.
    • A candidate has to do 11 questions.
    • Do as per the instructions given.
    • Marks allotted are mentioned against each question/part.
SECTION A: OBJECTIVE TYPE QUESTIONS

Q.1 Answer any 4 out of the given 6 questions on Employability Skills (1x4=4 Marks)

(i) A ______ is the type of sentence which expresses strong feelings and emotions.
a) Declarative sentences
b) Interrogative sentences
c) Imperative sentences
d) Exclamatory sentences

(ii) Which of the following is true for Extrinsic motivation?
a) It leads to frustration when lacking.
b) It leads to better decision making.
c) It focuses on the outcome or reward associated with the activity.
d) It stems from internal satisfaction or enjoyment of an activity.

(iii) Ravi often feels superior to others, exaggerates his achievements, and constantly seeks admiration. He gets upset when people do not give him special treatment and tends to disregard others’ feelings.
Which of the following personality disorders best describes Ravi’s condition?
a) Narcissistic personality disorder
b) Borderline personality disorder
c) Dependent personality disorder
d) None of the above

(iv) _______ rearranges the data in ascending or descending order.
a) Filtering
b) Sorting
c) Protecting
d) Formatting

(v) What Should be a typical approach of an entrepreneur doing a business to solve a problem?
a) Ignoring the problem altogether.
b) Coming up with an innovative Solution.
c) Accepting problem as unsolvable.
d) Waiting for someone else to solve it.

(vi) Arti replaced her old smartphone with a new one. What should she do with the old phone?
a) Throw it away in the dustbin
b) Sell it for recycling or exchange
c) Burn it to get rid of it
d) Keep it unused in a drawer

Q.2 Answer any 5 out of the given 7 questions (1x5=5 Marks)

(i) Rohit wrote int x = 5; x += 3; in his Java program. What is the new value of x?
Ans: 8

(ii) Name any two primitive data types supported by Java? 
Ans: int, double

(iii) What does this query return?
SELECT department, COUNT(*) FROM employees GROUP BY department;
a) List of all employees
b) Count of employees in each department
c) Total number of employees
d) Names of departments only

(iv) Which constraint ensures that a column cannot have NULL values?
a) UNIQUE
b) PRIMARY KEY
c) NOT NULL
d) FOREIGN KEY

(v) Which of the following is not mentioned as an alternative payment method for online shopping?
a) Net Banking
b) Cash on Delivery
c) Wire Transfer
d) Cheque Payment

(vi) In an online shopping site, which feature is similar to a physical shopping basket used in a store?
a) User Account
b) Login Page
c) Shopping Cart
d) Registration Form

(vii) Which keywords are used to handle exceptions in Java?
a) throw, catch
b) try, catch
c) exception, catch
d) final, catch

Q.3 Answer any 6 out of the given 7 questions (1x6=6 Marks)

(i) What does NIC stand for?
Ans: National Informatics Centre

(ii) String myString = "Hello World";
System.out.println(myString.charAt(6));
What will be the output?
a) W
b) o
c) r
d) l

(iii) Consider the table: EMPLOYEE
EmpIDNameDeptSalaryCityJoinDate
101MehulHR50000Delhi2019-04-12
102SmihaIT75000Mumbai2020-01-23
103ArshFinance62000Chennai2021-05-30
104NeeruIT78000Delhi2018-11-15
105AmitHR52000Bangalore2022-07-10
Write Query to display name and salary of employees working in the IT department.
Ans: SELECT Name, Salary FROM EMPLOYEE WHERE Dept = 'IT';

(iv) How can users improve the safety of their passwords when making online payments?
a) Using personal info like birthdate
b) Using a mix of letters, numbers, and symbols
c) Writing the password on paper
d) Sharing the password with friends

(v) Consider the following Tables:
Table: Department
DeptIDDeptName
1Computer Sci
2Mathematics
3Punjabi
Table: Student
StudentIDNameDeptID
101Alisha1
102Bhavya2
103Gauri3
Identify Primary key and Foreign Key in Student Table
Ans: Primary Key: StudentID in Student Table
Foreign Key: DeptID in Student Table

(vi) Which pricing benefits do consumers enjoy through online reservations?
a) Consumers can compare prices easily online
b) Prices are hidden
c) Prices are always the same
d) Prices are determined by the agent only

(vii) Which of the following is true about the switch statement in Java?
a) The switch statement can only work with integers
b) Each case must end with a break statement, otherwise execution may fall through
c) The default case is mandatory in every switch statement
d) A switch statement cannot be used with characters

Q.4 Answer any 5 out of the given 6 questions (1x5=5 Marks)

(i) Meena booked a train ticket online late at night and received confirmation immediately without visiting the station. Which benefit of online reservation does this highlight?
a) Limited access to services
b) Manual booking only
c) Convenience and 24/7 availability
d) Delayed confirmation

(ii) What is a constructor in Java?
a) A method that performs addition
b) A special type of method used to initialize objects
c) A method used to destroy objects
d) A method to print values

(iii) Which of the following is a correct way to declare a String variable in Java?
a) String name = "John";
b) string name = "John";
c) Str name = "John";
d) String name == "John";

(iv) State TRUE or FALSE
Online shopping provides a limited variety of products compared to traditional stores.
Ans: False

(v) The AVG() function works only with:
a) Numeric values
b) Text values
c) Date values
d) Boolean values

(vi) What is meta-data?
a) Data about data
b) Data that stores images
c) Data that cannot be modified
d) Data that is deleted after use

Q.5 Answer any 5 out of the given 6 questions (1x5=5 Marks)

(i) Which of the following activities is part of the Requirement Definition Phase in web application development?
a) Writing the program code for the application
b) Testing the application for errors
c) Checking technical and economic feasibility of the project
d) Deploying the application on a server

(ii) In a database table, what is the term used for the number of columns?
a) Cardinality
b) Degree
c) Domain
d) Key

(iii) Which command is used to display all the databases in MySQL?
Ans: Show Databases;

(iv) Differentiate between System.out.print() and System.out.println() in Java.
Ans: System.out.print()
  • Prints the text on the console.
  • Does not move the cursor to the next line.
  • Next output will appear on the same line.
System.out.println()
  • Prints the text on the console.
  • Moves the cursor to the next line after printing.
  • Next output will appear on a new line.
(v) Which of the following is the correct syntax to define a user-defined method in Java?
a) void methodName() { /* code */ }
b) methodName void() { /* code */ }
c) function methodName() { /* code */ }
d) define methodName() { /* code */ }

(vi) The bytecode runs on the _______.
Ans: JVM (Java Virtual Machine)

Q.6 Answer any 5 out of the given 6 questions (1x5=5 Marks)

(i) Which of the following is an invalid variable name in Java?
a) _temp
b) total#value
c) $price
d) userName

(ii) What is the output of the expression 10 % 3?
Ans: 1

(iii) What is the main purpose of Project Management?
a) To write the program code for the project
b) To achieve project objectives within a defined time frame using skills and techniques
c) To purchase tools and equipment for the project
d) To deploy the final product on a server

(iv) In SQL, which clause is used to apply a condition on groups formed by the GROUP BY clause?
a) WHERE
b) ORDER BY
c) HAVING
d) DISTINCT

(v) Which SQL command is used to remove a table from the database?
a) DELETE
b) REMOVE
c) DROP
d) TRUNCATE

(vi) In the field of telecommunications, databases are mainly used for:
a) Storing songs, movies, and entertainment content
b) Storing information about customers, call records, bills, and subscription plans
c) Storing only hardware device specifications
d) Storing temporary files of internet browsing

SECTION B: SUBJECT TYPE QUESTIONS

Answer any 3 out of the given 5 questions on Employability Skills (2x3=6 Marks)
Answer each question in 20 – 30 words.

Q.7 State the importance of active listening in communication.
Ans: Active listening ensures effective communication by helping the listener fully understand the speaker’s message. It allows the listener to respond appropriately, avoid misunderstandings, and build trust and good relationships with the speaker.

Q.8 Anita was overwhelmed with her workload and was often distracted by her phone and social media. One day, she decided to switch off her phone while studying and set specific goals for each study session. How does this reflect self-management?
Ans: Anita demonstrated self-management by setting clear goals for her study sessions and removing distractions like her phone and social media. This shows that she is managing her time and environment effectively to stay focused and improve her productivity.

Q.9 Rohit noticed that plastic waste was a major issue in his school. He initiated a campaign encouraging students to carry reusable water bottles and lunch boxes. Which green skill is Rohit promoting through his initiative?
Ans: Rohit is promoting the green skill of sustainable practices by encouraging students to reuse items like water bottles and lunch boxes, which helps reduce plastic waste in the school.

Q.10 List any two advantages of using Presentation Software.
Ans: (i) Visual representation: It helps present information using images, charts, and graphics, making the content easier to understand.
(ii) Better organization: Information can be arranged in slides in a clear and systematic way.
(iii) Engaging presentations: Animations, transitions, and multimedia make presentations more interesting for the audience.
(iv) Easy editing and sharing: Slides can be easily edited, updated, saved, and shared with others.

Q.11 Anu observed that people in her town had to travel far to buy organic vegetables. She partnered with local farmers and started a weekly organic vegetable delivery service. State the entrepreneurial functions performed by Anu in the above case.
Ans: Anu performed the entrepreneurial functions of identifying a business opportunity and organizing resources. She recognized the need for organic vegetables in her town and collaborated with local farmers to provide a weekly delivery service.

Answer any 3 out of the given 5 questions in 20 – 30 words each (2x3=6 Marks)

Q.12 Give the output of the following code segment:
int n = 3;
for (int i = n; i>= 1; i--)
{
System.out.print(i * i + " ");
}
Ans: 9 4 1

Q.13 Explain candidate key with suitable example.
Ans: Candidate Key: A candidate key is a minimal set of one or more columns that can uniquely identify each record in a table. No column in a candidate key can be removed without losing its uniqueness property.
Example: In an EMPLOYEE table, EmpID can be a candidate key because it uniquely identifies each employee.

Q.14 Explain Program-Data Independence in context of a DBMS?
Ans: Program-Data Independence means that changes in the structure of the database do not require changes in the application programs that access the data. It is achieved in a DBMS by separating the data from the application programs, allowing the data structure to be modified without affecting the programs.

Q.15 List any four entities involved in creating a Shopping Website.
Ans: Customer, Product, Order, Payment, Shopping Cart, Delivery

Q.16 What are comments in Java programs and why are they important?
Ans: Comments in Java are non-executable statements used to explain the code. They start with // for single-line comments and /* */ for multi-line comments. Comments help document the program, improve readability, and make the code easier to understand and maintain.

Answer any 2 out of the given 3 questions in 30– 50 words each (3x2=6 Marks)

Q.17 Nitya is creating a Java program to calculate the area of a rectangle. She writes the following code:
class Rectangle {
    int length;
    int width;
    int calculateArea() {
        return length * width;
    }
    public static void main(String[] args) {
        Rectangle r1 = new Rectangle();
        r1.length = 5;
        r1.width = 10;
        System.out.println("Area: " + r1.calculateArea());
    }
}
a) What does the method calculateArea() do in this program?
Ans: The method calculateArea() calculates and returns the area of the rectangle by multiplying its length and width.
b) How is the object of the class created?
Ans: The object of the class is created using:
Rectangle r1 = new Rectangle();
c) What will be the output of the program?
Ans: Area: 50

Q.18 If a category has many products, how should they be displayed to customers?
Ans: If a category has many products, they can be displayed based on popularity, price, and ratings/reviews. The database should store information such as view count or purchase count, product price, and customer ratings to enable this sorting.

Q.19 List any three Advantages of using DBMS approach.
Ans: (i) Reduces data redundancy - avoids unnecessary duplication of data.
(ii) Improves data consistency - ensures the same data is accurate everywhere.
(iii) Better data security - protects data from unauthorized access.
(iv) Easy data sharing - multiple users can access data at the same time.
(v) Efficient data management - data can be easily stored, searched, and updated.

Answer any 3 out of the given 5 questions in 50– 80 words each (4x3=12 Marks)

Q.20 Write a Java code using String methods to perform the following tasks:
String str = "java programming";
i. Convert all characters to lowercase.
Ans: String lowerStr = str.toLowerCase();
System.out.println("Lowercase: " + lowerStr);
ii. Find the total number of characters in the string.
Ans: int length = str.length();
System.out.println("Length: " + length);
iii. Append the word "rocks" at the end of the string.
Ans: String appendedStr = str + " rocks";
System.out.println("Appended: " + appendedStr);
iv. Replace the word "java" with "Python".
Ans: String replacedStr = str.replace("java", "Python");
System.out.println("Replaced: " + replacedStr);

Q.21 List and briefly explain the four main phases in the development of a web-based application project.
Ans: Four main phases in the development of a web-based application project:
(i) Requirements Definition Phase: Identify the problem, determine project feasibility, define the scope, list required features, and set project goals.
(ii) Design Phase: Plan the structure and layout of the application, including user interface, database design, and system architecture.
(iii) Implementation Phase: Develop the application by writing code and integrating different components according to the design.
(iv) Testing Phase: Test the application to find and fix errors or bugs and ensure that it works properly before deployment.

Q.22 What are multithreaded programs in Java? What are the two ways by which these threads can be created?
Ans: A multithreaded program is a program that can perform multiple tasks simultaneously to make better use of the computer's resources. It consists of two or more parts called threads, where each thread executes a task independently at the same time.
Threads in Java can be created in two ways:
(i) By extending the Thread class
(ii) By implementing the Runnable interface

Q.23 (a) Define arrays.
Ans: An array is a collection of elements of the same data type stored in contiguous memory locations and accessed using an index.
(b) Write a program to:
i) Create a string array Names containing five names.
Ans: String[] Names = {"Amit", "Rina", "Anil", "Asha", "Ravi"};
ii) Display each name using a while loop.
Ans: int i = 0;
while(i < Names.length)
{
    System.out.println(Names[i]);
    i++;
}
(c) What happens if a program tries to access an array element using an index that is outside the valid range?
Ans: If a program tries to access an array element using an index that is outside the valid range, an ArrayIndexOutOfBoundsException occurs and the program terminates with an error message.

Q.24 Consider the following tables:
Table: MOVIE
MIDMNameGenreBudget
M01AvatarSci-Fi500000
M02DangalSports150000
M03InceptionThriller300000
Table: ACTOR
AIDMIDActorName
A101M01Sam Worthington
A102M02Aamir Khan
A103M03Leonardo DiCaprio
Write SQL queries for the following:
(a) Find the total number of actors in each movie.
Ans: SELECT MID, COUNT(*) AS TotalActors
FROM ACTOR
GROUP BY MID;
(b) Add a new record to MOVIE: (M04, '3 Idiots', 'Comedy', 200000).
Ans: INSERT INTO MOVIE VALUES ('M04', '3 Idiots', 'Comedy', 200000);
(c) Display MName, ActorName, and Genre of all actors.
Ans: SELECT MName, ActorName, Genre
FROM MOVIE, ACTOR
WHERE MOVIE.MID = ACTOR.MID;
(d) Show details of movies whose budget is more than 200000.
Ans: SELECT * 
FROM MOVIE
WHERE Budget > 200000;

Download Now - Class 12 IT 802 Sample Question Paper 2025-26 with Solution

CBSE-Class-12-Information-Technology-Code-802-Sample-Question-Paper-with-Solution

Year wise Pre-Board and CBSE Sample Question Papers with Solution – Class 12 Information Technology (Code 802)

CBSE Class 12 IT 802 Sample QP 2026-27 with Solution

CBSE Class 12 IT 802 Sample QP 2025-26 with Solution

CBSE Class 12 IT 802 Sample QP 2024-25 with Solution

CBSE Class 12 IT 802 Sample QP 2023-24 with Solution

CBSE Class 12 IT 802 Sample QP 2022-23 with Solution

CBSE Class 12 IT 802 Sample QP 2021-22 Term 2 with Solution

CBSE Class 12 IT 802 Sample QP 2021-22 Term 1 with Solution

CBSE Class 12 IT 802 Sample QP 2020-21 with Solution

CBSE Class 12 IT 802 Sample QP 2019-20 with Solution

Post a Comment

Previous Post Next Post