Anda di halaman 1dari 1

ITWD103 Web Design Fundamentals

Last Long Exam/Practical Exam


Problem #1: Computing the Net Amount (20 points)
Create an HTML document containing the given form below. Write a JavaScript code that uses functions.

Make necessary functions/event for the following buttons:

Calculate

Clear

Close
Compute for the following:

Sub-Total

Discount Amount = 20% of sub-total

Net Amount

Problem #2: Usage of Caret(^) Symbol (30 points)


Create an HTML document containing the given form below. Write a JavaScript code that uses functions.
Formulas:
- Area
A=r2
- Circumference
C=2r
- Diameter
D=2r
Note:

define the value of as constant


= 3.1416
Limit decimal place to 2 only
Provide necessary data validation scripts.

Problem #3: MessageBox with Condition (50 points)


Create an HTML document containing the given form below. Write a JavaScript code that uses functions.

Formula:
Semestral Grade = 25% of Prelim + 25% of
Midterm + 50% of Final

Point Equivalent Table:


Sem Grade
100
95-99
90-94
85-89
80-84
75-79
74 below

Pt. Equivalent
1.00
1.50
2.00
2.50
3.00
3.50
5.00

For New Entry Button:


Upon clicking displays this message box
If Yes will clear all entries else nothing happen

For Compute Button:


Upon clicking displays this message box
If Yes will display the results else nothing happen
For Exit Button:
Will close the program/application

Page 1 of 1

Anda mungkin juga menyukai