CBSE Class 12 Informatics Practices Question Paper 2011 With Solutions
CBSE Class 12 Informatics Practices Question Paper 2011 With Solutions
Informatics Practices
Previous Year Question Paper 2011
Series: SOS Code no. 90
INFORMATICS PRACTICES
1. (a) Ms. Kant Sengupta wants to prevent unauthorized access to/from his
company’s local area network. Write the name of a system
(software/hardware), which he should install to do the same. 1 Mark
The source code of these softwares is The source code of these softwares is
kept hidden from the end users. available for the end users and can be
To modify the software you will need No permissions from owner are
a license with special permissions required in the form of the license.
granted from the owner.
XML HTML
3.(a) Write MySql command that will be used to open an already existing
database "CONTACTS. 1 Mark
Ans: USE CONTACTS;
(b) The Doc_name Column of a table Hospital is given below: 2 Marks
Doc_name
Avinash
Hariharan
Vinayak
Deepak
Sanjeev
If the Bill amount is more than Rs, 25,000, then the customer gets an
additional discount of 5%. Write Java code for' the following:
(i) To assign Additional Discount as 0 (jTextField4) and Net Amount as 0
(jTextField5). Also set them as un-editable. 1 Mark
Ans: jTextField4.setText ("0") ;
jTextField5.setText ("0") ;
jTextField4.setEditable(false) ;
jTextField5. setEditable(false) ;
(ii) [When "Calculate Discount" (jButton1) is clicked]
(i) To list the names of those students. who have obtained Division as FIRST
in the ascending order of NAME. 1 Mark
Ans: SELECT Name FROM EXAM WHERE Division = 'FIRST' ORDER BY
Name;
(ii) To display a report listing NAME, SUBJECT and Annual stipend
received assuming that the stipend column has monthly stipend. 1 Mark
6.(a) Write a MySql command for creating a table "BANK" whose structure
is given below: 2 Marks
Table: BANK
Table: CUSTOMER
C_ID CustomerName City ID
01 Samridhh Ltd New Delhi 1002
05 Big Line Inc Mumbai 1005
12 97.8 New Delhi 1001
15 Tom N Jerry Bangalore 1003
Table: Dept