you could use the INI plugin to store the question= , answer1= answer2= ... correctanswer=
then in-game read the question , put it in a string , show it on-screen and make if key_1,2,3...is pressed compare the answer attached to that number with the correctanswer= , if true...if false...
in order to make it with sections and random order of questions , use names like science 001 , science 002 (for every 'list' in the INI file)
it'll look something like this :
[science 001]
question=what's the speed of the sound in air
answer1=1m/s
answer2=2m/s
answer3=320m/s
answer4=3m/s
correctanswer=320m/s
[science 002]
question=who invented the computer
answer1=bill gates
answer2=some other monopolyst

answer3=the aztecs
answer4=john atanasov
correctanswer=john atanasov
[math 001]
question=10 + 10 is
answer1=20
answer2=0
answer3=1
answer4=2
correctanswer=20
and when you search thru the sections use "str_cpy(searchstr,"math "); and then str_cat(searchstr,the random number of question) if it finds anything show it on screen...simple,isnt it?
