Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently May 17th, 2024, 12:03 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Question Bank
PostPosted: May 9th, 2006, 12:01 pm 
Offline

Joined: October 25th, 2004, 12:32 pm
Posts: 397
Location: Digital Workshop
Attached to this post is an example of a simple text based question bank.

The Example is split into two parts:

The first part, allow a user to create the question bank.
The second allow the questions stored by the first program to be used as a test.


How the First Program works:

The first publication is a simple one-page publication.

There are 5 text input objects, when data is entered into the objects it is saved into a set of variables

When the “Next Question” button is pressed this data is added to a set of arrays:

Once this is done the values of the text object variables are reset to Null. The variable qcount is increased by 1 and the page is reset ready for further data to be added. The variable qcount is used to increment the array values.

When the user has added all the question they need they then hit the finish button.

The Finish button has a script that writes the data to an encrypted file.

The first stage is to write the number of questions entered to the file.
This is then followed by the data from the arrays.





How the Second Program works:

The second program is similar to the first publication ,but is working in reverse.
Page 1 has a script to read all the data back from the encrypted file.

It first read, the first object from the file, this is the number of question in the question bank.

A loop is then set to read the data back from the file into a set of arrays.

Once all the data is read back a variable called loaded is set to 1. A variable change trigger picks this up and allow the publication to move forward to the questions.

There are 4 questions pages which are called at random this is so the question answers are always random. This prevents cheating.

When a page loads it displays the data from the array on screen for the student to read.

If a student selects the correct answer the variable score has 1 added to it. The button action also check to see how many questions have been answered if all the question have been answered then the score page is displayed showing how many questions were answered and what the score correct was.

Regard

Brenden Knifton ddww


Attachments:
File comment: Opus Pro 5.5
qb.zip [13.31 KiB]
Downloaded 1095 times


For this message Brenden Knifton has been thanked by : mackavi
Top
 Profile Visit website  
 
 Post subject:
PostPosted: May 11th, 2006, 4:33 am 
Offline

Joined: October 25th, 2004, 3:03 pm
Posts: 540
Location: Tyalgum Creek. Australia
Opus: Opus Pro Latest version 9.02 Build 16458
OS: Won 10
System: Asus laptop Intel Core i5 8 gig ram, big monitor, reading glasses
Brenden
This is excellent.
Thanks very much for putting this together.
Now all I gotta do is learn and understand how your publication works...........
:lol:
Might be a while
Cheers
Graham

_________________
Too much coffee can result in frequent toilet breaks!


For this message Graham Baglin has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: May 12th, 2006, 3:37 pm 
Offline

Joined: October 25th, 2004, 12:32 pm
Posts: 397
Location: Digital Workshop
Graham

Glad you like it, if you have any specific questions please feel free to ask.

Regards

Brenden Knifton ddww


For this message Brenden Knifton has been thanked by : mackavi


Top
 Profile Visit website  
 
 Post subject: problem in using your tutorial
PostPosted: September 11th, 2006, 2:59 pm 
Offline

Joined: September 11th, 2006, 2:38 pm
Posts: 125
I tried your prog but when I enter the questions set page there is one place that should put the correct answer in . what should i put here .Is it A,B,C or number or the correct word and when i put a letter like B it appears as an alternative please help


For this message opuslover has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: September 26th, 2006, 9:55 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Brenden:
Quite interested in the random bank, but do not see the attachment.

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


For this message Mallette has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: September 26th, 2006, 10:28 pm 
Offline

Joined: January 6th, 2005, 8:56 pm
Posts: 330
Location: Houston, Republic of Texas
Opus: 8
OS: W7 Pro
System: Dell Precision T5500, 8 core Dual Xeon 2.13 GHz, 24 GB RAM, All SSD drives
Never mind, Brenden. I am obviously quite blind.

Dave

_________________
An objective is a description of a performance you want your learners to be able to exhibit before you consider them competent.
Dr. Robert F. Mager, 1962

"If you can't measure it, it's crap."
David A. Mallette, 1980


For this message Mallette has been thanked by : mackavi


Top
 Profile  
 
 Post subject: Query
PostPosted: November 16th, 2008, 4:15 pm 
Offline

Joined: March 21st, 2006, 10:37 pm
Posts: 31
Location: Grantham, Lincolnshire,UK
Brenden

How do I download the example, cant see any links.


For this message zesmail has been thanked by : mackavi


Top
 Profile  
 
 Post subject:
PostPosted: November 16th, 2008, 8:13 pm 
Offline

Joined: November 11th, 2004, 4:05 am
Posts: 636
Location: Christchurch, NZ
Login to see the link -- it works ok.


For this message Paul has been thanked by : mackavi


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group