PHP
  Home arrow PHP arrow Developing a Short and Simple IQ Test Online Using PHP
Dev Shed Forums  
Administration  
AJAX  
Apache  
BrainDump  
DHTML  
Flash  
Java  
JavaScript  
Multimedia  
MySQL  
Oracle  
Perl  
PHP  
Practices  
Python  
Reviews  
Security  
Smartphone Development  
Style-Sheets  
Web Services  
XML  
Zend  
Zope  
Mobile Linux  
App Generation ROI  
IBM® developerWorks  
Forums Sitemap  
E-Commerce Hosting  
Linux Web Hosting  
Managed Hosting  
Small Business Hosting  
VPS Hosting  
Weekly Newsletter

 
Developer Updates  
Free Website Content 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us Get Paid  
Request Media Kit
Contact Us  
Site Map  
Privacy Policy  
Support  
 USERNAME
 
 PASSWORD
 
 
  >>> SIGN UP!  
  Lost Password? 
Google.com  
PHP

Developing a Short and Simple IQ Test Online Using PHP
By: Codex-M
  • Search For More Articles!
  • Disclaimer
  • Author Terms
  • Rating: starstarstarstarstar / 11
    2009-01-14


    Table of Contents:
  • Developing a Short and Simple IQ Test Online Using PHP
  • Designing an IQ Grading System
  • The HTML Test Form
  • PHP Script to Process

  • Rate this Article: Poor Best 
      ADD THIS ARTICLE TO:
      error-file:tidyout.log Del.ici.ous error-file:tidyout.log Digg
      error-file:tidyout.log Blink error-file:tidyout.log Simpy
      error-file:tidyout.log Google error-file:tidyout.log Spurl
      error-file:tidyout.log Y! MyWeb error-file:tidyout.log Furl
    Email Me Similar Content When Posted
    Add Developer Shed Article Feed To Your Site
    Email Article To Friend
    Print Version Of Article
    PDF Version Of Article

     
     
    ADVERTISEMENT


    Developing a Short and Simple IQ Test Online Using PHP
    ( Page 1 of 4 )

    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.

    Overview

    The objective of the IQ test is to quantitatively measure intelligence. The measurement is what makes this test very popular, because one can be classified as an “Idiot," "Normal” or a “Genius.”

    Developing an IQ test sounds complex, but I will make it very simple. The approach to designing a test involves considering the different aspect, not just focusing on the test questions.

    The factors to consider when designing a test online include:

    1. Length – The test should be short, because it is very annoying to have a long test; no one really cares to answer it all. About 10 test questions will do. Of course you sacrifice the quality of the test, but it is the user experience which is more important in the online world.

    2. User-friendliness - This factor is very important. Forcing anyone to register first by entering personal details is a complete turn-off; many users will consider it a waste of time. Also, having fancy navigation and using a lot of graphics will slow down the web page and should be avoided.

    3. Speed of results  - I have seen online tests that require the user to register before letting them know their IQ. This is another waste of time and should not be considered as part of the design.

    There are basically two approaches you can take when you design an IQ test online.

    1. PHP only

    2. PHP with MySQL database

    The first one is recommended if you only need ten questions in the test. The second one is advised if you have a lot of questions to give. MySQL works as an “answer key” in this case. The PHP portion interacts with the browser and will be the one to ask questions to the user using a form. After that, it will connect to MySQL to determine whether the answers are correct. The PHP portion will then compute the final grade according to the results.

    The scope of this article is to illustrate the first approach only. MySQL database examples will be illustrated in future tutorials.



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

       

    PHP ARTICLES

    - Implementing Factory Methods in PHP 5
    - Merging a File Split for FTP Upload using PHP
    - Getting Data from Yahoo Site Explorer Inboun...
    - Method Chaining: Adding More Selecting Metho...
    - How to Split a File During an FTP Upload Usi...
    - Expanding a Custom CodeIgniter Library with ...
    - Using the Yahoo Site Explorer Inbound Links ...
    - Building a CodeIgniter Custom Library with M...
    - Building an E-mini Trading System Using PHP ...
    - Completing the MySQL Class with Method Chain...
    - Building Dynamic Queries with Chainable Meth...
    - PHP Encryption and Decryption Methods
    - Building a MySQL Abstraction Class with Meth...
    - Completing a Sample String Processor with Me...
    - Mastering WHILE Loops for PHP and MySQL





    © 2003-2009 by Developer Shed. All rights reserved. DS Cluster 2 Hosted by Hostway
    For more Enterprise Application Development news, visit eWeek