Home PHP Page 3 - Developing a Short and Simple IQ Test Online Using PHP

# The HTML Test Form - PHP

If you are a school administrator wanting to have an IQ test online, then this tutorial is for you. It can be used not only in the field of academics, but in the instances where you need to draw user interest to your website. An IQ test is a popular feature to incorporate into your website, and will attract a large amount of web traffic over time.

By: Codex-M
Rating:  / 12
January 14, 2009

SEARCH DEV SHED

TOOLS YOU CAN USE

Test forms of the above questions can be created in a straightforward manner using HTML. Below is the complete source code:

<HTML>

<TITLE>An 10 Question IQ Test</TITLE>

<BODY>

<form action="IQ.php" method="post">

<br /><br />

Below are the 10 questions for this IQ Test. ALL ANSWERS IN LOWERCASE PLEASE.Answer as honestly as you can.

<br /><br />

Test question 1: What is the approximate shape of orange fruit, it starts with "r". <input type="text" name="T1" size="30">

<br /><br />

Test question 2: What is the product of 5 and 3? <input type="text" name="T2" size="30">

<br /><br />

Test question 3: If I have 3 apples and 12 mangoes, how many fruits do I have? <input type="text" name="T3" size="30">

<br /><br />

Test question 4: -5 + (+9)-(-8) is how much? <input type="text" name="T4" size="30">

<br /><br />

Test question 5: The result of 2 to the power of 6 divided by eight squared is how much? <input type="text" name="T5" size="30">

<br /><br />

Test question 6: If I have a right triangle whose two shorter sides are 5 and 12 respectively, how long is the longest side? <input type="text" name="T6" size="30">

<br /><br />

Test question 7: What is the name of  a  popular TV news network with two “Ns” comprised of 3 letters as initials? <input type="text" name="T7" size="30">

<br /><br />

Test question 8: In 2008, John is 2 times older than Jerry. In 2040, Jerry will be 46 years old. Find John's year of birth. <input type="text" name="T8" size="30">

<br /><br />

Test question 9: If you are using Excel, which function offers the most convenient and most popular approach for extracting data from other spreadsheets or workbooks without using the manual copy and paste method. This is a one word answer. <input type="text" name="T9" size="30">

<br /><br />

Test question 10: If a 65 year old couple retires today how much may they need today to cover their future health care cost? This answer is only a figure and does not include a dollar sign. <input type="text" name="T10" size="30">

<br /><br />

<input type="submit" value="Compute my IQ now!">

</form>

</BODY>

</HTML>

 >>> More PHP Articles          >>> More By Codex-M