Practical Evaluation: Key Concepts
Practical Evaluation: Key Concepts
1
2. Developing HTML documents (7 problems)
• Basic tags, <IMG> tag (1 problem)
• Lists (nesting) (1 problems)
• Hyper linking (1 problem)
• Table (2problems)
• Frame (1 problem)
• Form (1 problem)
3. Client side programming with JavaScript (3 problems)
• Control structure (2 problems)
• Data validation (1 problem)
4. Database queries using MySQL (5 problems)
• Five tables should be identified and queries should be designed
in such a way that all clauses, operators and aggregate functions
are to be covered.
B. Lab Work
This is an activity by which, the concepts acquired and observations noted
are practically implemented in the lab, and thereby, more clarity about
the concepts and operational skills are achieved. The students should
also be convinced about the use of computer for problem solving with
the help of user developed programs. This activity makes the students
utilise the computer to develop applications in various fields. The active
participation and involvement of the students are to be ensured.
A minimum of 25 problems, as specified above, are to be solved through
the lab work. Sample questions from each area are given as Appendix-1
of this document. The questions are grouped into three levels for each
area, based on the difficulty level. While selecting the minimum required
questions, we should ensure that, questions are chosen from all the three
levels. The number of questions from each level should be in the ratio
5:3:2 for each area of the syllabus. A sample list of 25 problems as per the
foresaid criteria is given as Appendix-2.
Practical Log Book
Practical Log Book (PLB) is a standard record book in which all the
activities related to lab work are recorded. A PLB is opened in Class XI
for the lab work and the same is used in Class XII. Lab work is a continuous
2
process. The PLB should contain a minimum of 25 works as specified in
the practical syllabus. The format of recording in Practical Log Book may
be as follows:
Programming in C++
LHS page RHS page
• Algorithm / Flowchart • Problem number and Date of
practical work
• Sample Input and Output • Problem statement
• Source Code
3
• Program number and date
• Problem statement
• Algorithm / Flowchart / Tags and attributes
• C++ source code/ HTML code / SQL statements
Tryout: In the case of C++ programming and web applications, the source
code is typed, compiled and executed in the lab. During the debugging
process, the corrections, if any, are noted down in the PLB also. When the
output is obtained, it should be intimated to the teacher. Teacher performs
process assessment and makes necessary recordings in both the PLB and
Teacher’s manual. Students record sample output in the PLB or take the
printout of the output.
Reporting: The PLB with the final code and sample output (pasted
printout in the case of web applications and office packages) is submitted
and get it signed by the teacher before the next lab period.
The programs discussed in the class room are to be tried out in the lab.
More problems are also available in the text book. Teacher is expected to
ensure a minimum number of problems in the Practical Log Book covering
all the areas suggested for practical evaluation. The prescribed proportion
among the three groups should be strictly followed in the selection of
questions.
4
• The questions are to be finalised from the pool issued by the DHSE
referring to the PLB.
• There will be three parts in the question paper. Part A contains
questions from Programming in C++. Part B contains questions
for web applications from the respective syllabus and Part C
includes questions for database queries. A candidate has to attend
two questions – one from Part A and the other from either Part B or
C whichever is assigned.
• There should be a minimum of 16 question papers for each batch
of 15 students. Each Question paper should contain a question
from Part A and another Question from Part B or C. While framing
questions for each question paper, it should be noted that if the
question from Part A requires more time due to its higher level,
the second question from Part B or C should be of lower level and
vice versa.
• One question paper will be selected by the student at random from
a set of 16 Question papers. Appropriate strategy may be adopted
by the examiner to ensure the fair conduct of examination.
• Once the learner is assigned the questions, he/she should write
the source code/ procedure/statements for any one of the
questions and submit it to the examiner. The examiner checks the
correctness of the logic or procedure and allows doing it on the
computer if found correct. If the logic or procedure is
approximately 70% correct, some clues or hints may be given and
the student is allowed to try on the computer. If the logic (or
procedure) is wrong, the examiner can give another problem from
the same area with the same level. The student may be allowed to
change the question within half an hour, if the question is found
unanswerable. In such cases, score should be deducted
appropriately.
• The debugging skills are to be assessed and credit should be given.
• The accuracy in the output is to be tested with proper sample data.
• Teacher should ensure that the programs developed as part of lab
work and by the previous candidates are deleted before the
commencement of the examination.
• The students are not allowed to use the help files of the software.
5
The score distribution for each question in C++ should be as follows:
• Logic of the solution
(Program coding) – 8 score
• Debugging skills
16 score
(Error correction and execution) – 6 score
• Dynamic problem solving skills – 2 score
The score distribution for each question in web application should be as follows:
• Proper tags and attributes
(Script if required) – 8 score
• Debugging skills 16 score
(Error correction and execution) – 6 score
• Dynamic problem solving skills – 2 score
The score distribution for each question in SQL should be as follows:
• Proper commands, clauses, operators, etc. – 8 score
• Debugging skills 16 score
(Error correction and execution) – 6 score
• Dynamic problem solving skills – 2 score
The score distribution for each question in Office packages should be as follows:
• Procedure/Formula/
Menus & Commands/Tools – 10 score
• Creativity and formatting ability – 4 score 16 score
• Dynamic skill in using the software – 2 score
Total score for 2 questions – 32 score
Practical Log Book – 4 score 40 score
Viva voce – 4 score
• Viva voce should not create sense of fear among the students. It
should not be formal in the form of an interview. It should be a casual
interaction with the students during the evaluation to check whether
he/she has conceptual/process clarity in the given two questions
only. The examiner may ask 4 to 6 questions to award the scores for
viva voce.
• The mark-list of the students should be prepared, reflecting the split
scores along with the total score.
• The scores of the students are to be recorded in the mark sheet issued
by the DHSE and send it to the DHSE as per the instructions given by
the directorate.
6
Dynamic problem solving skills may be tested as follows:
• After completing the program, a slight modification in the problem
can be made and let the learner modify the code to effect the change.
• The ability of the learner can be credited by awarding the 2 scores
suitably.
• E.g.: If the original question is to find the largest among three numbers,
ask to modify the code to find the smallest.
15
7
APPENDIX – 1
Pool of Questions
Programming in C++ (10 x 3 = 30 questions)
Level 1
1. Input a number and check whether it is positive, negative or zero.
2. Input three numbers and find the largest.
3. Input a digit and display the corresponding word using switch.
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 heights of 10 students and find the average height.
9. Find the factorial of a number with the help of a user-defined function.
10. Read admission number, name and marks of three subjects of a
student. Define a function named calc() to calculate average mark.
Level 2
1. Input three numbers and find the difference between the smallest
and the largest numbers.
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. Assume that January 1 is Monday. Write a program using switch to
display the name of the day when we input a day number in that
month.
4. Input a number and check whether it is palindrome or not.
5. Write a C++ program to display the following patters:
* * * * *
* * * *
* * *
* *
*
8
6. Input a number and check whether it is prime or not.
7. Create an array of N numbers and count the number of even numbers
and odd numbers in the array.
8. Input the price of a set of higher secondary textbooks and find the
highest and lowest prices.
9. Input an integer number and display its binary equivalent with the
help of a user-defined function.
10. Define a function to swap the contents of two variables. Using this
function, interchange the values of three variables. E.g. A→B→C→A.
Level 3
Units consumed Amount per Unit
1. Find the amount to be paid for the Up to 100 Rs. 0.50/-
consumption of electricity when the
101 – 150 Rs. 0.75/-
previous and current meter-readings are
given as input based on the conditions 151 – 200 Rs. 1.00/-
given in the table. 201 – 250 Rs. 1.50/-
2. Input three numbers and find the smallest Above 250 Rs. 2.00/-
and the second smallest.
3. Find the area of a rectangle, a circle and a triangle. Use switch statement
for selecting an option from a menu.
4. Display the first N terms of Fibonacci series.
5. Input two years (e.g. 1000, 2000) and display all leap years in between
them.
6. Input the amount of sales for 12 months of a medical representative
and find the average sales value without using an array.
7. Input a string and create a triangle using its characters as shown in
the given example.
S
8. Read N numbers into an array and S M
display the numbers larger than S M I
the average value. S M I L
S M I L E
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 accept an integer number and return its reverse
(e.g. if the argument is 123 the return-value should be 321). Using
this function display all palindrome numbers between a given range.
9
Web Applications (10 x 3 = 30 Questions)
(HTML - 7, JavaScript - 3)
Level 1
1. Design a simple and attractive web page for Kerala Tourism. It should
contain features like background colour/image, headings, text
formatting and font tags, images, etc.
2. Design a webpage as shown below using appropriate list tags.
Permanent members in UN Security Council
• Russia
• China
• USA
• UK
• France
3. Design a personal web page for your friend. It should have a link to
his e-mail address.
4. Design a web page containing a table as shown below.
Terrestrial Planets (Source: NASA)
Planet Day Length Year Length
(In Earth hours) (In Earth days)
Mercury 1408 88
Venus 5832 224.7
Earth 24 365.26
Mars 25 687
5. Design a web page containing a table as shown below.
Speed Limits in Kerala
Vehicles Near School Within Corporation/ In other roads
(In Km/hour) Municipality (In Km/hour)
(In Km/hour)
Motor Cycle 25 40 50
Motor Car 25 40 70
Light motor vehicles 25 40 60
Heavy motor vehicles 15 35 60
10
6. Design a web page with the heading "Department of Tourism,
Government of Kerala" and save it with the file name "TourHead.htm".
Create a frame page which divides it horizontally in the ratio 20:80.
In the smaller area use the web page "TourHead.htm". In the larger
area use the web page created for Kerala Tourism in Question No. 1.
7. Design a simple web page as shown below:
Client Login
Submit Clear
8. Develop a web page 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.
9. Develop a web page 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.
10. A web page 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.
Level 2
1. Design a web page for
promoting vegetable
cultivation at homes as
shown in the figure. It
should contain features like
background colour/
image, headings and
stylish fonts, images,
marquee, etc.
11
2. Design a web page as shown below using appropriate list tags.
List of Nobel Laureates from India
Rabindra Nath Tagore
He was the first to get Nobel Prize from India. He received prize in literature
in 1921. He got Nobel Prize for his collection of poems "Gitanjali".
C V Raman
He got Nobel for Physics in 1930. He received Nobel Prize for his contribution
called Raman Effect.
Mother Teresa
Mother Teresa who founded Missionaries of Charity which is active in more
than 100 countries received Nobel Prize in 1979.
Amartya Sen
Amartya Sen was awarded Nobel Prize in 1998 in Economics. He has made
contributions to welfare economics, social choice theory etc.
Kailash Satyarthi
He is a child right activist who founded "Bachpan Bachao Andolan" in 1980.
He shared Nobel prize for peace in 2014.
3. Design a simple web page about your school. Create another web
page named address.htm containing the school address. Give links
from school page to address.htm.
4. Design a web page that displays the share prices of various companies
as given below.
National Stock Exchange – Market on 13th June 2015
Sector Company Price (Rs.)
IT Infosys 1978.05
TCS 2520.00
Banking ICICI Bank 296.15
Axis Bank 551.90
Pharmaceuticals Sun Pharma 814.90
Aurobindo Pharma 1279.00
12
5. Design a web page that displays the indent for Plus Two text books
as given below.
Section Book Name Quantity
Language English 100
Malayalam 100
Accountancy 80
Commerce Business Studies 90
Economics 85
Computer Applications 100
6. Design a web page 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.
7. Consider that your school is hosting an inter-school IT fair. Design a
form web page 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.
8. Develop a simple calculator using JavaScript. The web page should
contain two text boxes of entering two numbers and another text box
for displaying the answer. There should be four buttons to perform
addition, subtraction, multiplication and division. On clicking a
button, the corresponding result should be displayed in the answer
box. Write the required JavaScript.
9. Develop a web page with two text boxes and a button labeled "Show".
The user can enter a number in the first text box. One clicking the
button, the second text box should display the day corresponding to
the given number using switch statement in JavaScript. (1 - Sunday,
2 - Monday, ….., 7 - Saturday).
10. Develop a web page for the inter-school IT fair conducted by your
school. The web 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. Ensure that
the data is entered in all the text boxes and the text box for mobile
phone number contains only numbers. Write JavaScript for this
validation.
13
Level 3
1. Design a web page about atmosphere as shown below. It should
contain features like background colour/image, headings and stylish
fonts, images, etc.
Department of Tourism
Government of Kerala
Tourist Destinations in Kerala
1. Beaches
a. Kovalam
b. Muzhuppilangad
c. Kappad
2. Hill Stations
i. Munnar
ii. Wayanad
iii. Gavi
3. Wildlife
a. Iravikulam
b. Muthanga
c. Kadalundi
3. Design an attractive web page about India. Provide details about the
Indian freedom movement at the lower part of the web page. Also
create another web page containing the list of states in India, named
14
‘states.htm’. Create two links in the main web page – one to link to
the bottom of the web page where details about freedom movement
is given and another to the web page ‘states.htm’.
4. Design the following table using HTML.
Strength
Class
Science Commerce Humanities
Plus One 49 50 48
Plus Two 50 50 49
15
7. Design three web pages - one containing a heading displaying your
school name, named 'head.htm'; second web page containing the list
of teachers, named 'teachers.htm'; and the third webpage about your
school, named 'school.htm'. Create a frame dividing the browser
window into two sections horizontally in the ratio 15:85. The top
frame should display the web page 'head.htm'. The bottom frame
has to be divided into 2 frames vertically in the ratio 30:70. The left
part should display the web page 'teachers.htm' and the right part
should display the web page 'school.htm'.
8. Develop a web page to find the capital of Indian States. The page
should contain a dropdown list from which the user can select a state.
On clicking the show button, the web page should display the capital
of the state in another text box. Write the required JavaScript.
9. Develop a web page 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 whether the number is
prime or not. Write the required JavaScript.
10. Develop a web page containing a two text boxes for entering User
name and Password. There should be a login button also. On clicking
the login button, it should check the followings:
a) The user name should contain at least 10 characters and all the
letters should be in lower cases.
b) The password should contain at least 7 characters and should
contain at least one lower case letter, one upper case letter and a
digit.
16
SQL (5 x 3 = 15 Questions)
Level 1
1. Create a table Student with the following fields and insert at least 5
records into the table except for the column Total.
Roll_Number Integer Primary key
Name Varchar (25)
Batch Varchar (15)
Mark1 Integer
Mark2 Integer
Mark3 Integer
Total Integer
a. Update the column Total with the sum of Mark1, Mark2 and
Mark3.
b. List the details of students in Commerce batch.
c. Display the name and total marks of students who are failed (Total
< 90).
d. Display the name and batch of those students who scored 90 or
more in Mark1 and Mark2.
e. Delete the student who scored below 30 in Mark3.
2. Create a table Employee with the following fields and insert at least
5 records into the table except the column Gross_pay and DA.
Emp_code Integer Primary key
Emp_name Varchar (20)
Designation Varchar (25)
Department Varchar (25)
Basic Decimal (10,2)
DA Decimal (10,2)
Gross_pay Decimal (10,2)
a) Update DA with 75% of Basic.
b) Display the details of employees in Purchase, Sales and HR
departments.
c) Update the Gross_pay with the sum of Basic and DA.
d) Display the details of employee with gross pay below 10000.
e) Delete all the clerks from the table.
17
3. Create a table Stock, which stores daily sales of items in a shop, with
the following fields and insert at least 10 records into the table.
Item_code Integer Primary key
Item_name Varchar (20)
Manufacturer_Code Varchar (5)
Qty Integer
Unit_Price Decimal (10,2)
Exp_Date Date
a. Display the details of items which expire on 31/3/2016.
b. Display the item names with stock zero.
c. Remove the items which expire on 31/12/2015.
d. Increase the unit price of all items by 10%.
e. List the items manufactured by "ABC & Co" with quantity above
100.
4. 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".
5. 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)
18
a. Display the account details of "Savings Account" in Kodungallur
branch.
b. Change the branch name "Trivandrum" to "Thiruvananthapuram".
c. Display the details of customers in Thiruvananthapuram,
Ernakulam and Kozhikode.
d. List the details of customers in Thrissur branch having a minimum
balance of Rs. 5000.
e. Delete all the current accounts in Mahe branch.
Level 2
1. Use Student table and write SQL statements for the following:
a. Update the column Total with the sum of Mark1, Mark2 and
Mark3.
b. List the details of students in Science batch in the ascending order
of their names.
c. Display the highest Total in Humanities batch.
d. List the details of students who passed (Subject minimum is 30
and aggregate minimum is 90) the course.
e. Delete the students of Commerce batch who failed in any one
subject.
2. Use Employee table and write SQL statements for the following:
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.
3. Use Stock table and write SQL statements for the following:
a. Display the details of items which expire after 31/3/2016 in the
order of expiry date.
b. Find the number of items manufactured by the company "SATA".
c. Remove the items which expire between 31/12/2015 and 01/06/
2016.
d. Add a new column named Reorder in the table to store the reorder
level of items.
19
e. Update the column Reorder with value obtained by deducting
10% of the current stock.
4. Use Book table and write SQL statements for the following:
a. Insert a column named Number_of_pages into the table.
b. Display the details of books of the same author together in the
descending order of the price published by NCERT.
c. Display the average price of books published by "BPB" and written
by "Robert Lafore".
d. List the details of books published by "PHI" that contains the word
"Programming" in the title.
e. Remove all the books written by "Balaguruswamy", "Kanetkar"
or "Robert Lafore".
5. Use Bank table and write SQL statements for the following:
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.
Level 3
1. Use Student table and write SQL statements for the following:
a. Update the column Total with the sum of Mark1, Mark2 and
Mark3.
b. Add a new column Average to the table Student.
c. Update the column Average with average marks.
d. List the details of student who has the highest Total.
e. Delete the students of Commerce batch who failed in any two
subjects.
2. Use Employee table and write SQL statements for the following:
a. Update DA with 75% of Basic for Managers and 80% of Basic for
all other employees.
20
b. Update the Gross_pay with the sum of Basic and DA.
c. Display name, department and gross pay of employees in
Purchase, Sales and HR departments. The employees in the same
department should appear together in the ascending order of
Gross pay.
d. Find the number of employees in each department where there is
minimum of 5 employees.
e. Show the details of employee with Gross pay greater than the
average gross pay.
3. Use Stock table and write SQL statements for the following:
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".
4. Use Book table and write SQL statements for the following:
a. Create a view containing the details of books published by SCERT.
b. Display the average price of books published by each publisher.
c. Display the details of book with the highest price.
d. Display the publisher and number of books of each publisher in
the descending order of the count.
e. Display the title, current price and the price after a discount of
10% in the alphabetical order of book title.
5. Use Bank table and write SQL statements for the following:
a. Display the number and total amount of all the account holders
in each branch.
b. Display the number of Savings Bank account holders in each
branch.
c. Display the details of customers with the lowest balance amount.
d. Display the branch and number of Current accounts in the
descending order of the count.
e. Display the details of customers in Kozhikode branch whose
amount is greater the average amount.
21
APPENDIX – 2
Sample List of Questions for Lab Work
Computer Applications (Commerce)
Programming in C++ – 10 Qns. (L1 – 5, L2 – 3, L3 – 2)
1. Input a number and check whether it is positive, negative or zero.
(L1)
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%.
(L2)
3. Find the area of a rectangle, a circle and a triangle. Use switch statement
for selecting an option from a menu. (L3)
4. Find the sum of the digits of an integer number.
(L1)
5. Display the multiplication table of a number having 12 rows. (L1)
6. Find the sum of the squares of the first N natural numbers without
using any formula. (L1)
7. Find the length of a string without using strlen() function. (L1)
8. Input the price of a set of higher secondary textbooks and find the
highest and lowest prices. (L2)
9. Define separate functions to return simple interest and compound
interest by accepting principle amount, time and rate of interest as
arguments. (L3)
10. Define a function to swap two variables. Using this function,
interchange the values of three variables. E.g. A ÆB ÆCÆA. (L2)
Web Applications – 10 Qns. (L1 – 5, L2 – 3, L3 – 2)
1. 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. (L1)
2. Design a webpage as shown below using appropriate list tags.
(L2)
22
List of Nobel Laureates from India
Rabindra Nath Tagore
He was the first to get Nobel Prize from India. He received prize in literature
in 1921. He got Nobel Prize for his collection of poems “Gitanjali”.
C V Raman
He got Nobel for Physics in 1930. He received Nobel Prize for his contribution
called Raman Effect.
Mother Teresa
Mother Teresa who founded Missionaries of Charity which is active in more
than 100 countries received Nobel Prize in 1979.
Amartya Sen
Amartya Sen was awarded Nobel Prize in 1998 in Economics. He has made
contributions to welfare economics, social choice theory etc.
Kailash Satyarthi
He is a child right activist who founded “Bachpan Bachao Andolan” in 1980.
He shared Nobel prize for peace in 2014.
3. 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. (L2)
4. Design the following table using HTML.
Strength
Class
Science Commerce Humanities
Plus One 49 50 48
Plus Two 50 50 49
5. Design a web page containing a table as shown below: (L1)
Speed Limits in Kerala
Vehicles Near School Within Corporation/ In other roads
(In Km/hour) Municipality (In Km/hour)
(In Km/hour)
Motor Cycle 25 40 50
Motor Car 25 40 70
Light motor vehicles 25 40 60
Heavy motor vehicles 15 35 60
23
6. 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. (L2)
7. Design a simple web page as shown below: (L1)
Client Login
Submit Clear
24
b. List the details of students in Commerce batch.
c. Display the name and total marks of students who are failed
(Total < 90).
d. Display the name and batch of those students who scored 90 or
more in Mark1 and Mark2.
e. Delete the student who scored below 30 in Mark3.
2. Create a table Employee with the following fields and insert at least
5 records into the table except the column Gross_pay and DA. (L1)
Emp_code Integer Primary key
Emp_name Varchar (20)
Designation Varchar (25)
Department Varchar (25)
Basic Decimal (10,2)
DA Decimal (10,2)
Gross_pay Decimal (10,2)
a) Update DA with 75% of Basic.
b) Display the details of employees in Purchase, Sales and HR
departments.
c) Update the Gross_pay with the sum of Basic and DA.
d) Display the details of employee with gross pay below 10000.
e) Delete all the clerks from the table.
3. Create a table Stock, which stores daily sales of items in a shop, with
the following fields and insert at least 10 records into the table. (L2)
Item_code Integer Primary key
Item_name Varchar (20)
Manufacturer_Code Varchar (5)
Qty Integer
Unit_Price Decimal (10,2)
Exp_Date Date
a. Display the details of items which expire on 31/3/2016.
b. Display the item names with stock zero.
c. Remove the items which expire on 31/12/2015.
d. Increase the unit price of all items by 10%.
e. List the items manufactured by "ABC & Co" with quantity above
100.
25
4. Create a table Book with the following fields and insert at least 5
records into the table. (L3)
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".
5. Create a table Bank with the following fields and insert at least 5
records into the table. (L2)
Acc_No Integer Primary key
Acc_Name Varchar (20)
Branch_Name Varchar (25)
Acc_ Type Varchar (10)
Amount Decimal (10,2)
a. Display the account details of "Savings Account" in Kodungallur
branch.
b. Change the branch name "Trivandrum" to "Thiruvananthapuram".
c. Display the details of customers in Thiruvananthapuram,
Ernakulam and Kozhikode.
d. List the details of customers in Thrissur branch having a minimum
balance of Rs. 5000.
e. Delete all the current accounts in Mahe branch.
26