home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
educ
/
extol3.zip
/
GENDER.EXT
< prev
next >
Wrap
Text File
|
1987-10-31
|
1KB
|
41 lines
%Sample of Drill use in Extol
%This program quizzes students on the gender of
%french nouns. The student keysin M if the noun
%is masculine and F if the noun is feminine.
%The drill will determine whether or not the student
%is correct and keep a count of correct answers
%
.define noundrill
Please enter the gender of the noun, <noun> :+
.accept
.reset(1)
.match(1,1).<answer>.
.goto(1).incorrect.correct
:incorrect
Sorry, but the gender of <noun> is <answer>.
.exit
:correct
Very good! The gender of <noun> is <answer>.
.increment(2,1)
.end
%This is the end of the drill code
%Program code follows:
Welcome to the french noun quiz. You will be given
a noun and will be asked to type in the gender of
the noun. Please type in "M" if the noun is masculine
and "F" if the noun is feminine. good Luck!
%
.caseon
.exact
.<noun>=plume
.<answer>=F
.perform noundrill
.<noun>=fils
.<answer>=M
.perform noundrill
Your final score was+
.print(2)
out of a possible 2.
.stop