I can suggest you one way of implementing it.
U can make as many as TEXT files in which all the
questions will be stored and there answers will be
stored in database.
now what to do is...Use file access technique, read
the complete file for one question and displayed it in
TEXTAREA making it uneditable...use four buttons to
get the answer and then match all of them from the
database.
This mathod will be very useful for you, as these kind
of programs are known as Test Simulator.