Description
what it ask for
Unformatted Attachment Preview
College of Computing and Informatics
Assignment 1
Deadline: Sunday 09/04/2023 @ 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.
Question One
Learning Outcome(s):
Question One
3 Marks
Build web applications
using PHP and MySQL
1. Create an HTML form that accepts the user’s input to enter the
student name, ID and gender to register for the IT405 course.
2. Create a PHP file that displays the following sentence:
Hello name, welcome to IT405.
The sentence should be colored in blue or red according to the
gender.
Your program output should look as shown below.
3. Include the screenshot of the program output as a part of your
answer.
Marking Criteria
HTML form 1 mark
PHP code 1 mark
Screenshots 1 mark
Question Two
Learning
Outcome(s):
Question Two
3 Marks
Write the PHP code that validates the inputs for the given online form.
Build web
applications using
PHP and MySQL
Include the screenshot of the program output as a part of your answer.
Marking Criteria
– PHP code 2 marks
– Screenshots 1 mark
Question Three
Learning Outcome(s):
Question Three
Build web applications
1.
using PHP and MySQL
and for loop.
2.
2 Marks
Write a PHP code that prints the following output using array
Include the screenshot of the program output as a part of your
answer.
Marking Criteria
PHP code 1.5 marks
Screenshots 0.5 mark
Purchase answer to see full
attachment