Question: In php code. Part of the code in Quiz.html and the other in results.php 1. Create a Web form to present a ten (10) question

In php code. Part of the code in Quiz.html and the other in results.php

1. Create a Web form to present a ten (10) question quiz about the Chinese zodiac signs. You must have a variety of True/False, Multiple Choice, & Fill-in-the-Blank questions. Indicate that all of the questions must be answered for the quiz to be graded. Hint: Use radio buttons or drop-down boxes for True/False and Multiple Choice answers.

2. Provide fields for visitors to enter their name and e-mail address. Notify the visitor that the fields are required fields. Include Submit Quiz and Reset Quiz buttons.

3. Create a Web form handler to process the entered data when the Submit Quiz button is clicked. Notify the visitor of the number of questions that are blank (if any) or if any of the other required fields are missing. Redisplay the quiz if the form is incomplete; otherwise, evaluate the answers.

4. Compare the visitors responses with the correct responses. Display each question and the visitors response. If the visitors response matches the correct response, display the word Correct (or a ) if the users response matches the correct response. If the user response does not match the correct response, display Incorrect (or an ) and show the correct response.

5. Display the reviewed quiz to the visitor with the number of responses that are correct out of the number of total responses for a percentile score. The following line shows an example output, but you may use your own wording. You answered 8 out of 10 questions correct for a score of 80%.

6. E-mail the quiz results, including the visitors name and email address, to the visitor. Be sure to include each question number, visitor response, and the correct answer if the visitors response is incorrect. Show the visitors score, i.e. 8/10 = 80%.

TF~The Chinese zodiac associates a sign with each month.~F TF~Chinese zodiac signs represent different types of personalities.~T TF~The Chinese zodiac signs each have an equivalent constellations, like those of the occidental zodiac.~F MC~Which sign is not part of the Chinese zodiac?~Fox~Rat|Pig|Tiger MC~The Chinese zodiac traditionally begins with which sign?~Rat~Fox|Pig|Tiger MC~The Chinese zodiac traditionally ends with which sign?~Pig~Fox|Rat|Tiger FB~How many signs are in the Chinese zodiac?~Twelve|12 FB~Which is the only reptile that is a sign in the Chinese zodiac?~Snake FB~Which is the only imaginary animal that is a sign in the Chinese zodiac?~Dragon FB~Which is the only bird that is a sign in the Chinese zodiac?~Rooster

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!