802werr454
802werr454
in
→
Table of Contents
Home Computer Science [083] Informatics Practices [065] Employability Skills Info. Tech. [402/802] Artificial Intelligence [417]
Artificial Intelligence [843] Computer Application [165] Sumita Arora Solution G.K. CBSE News Project Contact Us
Recent Posts
Class 12 Information Technology Code 802 CBSE CBSE Skill Education Syllabus and
Sample Question Paper 2022-23 Answer Key Download Curriculum 2023-24 Class 6 to 12
Download pdf
PDF
CBSE Syllabus & Curriculum 2023-24
/ Class 12 Information Technology 802, IT 802 CBSE Sample Question Paper / By mycstutorial /
December 24, 2022 Class 1 to 12 Download PDF
INFORMATION
Skill – II Study Material Notes PDF
Notes
(Session 2022-2023)
Answer: A startup is a company that is in the first stage of its operations. Startups
can be started with minimum investment.
ii. Ms Sharma has saved marks of all students in a spreadsheet. What should she do to 1
find out three students with the highest total marks?
iv. Vikky had big dreams when he was studying. He worked hard for achieving his dreams 1
and has achieved his goals. Which of the following options does the given fact refer to?
a. Positive thinking b. Result Orientation c. Self Awareness d. Emotional management
v. Rina loves interacting with people and is, generally, talkative. She can easily make 1
friends and make any gathering lively, is confident. Identify the type of personality
Reema possesses.
a. Nervous b. Extrovert c. Paranoid d. Agreeable
Answer: b. Extrovert
ii. A group of statements which get executed based on a condition in java is called 1
.
(i) Selection (ii) Sequential (iiii) Iteration (iv) None of these
Answer: a. A foreign key constraint can reference columns within the same table.
Answer: To make a data member or a method member of a class visible only within
the class, we add the keyword private before its declaration
vii. Which website should we search for the list of NCERT e books? 1
Answer: http://www.ncert.nic.in
Answer: 20
iv. This website includes sites of different states and union territories of India, sites of 1
government departments like judiciary and legislature. Which is this website?
a. goidirectory.nic.in ii. godirectory.nic.in iii. indiagov.in iv. india.gov.in
Answer: goidirectory.nic.in
v. Cardinality of a table is four and degree is three. If two columns and four rows are 1
added to this table, what will be the new degree and cardinality of the given table?
(a) 5,8 (b) 3,4 (c) 8,5 (d) 4,3
Answer: a. 5,8
vi. The Phase of application development that involves creating a database and writing 1
code is called
Answer: Implementation Phase
vii. b. Identify the valid variable names from the following Total marks , int , marks$ , 1
marks4
i. This website provide high quality online courses for free, in collaboration with various 1
universities across the globe. Which is this website?
a. coursera.org b. khan academy c, w3schools.org d. cbse.nic.in
Answer: a. Coursera.org
ii. While entering the data in the table, Seema is not able to leave the column age as 1
blank in the table. What can be the possible reason?
iv. What is the need of JVM? Answer: When the bytecode (also called a Java class 1
file) is to be run on a computer, a Java interpreter, called the Java Virtual Machine
(JVM), translates the bytecode into machine code and then executes it
v. Which of the following queries will give the same output select rollno, name from 1
student where subject in (‘Information Technology’,’Informatics
Practices’);select rollno, name from student where subject between
‘Information Technology’ and ‘Informatics Practices’;select rollno, name from
student where subject =’Information Technology’ or subject =’ Informatics
Practices ‘; select rollno, name from student where subject =’Information
Technology’ and subject =’Informatics Practices’; Answer: (a) and (c) are
same
vi. Which member function of the Integer wrapper class allows access to the int value 1
held in it? Answer: intValue() member function of the Integer wrapper class allows
access to the int value held in it.
i. Sagar has declared an array whose last element is having an index/position as 10. 1
What would be the size of this array? Answer: 11
ii. In the table teacher, Riya doesn’t want repeated values in column marks. Rewrite the 1
correct command. select marks from teacher; Answer: SELECT DISTINCT
MARKS FROM TEACHER;
iii. Rema wants to input the price of shoes as 999.99 .What should be the datatype and 1
size of the column price in the table? Answer: Decimal (6,2)
iv. What is an exception in java? Answer: An error situation that is unexpected in the 1
program execution and causes it to terminate unexpectedly is called an exception
v. How can you write multiline comments in java program? Answer: Writing the 1
comment between the symbols /* and */
vi. What is the purpose of wait () method in java threads? Answer: This method is 1
useful when you have multiple threads running but you want one of them to start
execution only when another one finishes and notifies the first one to resume execution
i. What are the two ways to create a thread in java? Answer: In Java, threads can be ½
created in two ways 1. By extending the Thread class 2. By implementing the +
Runnable interface ½
ii. What is the difference between the following two java statements? int x=5;integer ½
y= new integer(50); Answer: In the first declaration, an int variable is declared and +
initialized with the value 50. In the second declaration, an object of the class Integer is ½
instantiated and initialized with the value 50. OR The variable x is a memory location
and the variable y is a reference to a memory location that holds an object of the
class Integer.
iii. 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? she can’t board the trainshe should book a new ticket at
stationshe should go back and get the ticketShe can download the e-ticket from the
website. Answer: d. She can download the e-ticket from the website
iv. What is the MYSQL command to list the names of teachers in alphabetical order in 1
the teacher table? Answer: SELECT Name FROM Teacher ORDER BY Name;
vi. What do we mean by scope of a project? Answer: The focus is on “what” the 1
application must do. Recognizing the limitations that are placed on the project.
Q. Rohan has a successful start-up company. According to him ‘Decision Making is ½+1½
7 considered to be one of the important entrepreneurial competencies. Do you
agree with Rohan.? Justify. Answer: Yes. If an entrepreneur does not have the
ability to make suitable and timely decisions, the person may miss out on an
opportunity and incur losses
Q. How do you protect your spreadsheet from unauthorised access? Which menu 1+1
10 option you will click to protect your spreadsheet? Answer: Protect your
spreadsheet using a password. Click on Tools and select Protect Spreadsheet
Q.12 What will be the value of rem after the execution of the following code snippet? 1+1
why? code =2; switch(code) {case 1: rem= 8; case 2: rem= 9; case 3: rem=
10; break; case 4: rem= 11; break;} Answer: 10 Fall through statement
since there is no break in case 2
Q.13 The following commands are giving errors. Write the correct MYSQL 1+1
commands. alter table student delete marks;select * from employee
where name =‘%s%’; Answer: ALTER TABLE STUDENT DROP MARKS;
SELECT * FROM EMPLOYEE WHERE NAME LIKE ‘%S%’;
Q.14 Ms Prabha has mistakenly entered ‘‘AMIT’’ instead of ‘‘AMITA’’ in name field of 2
table ‘TEACHER’. Help her to write the correct SQL command to make the
desired changes in the table Answer: UPDATE Teacher SET NAME =”AMITA”
WHERE NAME=”AMIT”;
Q.15 A company is making database of its items and shipment. Item table includes 1+1
item code, item name, item cost . Give details of Shipment Table along with its
schema. Answer: SHIPMENT (Shipment_id, Details, Shipment_date)
Name Type Remarks Shipment_id INT(10)
Shipment number (Primary Key) Details VARCHAR(30)
location details Shipment_date DATE Date of shipment (or ANY
OTHER RELEVANT ATTRIBUTES)
Q.16 What is the difference between a while and a do-while loop? Answer: A while 1+1
loop is an entry controlled loop it tests for a condition prior to running a block of
code. A do-while loop is an exit control loop. OR A while loop runs zero or more
times Body of loop may never be executed A do-while loop runs once or more
times but at least once.
Q.17 Consider the following code int x = 1; while(x<=5); x = x +1; Name the coding 1+1+1
error shown in the above code.What is the reason of the error? (c)Write correct
java code. Answer: Syntax error This loop is an infinite loop. while ( x <=5 )
Q.18 Give any two characteristics of a relational model.Which aggregate function is 2+1
used to find the average of all the values for a selected attribute of a table.
Answer: (a) In relational model, 1.A column is called an Attribute. 2.The value
in each tuple is an atomic value. (Or any other 2 characteristics) (b) AVG
Q.19 List the various ways in which database management applications can be used 3
in Government Sector. Answer: Database management application cab
used in For storing details of electoral roll, all types of taxes (Income tax, sales
tax, house tax etc.), criminal records, details of PAN cards, AADHAR cards,
vehicle registration, birth/death certificate registration.
Q.20 What are String Class Methods in Java? Consider the statement String name 1+1+1+1
= ‘‘Hello World’’. Write a single line Java code using String methods to
perform the following : Convert the name to lowercase.Replace “Hello” by
“Welcome” in the given string.Check whether the name contains ‘‘Sin’’ in it
or notAdd a new string ‘‘jackpot” at the end of original string. Answer: a.
name.toLowerCase( ) b. name.replace(”Hello”,“Welcome”) c.
name.contains(”Sin”) d. name.concat(”jackpot”)
Q.21 Mr. Amit wants to go for a business trip .He is thinking of booking a flight. 1+1+1+1
Name any one site which he should browse for booking an air ticket.Give any
one benefit of online reservation to Amit?What are the precautions to be
followed while performing online transactions?Give any one advantage to the
company providing online reservation? Answer: a. makemytrip.com (or any
other reservation site) b. Convenient, time saving (or any other benefit) c.
Make a password complex like mix case, use numbers and special
characters. Be cautious not to leave passwords around. (or any other
precaution) d. Requires Less Staffing, No Spatial Restrictions (or any other
benefit)
Q.22 Write a code in java using a for loop to display all odd numbers between 1 to 3+1
10. Is for loop an entry controlled loop or exit control loop? Answer: Loop to
print odd numbers between 1 to 10: – for (int count = 1; count <= 10; count
= count +2) { System.out.println(count); } Entry control loop
Q.23 What is the need of a constructor in OOP? Explain all features of a 1+3
constructor. Answer: A special method member called the constructor
method is used to initialize the data members of the class. Features of
Constructor: – The constructor has the same name as the class, has no
return type, and may or may not have a parameter list. Whenever a new
object of a class is created, the constructor of the class is invoked
automatically. We do not call the constructor explicitly.
Q.24 Write the Mysql commands for the following queries :- TRAIN 4
TrainID Station 0001 DELHI
0002 MUMBAI COUNTER TicketID
Date Cost TrainNo T1
12/3/22 500 0001 T2
15/5/22 450 0002 T3
15/5/22 500 0001 To find all the stations, date for
ticket id as T1.To find the total ticket amount collected from each station.To
displays all the tables created in the current database.To delete table counter
along with the information in it. Answer: a. SELECT , DATE FROM TRAIN,
COUNTER WHERE TRAIN.TrainID=COUNTER.TrainNO and
TicketID=”T1”; b. SELECT SUM(COST), STATION FROM TRAIN,
COUNTER WHERE TRAIN.TrainID=COUNTER.TrainNO GROUP BY
STATION; c. SHOW TABLES; d. DROP TABLE COUNTER;
Related Posts
educational aids free of cost, study CBSE Question Bank 2023-24 Class 10
material, sample papers and so many CBSE Question Bank 2023-24 Class 12 Contact Info
other things also.
CBSE Question Bank 2023-24 (KVS Raipur)
Our only moto to help the students CBSE Question Bank 2023-24 (KVS Raipur) Phone
without any trouble or cost.
CBSE Question Bank 2023-24 (KVS Hyd) +91 8221909045
Email
Follow Us [email protected]
COPYRIGHT © 2023 MYCSTUTORIAL- THE PATH TO SUCCESS IN EXAM POWERED BY ANJEEV SINGH