Cold Fusion Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
User Name:
Password:
Remember me
Iron Speed
 
Go Back   Dev Articles Community ForumsProgrammingCold Fusion Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Display Modes
 
Unread Dev Articles Community Forums Sponsor:
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
  #1  
Old October 11th, 2007, 02:47 PM
Nero Nero is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Sep 2007
Posts: 2 Nero User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 44 m 28 sec
Reputation Power: 0
Building a quiz with cf

Hi i am still in learning with coldfusion and building a website at the same time, However i need some advice. Is there any way i could make a quiz with coldfusion? for example a multichioice question with radio buttons, and maybe the correct answers in the database? Im really interested in submitting something like this but can anyone point me the direction to how?
I have made a flash quiz but am trying to avoid flash if i can purely because i know how to do it and want to try something similar in coldfusion. I am using COLDFUSION MX7 And microsoft access. Many thanks in advance

Reply With Quote
  #2  
Old March 12th, 2008, 10:34 PM
hexeliebe hexeliebe is offline
Registered User
Dev Articles Newbie (0 - 499 posts)
 
Join Date: Mar 2008
Posts: 5 hexeliebe User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 33 m 38 sec
Reputation Power: 0
You need to do four things to accomplish what you want.

1. create two db tables; one with the questions and the other with the options available for the questions. The options must have a foreign key to their related question. a third table with the correct answer would also be beneficial.

2. create a paging interface (I have used forward and back links with replacable divs to accomplish this). doing this you would do a loop query to output each question / answers in a separate div then page through them.

3. create a times for each div (javascript would work well).

4. once the test is completed, have the user click on "Results" and test the form responses against the data table with the correct answers.

I would suggest you also use javascript to disable all unselected radios when an answer is selected unless you allow users to change answers. This would also apply to the navigation if you allow them to go back and review.

What you are wanting to do in a stateless (web) environment is not that difficult but you need a requirements doc and a definitative plan before starting.

Reply With Quote
Reply

Viewing: Dev Articles Community ForumsProgrammingCold Fusion Development > Building a quiz with cf


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

 Free IT White Papers!
 
Accelerating Trading Partner Performance
One in five. That's how many partner transactions have at least one error. That is an amazing statistic, particularly given the extraordinary leaps in innovation across the global supply chain during the past two decades. Download this white paper to learn more.

 
Competing on Analytics
This Tech Analysis is designed to help identify characteristics shared by analytics competitors, and includes information about 32 organizations that have made a commitment to quantitative, fact-based analysis.

 
Cost Effective Scaling with Virtualization and Coyote Point Systems
An overview of the industry trend toward virtualization, how server consolidation has increased the importance of application uptime and the steps being taken to integrate load balancing technology with virtualized servers.

 
Five Checkpoints to Implementing IP Telephony
Implementation planning for IP PBX software and IP telephony has become vital as businesses replace discontinued legacy PBX phone systems. This informative whitepaper outlines five "checkpoints" for any implementation plan that will help make IP communications a successful proposition.

 
Hosted Email Security: Staying Ahead of New Threats
In the last two years, email has become a fierce battleground between the nefarious forces of spam and malware, and the heroes of messaging protection. The spam volumes increased alarmingly every month, bringing clever new forms of phishing and virus propagation attacks.

 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Iron Speed




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway