exam_simulator
porting from previous version that I developed by modpython.
getExam from file then build as Test-Exam
when user finish all test or timeout,
this exam will automatic calculate test result
Details
We use Regular-Expression to doing with exam
such as
##
1) Question1?
#
choice1
choice2
%choice3
choice4
#
##
##
5) Question5?
#
choice11
%choice22
choice33
%choice44
#
##
exam_builder will know that:
got 2 Question!
- First Question
- questionOfTest --> Question1
- choiceOfTest --> choice1, choice2, choice3, choice4
- answerOfTest --> choice3
- Second Question
- questionOfTest --> Question5
- choiceOfTest --> choice11, choice22, choice33, choice44
- answerOfTest --> choice22, choice44