Higher Secondary Computer Applications Model Questions For Practical
Higher Secondary Computer Applications Model Questions For Practical
PART A
1. Input a number and check whether it is positive, negative or zero.
2. Input the principal amount, type of account (C for current a/c or S for SB a/c) and number of years, and
display the amount of interest. Rate of interest for current a/c is 8.5% and that of SB a/c is 6.5%.
3. Find the area of a rectangle, a circle and a triangle. Use switch statement for selecting an option from a
menu.
4. Find the sum of the digits of an integer number.
5. Display the multiplication table of a number having 12 rows.
6. Find the sum of the squares of the first N natural numbers without using any formula.
7. Find the length of a string without using strlen() function.
8. Input the price of a set of higher secondary textbooks and find the highest and lowest prices.
9. Define separate functions to return simple interest and compound interest by accepting principle amount,
time and rate of interest as arguments.
10. Define a function to swap two variables. Using this function, interchange the values of three variables.
PART B
11. Design a simple and attractive webpage for Kerala Tourism. It should contain features like background
colour/image, headings, text formatting and font tags, images, etc.
13. Design a simple webpage about your school. Create another webpage named address.htm containing
the school address. Give links from school page to address.htm.
14. Design a web page containing a table as shown below
1
16. Design a webpage containing frames that divide the screen vertically in the ratio 50:50. Design two web
pages one containing the list of Indian cricket team members and the second page containing a list of
Indian football team members.
17. Consider that your school is hosting an inter-school IT fair. Design a form webpage that contains a form
for accepting registrations. The form page should contain facility to enter school name, user name,
password and a mobile phone number. It should also contain buttons for saving and clearing the data
entered.
18. Develop a webpage with two text boxes and a button labelled Show. The user can enter a number in
the first text box. On clicking the button, the second text box should display whether the number is even
or odd. Write the required JavaScript.
19. Develop a webpage with two text boxes and a button labelled Show. The user can enter a number in
the first text box. One clicking the button, the second text box should display the sum of all numbers up
to the given number. Write the required JavaScript.
20. A webpage should contain one text box for entering a text. There should be two buttons labelled To
Upper Case and To Lower Case. On clicking each button, the content in the text box should be
converted to upper case or lower case accordingly. Write the required JavaScript for these operations.
21. Create a table Student with the following fields and insert at least 5 records into the table except for the
column Total.
a. Update DA with 75% of Basic for Managers and 80% Basic for all other employees.
b. Update the Gross_pay with the sum of Basic and DA
c. Display the details of employees in Purchase, Sales and HR departments in descending order of
Gross pay.
d. Find the number of employees in Accounts department.
e. Delete the details of clerks whose Gross pay is below 5000.
23.Create a table Stock, which stores daily sales of items in a shop, with the following fields and insert at
least 5 records into the table.
Item_code Integer Primary key
Item_name Varchar (20)
Manufacturer_Code Varchar (5)
Qty Integer
Unit_Price Decimal (10,2)
2
Exp_Date Date
a. Display the number of items manufactured by each company which expire after 31/3/2016.
b. Add a new column Reorder in the table to store the reorder level of items.
c. Update the column Reorder with value obtained by deducting 10% of the current stock.
d. Display the details of items which expire at last.
e. Remove the items which expire before 01/03/2015 or that are manufactured by ABC & Co.
24. Create a table Book with the following fields and insert at least 5 records into the table.
Book_ID Integer Primary key
Book_Name Varchar (20)
Author_Name Varchar (25)
Pub_Name Varchar (25)
Price Decimal (10,2)
a. Display the details of books with price 100 or more.
b. Display the Name of all the books published by SCERT.
c. Increase the price of the books by 10% which are published by SCERT.
d. List the details of books with the title containing the word Programming at the end.
e. Remove all the books written by Balaguruswamy.
25. Create a table Bank with the following fields and insert at least 5 records into the table.
Acc_No Integer Primary key
Acc_Name Varchar (20)
Branch_Name Varchar (25)
Acc_ Type Varchar (10)
Amount Decimal (10,2)
a. Display the branch-wise details of account holders in the ascending order of the amount.
b. Insert a new column named Minimum_Amount into the table with default value 1000.
c. Update the Minimum_Amount column with the value 1000 for the customers in branches other than
alappuzha and Malappuram.
d. Find the number of customers who do not have the minimum amount 1000.
e. Remove the details of SB accounts from Thiruvananthapuram branch who have zero (0) balance in
their account.