home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of Shareware - Software Farm 2
/
wosw_2.zip
/
wosw_2
/
GENERAL
/
QUIZ.ZIP
/
CHOICE.QIZ
< prev
next >
Wrap
Text File
|
1990-06-01
|
2KB
|
88 lines
$!
$! $CHOICE - Example Questions
$! Copyright (c) 1988-1990, Data Assist, Inc.
$! Last Update: 01-Jun-90
$!
$! An example showing the $CHOICE command and parameters.
$!
$QUE
How many days does January have?
$! Since the answer is numeric, parameter N is used.
$CHOICE N
28
29
30
31
32
$ANS 31
$HELP
Thirty days has September, April, June and November.
All the rest I can't remember.
$EOQ
$QUE
Abraham Lincoln was the first President of the U.S.A.
$! Since this question is True/False, parameter T is used.
$CHOICE T
$ANS F
That is right. George Washington was the first President.
$NOT T
No. George Washington was the first President.
$EOQ
$QUE
What is the capital of Ohio?
$! Since this question requires an exact answer, parameter X is used.
$CHOICE X
Cincinnati
Cleveland
Columbus
Dayton
Toledo
$ANS Columbus
$EOQ
$QUE
In what month is George Washington's birthday?
$! In this question only the first Character is important.
$! Parameter C is used.
$CHOICE C
A. January
B. February
C. March
D. April
E. December
$ANS B
$EOQ
$QUE
Which of the following Presidents were in office before 1850?
$! Note: For a K-type question, the item list is part of the question,
$! not part of the $CHOICE command.
1. George Washington
2. Ronald Reagan
3. Andrew Jackson
4. Abraham Lincoln
$! Since this question is K-type, parameter K is used.
$CHOICE K
$ANS B
$! B means that 1 and 3 are true.
$KTY 1
George Washington's term began in 1789.
$KTY 2
Ronald Reagan's term began in 1981.
$KTY 3
Andrew Jackson's term began in 1829.
$KTY 4
Abraham Lincoln's term began in 1861.
$RIGHT
You know your American History very well!
$WRONG
You need to study up on the Presidents!
$EOQ