Clear all

CS310 Assignment 3 Fall 2020

Joined: 2 years ago
Posts: 6089
Topic starter  

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 DreamweaverXAMP, WAMP Server           


For any query about the assignment, contact at [email protected].


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:









Students kindly share assignment files in relevant subject timely for discussion/solution.
or directly share with us " Click here"
QueryVU Telegram Groups subject wise Join Now
QueryVU WhatsApp groups subject wise Join Now