O4A Second Quiz

You can use the Internet and your existing files for this quiz. The only exception is that you may not ask your classmates.

Follow the directions carefully.

  1. Create three files namely : LastName_input.php, LastName_output.php, and LastName_style.css (replace LastName with your last name).
  2. Get 6 pictures from the Internet — 3 pictures of a Male Person (young, adult, and very old) and 3 pictures/images of a Female Person (young, adult, and very old). If you can, choose small images with small file sizes (less than 100KB). Rename the images in your own convention. You may choose two persons for male and female, or different persons per picture. It depends on your Google skills.
  3. Now, design your first website. Invent your own website title.
  4. First, your website should ask the user 3 information – Name, Age, and Gender.
  5. Upon clicking “Submit”, your user is redirected to another page, with the input name shown somewhere. If the user has inputted Male as their gender, the page should display a picture of a man. What the man looks like depend on his age.
    Young is between 0 and 14
    Adult is between 15 and 39
    Old is between 40 and infinity
    The same age rule applies for the woman.
  6. Requirements: Both input and output pages should have corresponding titles and/or headers. Other elements that can make your website look pleasing is a plus. Be creative with your titles and the other elements of your website.
  7. As you have guessed, you can use the CSS file to style the look of your website. Both php files should use the same CSS file.
  8. After you are done, zip the three files and 6 images into one file, with the filename LastName_O4AQuiz2.zip. Send it to rommel.cantos@dlsl.edu.ph with the subject “O4A Quiz 2″

Allowed Time : 2 hours
Grading System :
- 8 points Input File
- 12 points Output File
- 5 points Style

Congrats! You have just submitted your very first website.

Leave a Reply