E-portals Development IT405

Assignment # 1

Deadline: Sunday 27/2/2022 @ 23:59

[Total Mark for this Assignment is 8]

E-portals Development

IT405

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.

Student Details:

Name: ###

CRN: ###

ID: ###

Question One

2 Marks

Learning Outcome(s):

LO4: Build web applications using PHP and MySQL.

Write PHP code that calculates the squares and cubes of the numbers from 0 to 10 and prints the resulting values, as shown below.

Note: Your program output should look as shown below.

Use the loops to write a program that calculates the squares and cubes of the numbers from 0 to 10 and
prints the resulting v

Answer:

Question Two

2 Marks

Learning Outcome(s):

LO4: Build web applications using PHP and MySQL.

Write PHP code that calculates the number of letters and words in the following paragraph: (Hint: Only PHP part is required, no need to write HTML code)

Dear students, I can see that you are working so hard on this course. Your desire to learn makes me so proud of you. I love your enthusiasm with this course. Your ideas are so creative.”

Answer:

Question Three

2 Marks

Learning Outcome(s):

LO1: Describe methods and tools in designing a creative and dynamic website.

Write a PHP code to accept only correct SEU student email. You can write only the PHP part and no need to write the HTML part in the answer.

Answer:

Question Four

2 Marks

Learning Outcome(s):

LO1: Describe methods and tools in designing a creative and dynamic website.

LO4: Build web applications using PHP and MySQL.

Create an HTML login form that reads the user name and password from the user.

Answer:

 

Post a Comment