CBSE Previous Year Question Papers Class 12 Informatics Practices Outside Set 4 2016
CBSE Previous Year Question Papers Class 12 Informatics Practices Outside Set 4 2016
Code No. 90
Roll No. Candidates must write the Code on the
title page of the answer-book.
INFORMATICS PRACTICES
General Instructions :
(i) All questions are compulsory.
(ii) Answer the questions after carefully reading the text.
90 1 P.T.O.
1. (a) Vidya College has three departments that are to be connected into a 2
network. Which of the following communication medium (out of the given
options), should be used by the college for connecting their departments
for very effective High Speed communication ?
Coaxial Cable
Optical Fiber
Ethernet Cable
Also name the type of network (out of PAN/LAN/WAN) formed.
(b) State reason why Star topology requires more cable length than Bus 2
topology.
(c) Seema needs a network device that should regenerate the signal over the 2
same network before the signal becomes too weak or corrupted.
Amit needs a network device to connect two different networks together
that work upon different networking models so that the two networks can
communicate properly.
Name the devices that should be used by Seema and Amit.
(d) How is a domain name related to an IP address ? 2
(e) How is firewall useful in ensuring network security ? 2
2. (a) Identify the odd one out of the following Java statements. State reason 1
for your choice.
(i) for
(ii) do while
(iii) switch
(iv) while
(b) Write the purpose of parseInt( ) method. 1
(c) Identify invalid variable names out of the following. State reason if 1
invalid.
(i) for
(ii) - salary
(iii) salary12
(iv) product
(d) What is the difference between statements (i) and (ii) ? 1
(i) t 5 2;
(ii) if (t552)
d53;
90 2
Bookmark – LearnCBSE.in
1. On your computer, open Chrome.
2. Go to the site you want to visit again in the future.
3. To the right of the address bar, click Star .
To import bookmarks from most browsers, like Google Chrome Firefox, Internet
Explorer, and Safari:
1. On your computer, open Chrome.
2. At the top right, click more .
3. Select Bookmarks Import Bookmarks and Settings.
4. Select the downloaded program
(https://drive.google.com/open?id=1H9UTsvlPwihBa3kkVL0_Dw4Rcx6-TNeP - download)
that contains the bookmarks you'd like to import.
5. Click Import.
6. Click Done.
3. (a) What is the meaning of Open Source in the term Open Source Database 1
Management System ?
(b) In a table Employee, a column Occupation contains many duplicate 1
values. Which keyword would you use if you wish to list only different
values ?
(c) How is ALTER TABLE statement different from UPDATE statement ? 1
(d) Charvi wants to delete the records where the FirstName is Rama in 1
the Emp Table. She has entered the following SQL statement. An error
is being displayed. Rewrite the correct statement.
DELETE Rama FirstName FROM Emp;
90 3 P.T.O.
(e) (i) Name 2 Group (Aggregate) functions of SQL. 2
Table : Company
CompanyCode Donations
C101 13000
C102 NULL
C104 7000
C105 4000
ENO NAME
1 Anita Khanna
2 Bishmeet Singh
SET AUTOCOMMIT 5 0;
COMMIT;
SAVEPOINT A;
SAVEPOINT B;
SAVEPOINT C;
ROLLBACK TO B;
90 4
(g) Consider the table below : 2
Table : Company
Identify error(s) in the following SQL statement. Rewrite the correct SQL
statement.
FROM Company
GROUP BY Department;
(b) Write Java statement to extract selected item from a given listbox named 1
jList1.
(c) What will be displayed in jTextField1 and jTextField2 after the following 1
code is executed :
int t;
int x;
x512;
t5(3*x11)/3;
jTextField1.setText('' ''1t);
jTextField2.setText('' ''1x);
90 5 P.T.O.
(d) Write the output that will be displayed in the textfields by the following 2
Java code :
String x;
String stream5Commerce;
jTextField1.setText((stream.length()19)1'' '');
x5stream.concat(Humanities);
jTextField2.setText(x);
jTextField3.setText('' ''1x.substring(2,5));
jTextField4.setText(stream.toLowerCase());
(e) Write the value that will be stored in variable sum after execution of 2
following code :
int sum50,m54;
for(int i59;i>56;i--)
{
if (i%3550)
sum5sum1i;
else
sum5sum2i;
}
(f) The following code has error(s). Rewrite the correct code underlining all 2
the corrections made :
int a50;
int b515;
do ;
a5a13;
b5b23;
while a<5b;
90 6
(g) Ms. Sharma works as a programmer in ABC Car Rental Company
where she has designed a software to compute charges to be paid by the
client. A screenshot of the same is shown below :
A client can also opt for services of a guide. Charges vary depending on
the type of car opted.
90 7 P.T.O.
(i) After selecting appropriate Radio Button and checkbox(if required), 2
when CALCULATE button is clicked, Amount, Guide Charges and
Total Amount should be calculated and displayed in the respective
text fields.
5. (a) Srishti has created the following table with the name Veterinary. 2
90 8
(ii) Srishti is now trying to insert the following row :
90 9 P.T.O.
6. (a) Write SQL query to create a table Song with the following structure : 2
Table : Party
Table : Client
(c) With reference to the above given tables (in Q6 b), Write commands in 6
SQL for (i) and (ii) and output for (iii) given below :
90 10
(ii) To display Client Ids, their addresses, number of guests of those
clients who have Adarsh anywhere in their addresses.
S.No Function
1 To enter NAME
2 To enter MOBILE NUMBER
3 To allow user to choose one CATEGORY out of the
categories :
Company, Trust, Individual.
4 To enter NATURE OF BUSINESS/PROFESSION in the
form of a paragraph
90 11 P.T.O.