Home arrow PHP arrow 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.

TABLE OF CONTENTS:
  1. Developing a Short and Simple IQ Test Online Using PHP
  2. Designing an IQ Grading System
  3. The HTML Test Form
  4. PHP Script to Process
By: Codex-M
Rating: starstarstarstarstar / 12
January 14, 2009

print this article
SEARCH DEV SHED

TOOLS YOU CAN USE

advertisement

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

<HTML>

<HEAD>

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

</HEAD>

<BODY>

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

Please enter your age now <input type="text" name="age" size="2">

<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
 

blog comments powered by Disqus
escort Bursa Bursa escort Antalya eskort
   

PHP ARTICLES

- Hackers Compromise PHP Sites to Launch Attac...
- Red Hat, Zend Form OpenShift PaaS Alliance
- PHP IDE News
- BCD, Zend Extend PHP Partnership
- PHP FAQ Highlight
- PHP Creator Didn't Set Out to Create a Langu...
- PHP Trends Revealed in Zend Study
- PHP: Best Methods for Running Scheduled Jobs
- PHP Array Functions: array_change_key_case
- PHP array_combine Function
- PHP array_chunk Function
- PHP Closures as View Helpers: Lazy-Loading F...
- Using PHP Closures as View Helpers
- PHP File and Operating System Program Execut...
- PHP: Effects of Wrapping Code in Class Const...

Developer Shed Affiliates

 


Dev Shed Tutorial Topics: