and
Answer1AbrahamLincoln
for
right and wrong an
swers
respectively. Note that in this ex
ample we have added
ActivePresentation.SlideShowWindow.View.Next
to our
RightAnswer
pro ce dures so the pre sen ta tion
au to mat i cally goes to
the next slide af ter a correct an swer. Leave this out (just like in the
previous ex ample) if you want stu dents to stay on the slide un til they
choose to go for ward.
• You will need an other
Ques
tion
pro cedure
for ev ery short-answer
ques tion (e.g.,
Question5
or
Question17
).
• You will need an other
qAnswered
and
an
swer
vari able (declared
with a
Dim
state ment and in itialized in the
Ini
tial
ize
pro ce dure)
for
each new ques
tion (i.e.,
q4Answered
and
answer4
,
q5Answered
and
answer5
, etc.).
• You will need to add a line to the
PrintablePage
pro cedure to in-
clude the results for each new ques tion (e.g.,
"Ques
tion 4: " &
answer4 & Chr$(13) & _
).
• You will need to add the slides with
the questions you are adding, ty -
ing the buttons to the ap propriate right and wrong answer pro ce-
dures or the
Ques
tion
pro cedure for a short-answer question.
As a scripter, you do not need to un derstand the code to be able to use it. If
you can follow the above steps to
add your own ques tions, you are in good
shape. If you want to un derstand the code, read on.
Keeping
track of the an swers in
Do'stlaringiz bilan baham: