E-Portals Development

Assignment 1Deadline: 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
Pg. 01
Learning
Outcome(s):
Build web
applications using
PHP and MySQL
Question One
3 Marks
1. Create an HTML form that accepts the user’s input to enter his/her first
name, last name and sex.
2. Create a php file that displays the following sentence:
Hello first name laste name, welcome to IT405.
The sentence should be colored in blue or pink according to the sex..
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
Pg. 02
Learning
Outcome(s):
Question Two
3 Marks
1. Given the following HTML form code, write a php file that displays all the
Build web
input of the user as a list.
applications using
Registration
First Name:
Last Name:
Email:
Level:
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
Pg. 03
Learning
Outcome(s):
Build web
applications using
PHP and MySQL
Question Three
2 Marks
1. Write a PHP program to create a new string where IT’ is added to the
front of a given string. If the string already begins with ‘IT’, the program
returns the string unchanged.
Sample Input➔Output
“405” ➔ IT405
“403”➔ IT403
“IT401” ➔IT401
2. Include the screenshot of the program output as a part of your answer.
Marking Criteria
– PHP code 1.5 marks
– Screenshots 0.5 mark

Save Time On Research and Writing
Hire a Pro to Write You a 100% Plagiarism-Free Paper.
Get My Paper
Still stressed from student homework?
Get quality assistance from academic writers!

Order your essay today and save 25% with the discount code LAVENDER