Latest Activity In Study Groups

Join Your Study Groups

VU Past Papers, MCQs and More

We non-commercial site working hard since 2009 to facilitate learning Read More. We can't keep up without your support. Donate.

CS310 Assignment No 03 Fall 2020 Solution & Discussion Due Date: 27-01-200

Assignment No. 01

CS310: Open Source Web Application Development  

Total Marks: 20

Week Covered: 1 to 3

Due Date: 27th November 2020


Please read the following instructions carefully before submitting the assignment. It should be clear that your assignment will not get any credit if:

§  The assignment is submitted after the due date.

§  The submitted assignment does not open or the file is corrupt.

§  Assignment is copied(partial or full) from any source (websites, forums, students, etc)


Note: You have to upload a single .PHP file which should contain both HTML and PHP code. Assignment in any other format (extension) will not be accepted and will be awarded zero marks.



The objectives of this assignment are:

·      To learn and practice the basic HTML Form.

·      To learn and practice getting form fields value, performing calculations, and displaying results using basic PHP code.



·      This assignment is a Graded Assignment.

·      The assignment submitted through email will not be accepted.

·      This assignment is covering Lectures from Week 1-3.



§  Code should be properly indented.

§  You can use the following tools/software:

o   Notepad,  Adobe Dreamweaver,  XAMPWAMP Server           


For any query about the assignment, contact at


Problem Statement:

ABC cash & carry has announced a discount on different items. They want to have a small application that can be used by the sales person to calculate discounted prices and total savings by the customer at the sales point. This application allows sale men to enter the actual price of the items and their discounted rate. The application calculates discounted prices and total savings after discounts.


Sample Application:


Solution Instructions:

·       You will use Simple labels, input fields, button field.

·       For proper alignment of labels, input, and button fields, use the HTML table.

·       Use PHP code to get data from input fields, perform processing, and display output


Relevant Sources:





Views: 60

Replies to This Discussion

Share the Assignment Questions & Discuss Here.... 

Stay touched with this discussion, Solution idea will be uploaded as soon as possible in replies here before the due date.


© 2021   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service