Xii Information Technology Sample Paper
Xii Information Technology Sample Paper
SAMPLE PAPER
INFORMATION TECHNOLOGY(CODE:802)
GENERAL INSTRUCTIONS:
Q.1 Answer any 4 out of the given 6 questions on Employability Skills (1 x 4 = 4 marks)
i. People with this personality disorder disregard social rules and obligations. 1
(a) Borderline
(b) Antisocial
(c) Histrionic
(d) Narcissistic
Page 1 of 6
iii. Mention any two characteristics of Entrepreneurship. 1
ii. A group of statements which get executed repeatedly based on a condition in java is called 1
_______.
(a) Selection
(b) Sequential
(c) Iteration
(d) None of these
iii. Name the first the national satellite-based computer network in India. 1
v. Internet transactions are susceptible to frauds. Creating a strong password is vital. A strong 1
password has:
(a) 6-8 Alphanumeric characters and special symbols
(b) Only Special symbols
(c) Only numbers
(d) Less than 6 characters
ii. Cardinality of a table is five and degree is four. If three columns and three rows are added to 1
this table, what will be the new degree and cardinality of the given table?
Page 2 of 6
(a) 8,7
(b) 7,8
(c) 3,3
(d) 4,5
iii. If int x = 40 , y = 50 ; What will be the output of the statement System.out.println(x > y) ; in 1
java.
iv. In ________________________ phase we identify the problem statement for which the 1
web application is to be developed.
ii. The ______________command is used to modify the structure of the table STUDENT in 1
MySQL.
(a) Modify table STUDENT
(b) Alter table STUDENT
(c) Alter STUDENT
(d) Modify STUDENT
iii. Ms Sarika is creating a table SALESMAN with fields Salesmannumber, Name, TotalSales. 1
She doesn’t want the TotalSales column to be remain unfilled i.e. she wants to make entry in
this field mandatory. Which constraint she should use at the time of creating SALESMAN
table:
(a) Check
(b) Default
(c) Not null
(d) Primary key
iii. Write a java statement to create an array to store the salary of 4 employees. 1
iv. In the table employee, Vinod doesn't want repeated values in column salary. Rewrite the 1
correct command.
select salary from employee;
Page 3 of 6
Q.6 Answer any 3 out of the given 4 questions (1 x 3 = 3 marks)
iii. Ms Reema has created a database with name “Exam”. Help her to access “Exam” database 1
with the correct MySQL statement.
iv. The National Portal of India provides a single window access to information and services 1
being provided by the various Indian Government entities Which of the following is the
website for the National Portal of India:
(a) india.gov.in
(b) india.gov.org
(c) indian.gov.in
(d) indian.gov.org
Q.9 How do you protect your spreadsheet from unauthorized access? Which menu option you will 2
click to protect your spreadsheet?
Q.10 What are the various organizational skills required to become a successful entrepreneur? 2
Q.12 The following commands are giving errors. Write the correct MySQL commands. 2
(a) delete from table Student where rollno = 10 ;
(b) select * from Accounts dept like ‘B%’ ;
Q.13 Mr Subash has mistakenly entered ‘‘Ruwy’’ instead of ‘‘Ruwi’’ in address field of table 2
‘OFFICE’. Help him to write the correct SQL command to make the desired changes in the
table.
Q.16 What will be the value of variable ‘val’ after the execution of the following code snippet? 2
why?
Page 4 of 6
opt = 4;
switch(opt)
{case 3: val = 20;
case 4: val = 25 ;
case 5: val = 35; break;
case 6: val = 45; break; }
Q.17 What do you mean by default constraint for a field in a table? Explain with an example. 2
Q.18 A company is making database of its product and dispatch. Product table includes Pcode, 2
Pname, Pcost. Give details of Dispatch Table along with its schema.
Q.19 Write a code in java using while loop that displays all numbers divisible by 4 from 1 to 50. 3
Q.20 Consider the following code, instead of printing number 1 2 3 4 5 it printed only 6. 3
int x ;
for( x=1; x<=5 ; x= x+1) ;
System.out.println(x);
(a) Name the coding error shown in the above code.
(b) What is the reason for the error?
(c) Write the corrected java code.
Q.21 What do you mean by aggregate function in MySQL? Explain any two aggregate functions 3
used in MySQL.
Q.23 Mr Abhishek wants to go for a business trip. He is thinking to book a train ticket. 4
(a) Name any one website he should browse for booking the train ticket.
(b) Give any one benefit of online reservation to Abhishek.
(c) What are the precautions to be followed while performing the online transactions?
(d) Give any one advantage to the company providing the online transaction.
Q.24 Write a code in java using a do-while loop to display all numbers from 50 to 1.Is do-while 4
loop an entry controlled loop or an exit controlled loop?
Page 5 of 6
Q.25 Write the MySQL commands for the following queries: 4
Table Name: RESORT
RCODE PLACE RENT TYPE STARTDATE
Q.26 Write a code in java using a for loop to display all odd numbers from 1 to 30.Is for loop an 4
entry controlled loop or an exit controlled loop?
Page 6 of 6