CBSE Class 12 IT (802) Sample Question Paper 2021-22 Term 2 with Solution is a great study resource for students preparing for their board exams. Practicing this paper helps students become familiar with the question pattern and difficulty level of the exam. It also allows students to identify their weak areas and work on them before the final exam. With detailed solutions, students can easily understand the correct answers and learn how to write them properly.
For teachers, this Class 12 Information Technology Code 802 sample paper is a useful tool for classroom practice and revision sessions. Teachers can use it to conduct mock tests and evaluate students’ understanding of different topics. The solutions help teachers explain concepts more effectively and provide clear guidance to students. Regular practice with such sample papers helps both teachers and students improve exam readiness and confidence.
CBSE Class 12 IT 802 Sample QP 2021-22 Term 2 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 (2021-22) - Term 2
CBSE | DEPARTMENT OF SKILL EDUCATION
INFORMATION TECHNOLOGY (SUBJECT CODE - 802)
Sample Question Paper (SQP) Solution for Class XII (Session 2021-2022)
Max. Time: 3 Hours
Max. Marks: 60
General Instructions:
- Please read the instructions carefully
- This Question Paper is divided into 03 sections, viz., Section A, Section B and Section C.
- Section A is of 05 marks and has 06 questions on Employability Skills.
- Questions numbers 1 to 4 are one mark questions. Attempt any three questions.
- Questions numbers 05 and 06 are two marks questions. Attempt any one question.
- Section B is of 17 marks and has 16 questions on Subject specific Skills.
- Questions numbers 7 to 13 are one mark questions. Attempt any five questions.
- Questions numbers 14 to 18 are two marks questions. Attempt any three questions.
- Questions numbers 19 to 22 are three marks questions. Attempt any two questions
- Section C is of 08 marks and has 03 competency-based questions.
- Questions numbers 23 to 25 are four marks questions. Attempt any two questions.
- Do as per the instructions given in the respective sections.
- Marks allotted are mentioned against each section/question
SECTION A
Answer any 03 questions out of the given 04 questions (1x3=3 Marks)
Q.1 Who are social entrepreneurs?
Ans: Social entrepreneurs are people who start businesses or projects to solve social problems and help society. Their main goal is social welfare and positive change, not just earning profit.
Q.2 An entrepreneur may face many personal barriers. Give any two personal barriers to entrepreneurship.
Ans: (i) Fear of failure: Fear of loss or failure stops people from starting a business.
(ii) Lack of motivation: Low interest or determination to start and run a business.
(iii) Lack of confidence: The person may doubt their own abilities.
Q.3 What are the possible green jobs in building and construction?
Ans: Areas for green jobs in building and construction include landscaping, gardening, maintenance of green components, water management, development of green buildings, rating programmes, and certification services.
These jobs help in protecting the environment and promoting sustainable construction practices.
Q.4 What is the mission of National Action Plan on Climate Change?
Ans: The mission of the National Action Plan on Climate Change (NAPCC) is to address climate change by promoting sustainable development while reducing the impacts of climate change on environment, water resources, agriculture, forests, and human health.
Answer any 01 question out of the given 02 questions (1x2=2 Marks)
Q.5 What are the attitudes that make a successful entrepreneur?
Ans: Attitudes that Make a Successful Entrepreneur are:
(i) Self-confidence
(ii) Risk-taking ability
(iii) Hard work and dedication
(iv) Positive thinking
(v) Creativity and innovation
(vi) Decision-making ability
(vii) Leadership qualities
Q.6 List some ways to minimise waste and pollution.
Ans: Some ways to Minimise Waste and Pollution:
Reduce the use of plastic: Use cloth or paper bags instead of plastic bags.
Reuse materials: Reuse items such as bottles, containers, and paper instead of throwing them away.
Recycle waste: Separate waste like paper, glass, metal, and plastic so they can be recycled.
Save energy and water: Turn off lights, fans, and taps when not in use to reduce resource wastage.
Proper waste disposal: Dispose of garbage in proper bins and avoid throwing waste in open areas.
SECTION B
Answer any 05 questions out of the given 07 questions (1x5=5 Marks)
Q.7 Why Java program is platform independent?
Ans: Java program is platform independent because Java code can run on any operating system that has a Java Virtual Machine (JVM).
When a Java program is compiled, it does not produce machine code for a specific operating system. Instead, it produces bytecode. This bytecode can run on any system that has the Java Virtual Machine (JVM) installed.
The JVM converts the bytecode into machine code suitable for that particular operating system (Windows, Linux, macOS, etc.). Java follows the principle "Write Once, Run Anywhere (WORA)".
Q.8 Think of any two work areas which uses Database Management Systems.
Ans: Education, banking, railways, telecommunication, hotels, air lines, ecommerce, companies, government sector
Q.9 How can you write multiline comments in java program?
Ans: In a Java program, multiline comments are written by enclosing the text between /* and */
Example: /* This is a multiline comment
It can span across
multiple lines */
Q.10 What should we do to make a data member or a method member of a class visible only within the class?
Ans: To make a data member or method of a class visible only within the class add the keyword private before its declaration.
Q.11 Why main is special method in java program?
Ans: Main is a special method that every Java application must have. When you run a program, the statements in the main method are the first to be executed.
Q.12 How many times the loop will execute?
for (int number = 5; number >= 1; number = number-1)
{
System.out.print("Square of " + number);
System.out.println(" = " + number*number);
}
Q.13 Write the statement to create an array that stores percentage of 5 students.
Ans: double[ ] percentage = {78.3, 89.6, 90, 78, 67};
double[ ] → declares an array of double type numbers.
percentage → name of the array.
{78.3, 89.6, 90, 78, 67} → values of percentages for 5 students.
Answer any 03 questions out of the given 05 questions (2x3=6 Marks)
Q.14 Explain the difference between a Class and an Object with an example.
Ans:
| Class |
Object |
| A class is a blueprint or template used to create objects. |
An object is an instance of a class. |
| It defines properties (variables) and behaviours (methods). |
It represents a real-world entity created from the class. |
| It does not occupy memory when declared. |
It occupies memory when created. |
| Example: Student, Car, Book |
Example: student1, car1, book1 |
Q.15 Find the error and give correct code
int number = 1;
while (number <= 5)
{
System.out.print("Square of " + number);
System.out.println(" = " + number*number);
}
Ans:
int number = 1;
while (number <= 5)
{
System.out.print("Square of " + number);
System.out.println(" = " + number*number);
number++;
}
Q.16 Give two differences between while loop and do while loop.
Ans:
| While loop | Do while loop |
|---|
| The condition is checked before executing the loop body. | The condition is checked after executing the loop body. |
| The loop body may not execute even once if the condition is false. | The loop body executes at least once even if the condition is false. |
| Syntax starts with while(condition). | Syntax starts with do and ends with while(condition);. |
| It is also called an entry-controlled loop. | It is called an exit-controlled loop. |
Q.17 What is the need of a constructor in OOP? Also write one feature of a constructor.
Ans: A constructor is a special method of a class that is used to initialize the data members of an object when the object is created.
Q.18 What will be the value of n after the execution of the following selection statement :
int n=0;
if (6>7 II 5>4)
{ n=5; }
else n=7;
Answer any 02 questions out of the given 04 questions (3x2=6 Marks)
Q.19 Read the code carefully and give its output:
package javaprograms;
public class StringDemo {
public static void main(String[] args) {
String myString = "INFORMATION TECHNOLOGY";
System.out.println(myString.indexOf('E'));
System.out.println(myString.contains("NO"));
System.out.println(myString.length());
}
}
Q.20 What will be the value of rem after the execution of the following code snippet? Give reason.
code=2;
switch(code)
{ case 1: rem= 8;
case 2: rem= 9;
case 3: rem= 10; break;
case 4: rem= 11; break;}
Ans: rem = 10
Reason: Since code = 2, the execution starts from case 2. There is no break after case 2, so the control falls through to case 3. In case 3, rem becomes 10, and then the break statement stops the switch.
Q.21 Write a for loop that displays all odd numbers between 1 to 10.
Ans: for(int i = 1; i <= 10; i = i + 2)
{
System.out.println(i);
}
Q.22 i. How can we enable assertions to debug our code in java?
Ans: To enable assertions at runtime, you can enable them from the command line by using the –ea option
ii. What are the two ways to create threads in java?
Ans: (i) By extending the Thread class
(ii) By implementing the Runnable interface
iii. Which member function of the Integer wrapper class allows access to the int value held in it.
SECTION C: (COMPETENCY BASED QUESTIONS) - (2x4=8 Marks)
Answer any 02 questions out of the given 03 questions.
Q.23 What are methods in Java? Write a user defined method that return product of two numbers.
Ans: A method in Java is a block of statements grouped together to perform a specific task.
A method has a name, return type, optional parameters, and a body.
User Defined Method to Return Product of Two Numbers
static double product(double number1, double number2)
{
return (number1 * number2);
}
Q.24 What is an exception? How are exceptions handled in java? Explain with example.
Ans: An exception is an unexpected error or event that occurs during the execution of a program and disrupts the normal flow of the program.
Example: Division by Zero Exception
try
{
int quotient = 10 / 0;
System.out.println(quotient);
}
catch (Exception e)
{
System.out.println(e.getMessage());
}
Q.25 i. How database management concepts are helpful in Government sector?
Ans: Database management concepts are helpful in the government sector for efficiently storing, managing, and retrieving large amounts of data related to citizens and administrative work.
For example, databases are used to maintain records of:
Electoral rolls, Tax records, Criminal records, PAN cards, Aadhaar cards, Vehicle registrations, Birth and death registrations
ii. A Hospital is making database of patients and its staff. Doctor table includes Docid, Dname, and Department. Give details of Patient Table along with its schema.
| Name |
Type |
Remarks |
| pid |
Varchar(5) |
Patient unique number |
| pname |
Varchar(20) |
Patient name |
| phone |
Int(10) |
Patient phone no |
| disease |
Varchar(20) |
Disease he/she is suffering from |
Schema: Patient (pid, pname,phone,disease)
Download Now - Class 12 IT 802 Sample Question Paper 2021-22 (Term 2) 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 2021-22 Term 2 with Solution