802 CBSE Sample Paper
802 CBSE Sample Paper
802 CBSE Sample Paper
Pg. 1
iv. Roma is booking a railway ticket using an online ticketing website makemytrip.com. 1
When she reached to catch the train she found that she left the ticket at her hotel.
What should she do?
(a) she can’t board the train
(b) she should book a new ticket at station
(c) she should go back and get the ticket
(d) She can download the e-ticket from the website.
v. Who are social entrepreneurs? 1
vi. What are the attitudes that make a successful entrepreneur? 1
vii. Why and How is Java Platform Independent? What are superclass and subclass, 1
respectively?
Pg. 2
SECTION B: SUBJECTIVE TYPE QUESTIONS
Q. 5 Write a java program to print the largest of three numbers? 3
Q. 6 Write a java program to print first 20 natural number using while loop? 2
Q. 7 The following code has some errors(s). rewrite the correct code underlying all corrections. 3
Also categorize the loop as entry/exit control loops.
int p
P=14;
do
P= p-2
System. out. display (p);
While(p>=2);
Q. 8 What are four main OOP concept in java and what are the benefits of 3
object-oriented programming?
Q. 9 An Airlines company is making a database of its flights and staff. The staff table 2
includes : Emp_id, Emp_name, Emp_dob, E_sal. Give the details of Flight table with
its schema.
Q. 10 Mr. Amit wants to go for a business trip .He is thinking of booking a flight. 3
(a) Give any one benefit of online reservation to Amit?
(b) What are the precautions to be followed while performing online transactions?
(c) Give any one advantage to the company providing online reservation?
Q. 11 How many types of constructors are there in the Java programming language? Define all with 3
example?
Q. 12 Explain method overloading? Compare overloading with overriding? 3
Q. 13 Explain the different types of SQL commands. ? Define DDL and DML? 3
Q. 14 Explain important phases of Web Application Development. 3
Q. 15 What do you mean by access specifiers ? List the Java access specifiers that are available? 3
Q. 16 Consider the following table and write SQL statements Table Menu 4
Pg. 3
Pg. 4