Tuesday, May 26, 2009

TestTaker 1.0

TestTaker is a program that allows you to take and create your own tests/quizes. Each test is encrypted and compressed with a password that you specify. You can create the test in a standard text editor like notepad. After you create the test, then you compress and encrypt it so that the user can't read the questions or answers directly from the test file. The encoder.bat passes arguments to the TestTaker program which interprets them and produces the test. The output test is encrypted with XOR and compressed with Huffman. It is given a tst extention. The program has two different types of questions. One of them is an option question where one answer can be selected and the other is a question with multiple answers. The process for creating, encoding, and taking a test with TestTaker is discribed below.


Format of a test(every test must use this format):

DosaidSoft TestTaker V1.0 (must contain this because it is used for validity check)
(# of answers in question, zero for option question)
(# or #s of the correct answer(s))
-
(the question)
(answer #0)
(answer #1)
(answer #2)
(answer #3)
(etc... can have up to ten possible answers)
-
(# of answers in question, zero for option question)
(# or #s of the correct answer(s))
-
(the question)
(answer #0)
(answer #1)
(answer #2)
(answer #3)
(etc... can have up to ten possible answers)
-

You can have as many questions as you want, but the example above only shows two questions. Down below there is a sample test using the format above.


Sample test:

DosaidSoft TestTaker V1.0
0
1
-
What was Microsoft's first OS?
Windows 3.1
MS-DOS
DR-DOS
Linux
Unix
-
0
2
-
What does LED stand for?
Light Energizing Disk
Long Eridecent Diod
Light Emiting Diod
Local Energy Dump
-
2
1
4
-
Which two batteries should be fully discharged and fully recharged to allow them to utilize their full capacity?
Li-ion
Ni-Cad
Ni-CH
Ni-Hid
NiMH
NiMO
-


To make a test:

1) Open a text editor (notepad)
2) Type a test using the format explained above
3) Save the test with a txt extention in the TestTaker directory
4) Run the encode.bat file and follow the instructions inside
5) Once your encoded test has been created, open TestTaker
6) Select the test you made from the box
7) Enter the passcode you used to encode the test
8) Start the test


Screenshot:



Downloads are archived with 7-Zip.

***REPORT BUGS IN THE COMMENTS. THE ENCODER.BAT MAY NOT WORK WITH WINDOWS OLDER THAN NT. PLEASE TRY IT! I HAD AN ANURISM WORKING WITH THE ENCRYPTION AND COMPRESSION.

Downloads:

Source Code - Includes everything except the exe and sample test. It is VB6 code.
Binary - This includes the exe and the encoder.bat file.
Sample Test - It is a sample test in txt and tst format.

No comments:

Post a Comment