Information Technology 802 Class 12 Sample Paper Term 2
Last updated on May 1st, 2024 at 07:31 am
Information Technology 802 Class 12 Sample Paper Term 2
Subject Code: 802
Session: 2021-2022 Term II
Time Allowed: 90 min/ Max. Marks: 30
General Instructions:
1. Please read the instructions carefully
2. This Question Paper is divided into 03 sections, viz., Section A, Section B and Section C.
3. Section A is of 05 marks and has 06 questions on Employability Skills.
a) Questions numbers 1 to 4 are one mark questions. Attempt any three questions.
b) Questions numbers 05 and 06 are two marks questions. Attempt any one question.
4. Section B is of 17 marks and has 16 questions on Subject specific Skills.
a) Questions numbers 7 to 13 are one mark questions. Attempt any five questions.
b) Questions numbers 14 to 18 are two marks questions. Attempt any three questions.
c) Questions numbers 19 to 22 are three marks questions. Attempt any two questions
5. Section C is of 08 marks and has 03 competency-based questions.
a) Questions numbers 23 to 25 are four marks questions. Attempt any two questions.
6. Do as per the instructions given in the respective sections.
7. Marks allotted are mentioned against each section/question.
SECTION A (3 + 2 = 5 marks)
Answer any 03 questions out of the given 04 questions (1 mark each)
1. Who are social entrepreneurs?
2. An entrepreneur may face many personal barriers. Give any two personal barriers to entrepreneurship.
3. What are the possible green jobs in building and construction?
4. What is the mission of National Action Plan on Climate Change?
Answer any 01 question out of the given 02 questions (2 marks)
5. What are the attitudes that make a successful entrepreneur?
6. List some ways to minimise waste and pollution.
SECTION B (5 + 6 + 6 = 17 marks)
Answer any 05 questions out of the given 07 questions (1 mark each)
7. Why Java program is platform independent?
8. Think of any two work areas which uses Database Management Systems.
9. How can you write multiline comments in java program?
10. What should we do to make a data member or a method member of a class visible only within the class?
11. Why main is special method in java program?
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); }
13. Write the statement to create an array that stores percentage of 5 students.
Answer any 03 questions out of the given 05 questions (2 marks each)
14. Explain the difference between a Class and an Object with an example.
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);}
16. Give two differences between while loop and do while loop.
17. What is the need of a constructor in OOP? Also write one feature of a constructor.
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 (3 marks each)
19. Read the code carefully and give its output :
package javaprogarms;
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(); }};
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;}
21. Write a for loop that displays all odd numbers between 1 to 10.
22.
i) How can we enable assertions to debug our code in java?
ii) What are the two ways to create threads in java?
iii) Which member function of the Integer wrapper class allows access to the int value held in it.
SECTION C (2 x 4 = 8 marks)
(COMPETENCY BASED QUESTIONS)
Answer any 02 questions out of the given 03 questions. (4 marks each)
23. What are methods in Java? Write a user defined method that return product of two numbers .
24. What is an exception? How are exceptions handled in java? Explain with example.
25.
i) How database management concepts are helpful in Government sector?
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.