Sie sind auf Seite 1von 2

PEARLS PUBLIC SCHOOL A/C

NAME : …………………………………… STANDARD : XI SECTION :


………..
INVIGILATOR’S SIGN : ………………... ROLL NO : ……….… DATE : …….………

II –TERM PRACTICAL EXAMINATION – DECEMBER 2018


INFORMATICS PRACTICES
Time: 2 Hr Total Marks: 20
I. Perform the following operations on the respective applications :
1) Create two tables in a database using a database tool to store information on employees.

The first table should contain personal information of the employees and the second table

should contain information about the profession and education degrees. (3m)

II. Design the following GUI applications and write the steps followed to create GUI application:
1) Design a GUI desktop application in java to accept sales of a company for four quarters in

text fields. Calculate the total yearly sale and display the same in a dialog box. Add

appropriate labels and an exit button to end the application. (6m)

2) An electronic shop has announced the following seasonal discounts on the purchase of

certain items

Develop an application based on the above criteria, to input amount of purchase and the type

of purchase ( TV or Music System using JRadioButton) by a customer. Compute and print the

net amount to be paid by a customer along with his name accepted in a text field.

[Hint: Discount = ( Discount rate / 100) * Amount of purchaseNet amount = amount of

purchase - discount).] (6m)

3) Consider the table "Grocer" and write SQL queries for the tasks that follow:

Table: Grocer (5m)


a) Display Item name along with year in which it was purchased for all the items.

b) Display the day name of the week on which Rice was purchased.

c) Display UnitPrice, Quantity and a third column which has UnitPrice divided by 10. Round it to two

decimal points.

d) Display details of all the items with ItemName name ending with "E".

e) Display all rows sorted in descending order of Quantity(kg).

Das könnte Ihnen auch gefallen