Description
The instruction is in the file
Assignment 2
Deadline: Sunday 9/11/2025 @ 23:59
[Total Mark for this Assignment is 8]
Student Details:
Name: ###
ID: ###
CRN: ###
Instructions:
• You must submit two separate copies (one Word file and one PDF file) using the Assignment Template on
Blackboard via the allocated folder. These files must not be in compressed format.
• It is your responsibility to check and make sure that you have uploaded both the correct files.
• Zero mark will be given if you try to bypass the SafeAssign (e.g. misspell words, remove spaces between
words, hide characters, use different character sets, convert text into image or languages other than English
or any kind of manipulation).
• Email submission will not be accepted.
• You are advised to make your work clear and well-presented. This includes filling your information on the cover
page.
• You must use this template, failing which will result in zero mark.
• You MUST show all your work, and text must not be converted into an image, unless specified otherwise by
the question.
• Late submission will result in ZERO mark.
• The work should be your own, copying from students or other resources will result in ZERO mark.
• Use Times New Roman font for all your answers.
Restricted – مقيد
Question One
Pg. 01
Learning
Outcome(s):
CLO1: Describe
methods and
tools in designing
a creative and
dynamic website.
Restricted – مقيد
Question One
2 Marks
A script designed to calculate a 15% discount on a shopping cart total is
producing incorrect final amounts. The code executes without any PHP
notices, warnings, or errors. Describe a systematic, step-by-step
debugging process you would follow to isolate and identify the source of
this logical error. Your process should go beyond “check the math” and
detail the specific PHP functions and techniques you would use at each
stage.
Question Two
Pg. 02
Learning
Outcome(s):
Question Two
3 Marks
A file upload form on a community website sometimes works and
CLO1: Describe
sometimes fails with cryptic messages. The developer suspects the
methods and
issue is related to server configuration and file validation. Create a
tools in designing
comprehensive checklist the developer should use to diagnose and fix
a creative and
this problem.
dynamic website
Restricted – مقيد
Question Three
Pg. 03
Learning
Outcome(s):
CLO4: Build web
applications using
PHP and MySQL.
Restricted – مقيد
Question Three
3 Marks
create a simple PHP script that demonstrates the use of both cookies
and sessions.
Purchase answer to see full
attachment