@L}5 _$% l0$)$$Hȱ$ UhL" `e$$%`$%`  R@W!( L(1   Y I`  d  Ld M * @  $ % CC$$)%1 Udߥ$9%: !0 S$% DD˙`  }J)Lr d M * @  $ % CC$$)%1 Udߥ$9%: !0 S$%} DD˙`  }J)Lr J  ((  p L ()   J}L= ( L 0q A    IB JC;? D W } LL  ` W )LA!  ߰")-݆ p" } $G@LL 08`Q")<2Q0 -G$Ș݆ UL# ; p8(()(0ʥ)NQ` }$GȘ݆LU )L ݆ L GȘ ݆LL )W>Z   HH)H }p h  hyhy D L> L JJ    ! LA*` BF }7'8  M HN H` 8 Z  \LdJJ!"! GFE@F (!L }EE !E^ ^ E E7EȩEdE/EȩE  D } .L }  ;F d  ;?F7F? ( .   Z D LL d } . D  L    p  E` , d)  D L) 0BM݊L݉} ML  N݆ L NLML [ TEqEHȱEqEh 0Gȹ G} HLL GɛL  LFREE SECTORS G) *Gȩ GȽG GȌ*jj >G} C8jJ3j2CD( C202C ԠBX` N 1? l LlD:RAMDISK}.COMLu L1 L ;LHL  T`  `8  ɐ     `TU  } L ? .  t`GBJ ~DEHI B V0dV!}QDEHI VF9 ,0 ,0 s0hhL  L` H hDHEh"}DEL8HI4 0 HI,0 0  9 .G VLO#},0 L4*IJ`llD1:AUTORUN.SYSNEED MEM.SAV TO LOAD THIS FILE.D8:MEM.SAV J y08 B|DEHI$} V0 0`B;DEL`?<0LV`@ʆ v s? F0Ξ05: [ BDEHI%} VY8 B V  @  /DE `E:D8:DUP.SYSERROR-SAVING USER MEMORY ON DISKTYPE Y TO &}STILL RUN DOS B;DE J  (` 9 V⪍ ઍ  -'}LLu ÝDEHILV 9 .l 9 .l  `` s$B BH(}I|DE V BLV nB,DE JLV B V BLVDEIʩ BꭝLu } 3E:}DISK OPERATING SYSTEM II VERSION COPYRIGHT 1984 ATARI CORP.A. DISK DIRECTORY I. FORMAT DISKB. RUN CARTRIDG*}E J. DUPLICATE DISKC. COPY FILE K. BINARY SAVED. DELETE FILE(S) L. BINARY LOADE. RENAME FILE M. RUN AT ADDRES+}SF. LOCK FILE N. CREATE MEM.SAVG. UNLOCK FILE O. DUPLICATE FILEH. WRITE DOS FILES P. FORMAT SINGLEL !N',}#"&))9(&*)/h)''-&؆莟R'S  vL/ˢ L }Insert DOS 2.0s, type Y Λx -}DEfHI 1莏#q! @ y0ɛ8A0,' ȅ 1 1ild! 1L!NO SUCH ITEMSELECT.} ITEM OR FOR MENU! 0 .z:*{}.|{ 1 0 0JB 18L%|DL/}%DIRECTORY--SEARCH SPEC,LIST FILE?[# 0 0 &|D3" 1L!NOT A DISK FILEN !B 1L!E# 1 !BD0}ED:}:1BJ|DE 1DEBHI 1 h0ߢ 0.1}  0?詛 1 y0YЛ 1 ;#L" ;#L! BL1TYPE "Y" TO DELETE...DELETE FILE SPEC2}COPY--FROM, TO?OPTION NOT ALLOWED697 FREE SECTORS COPYING---D8:COPY32.COMl# 0|D .L/%#3}##JB|DE 1BHID#E 1#0: B 1L!#͑### B 1#c$0SY4}S1}:## # # .#Ƚ# # 𩛙## 1,#PD#ELJ- <.BJD#E 5}1 1HH 0hh|DL%1}:̳# L% #D#EL% 1 0 . .0O% 1L!WILD CARDS NOT A6}LLOWED IN DESTINATION 0 <.|K}N 2 FORMAT. t* 5) 1L!`) 0NΞ 0 L1) 1 L!BAD LOAD FILELOAD FROM WHAT FILE?) 0 ?}0#B 1L!WHAT FILE TO LOCK?) 0 0$B 1L!WHAT FILE TO UNLOCK?DUP DISK-SOURCE,DEST DRIVES?TYPE "Y" IF OK TO US@}E PROGRAM AREACAUTION: A "Y" INVALIDATES MEM.SAV.FE! +L1   `*  70 2 2A} 0.* 1 y0 0)INSERT BOTH DISKS, TYPE RETURN^, 1 y038逍 N, 1L! ,B}C, t*  Lx+, 0 ^, 1 y0 , ,0,0 ,L+ ,I0 ,Vǭ0C}Ξ, 0 }, 1 y0C,ШC, 0K'!" H H 'h h Lx+!EF 5L1L!D,I,HhD}` NOT ENOUGH ROOMINSERT SOURCE DISK,TYPE RETURNINSERT DESTINATION DISK,TYPE RETURNE}`  `8 rL1`-* 1P* 1 y0Y`hhL!NAME OF FILE TO MOVE?- 0 0|DL% <.F},^ 1 70 0 .@L# .BJ 1  DEHIB V L1 ,} 1 70,L.  G}JB|,#P#DE 1 HI BDEHHII 1 B 1 ,^ 1 70,0La- B V,#PH},^ 1 70 0L#L!-* 1P* 1 y0Yj383}mm ݭI}}`8}``|* ? ɛ,`|:-)| / 1L!`DESTINATION CANT BE DOJ}S.SYS0 0H{ 24Δ 28/L!/) 2 Π 2 0 ξK}hAΞB,0 J 1 BDEHI,HÝDE 1HIHIDELSAVE-GIVE L}FILE,START,END(,INIT,RUN)O S0 1`BDEPHI V` S0H 1 L!M}0 0 1L~0`PLEASE TYPE 1 LETTER,0`hhL! 70 1L0L<1 ,;ɛ7,"ɛ:ݦ1ݥN}A"D|ݤD|ȩ:|ȩ|ɛ,,(/+.ީ1 1,ɛ`轤{NAMEO} TOO LONG B VL!` L1I H1EΝDL1|mDiE` V0`8d/8 i:222 1 LP}!ERROR- 160ɛ+,' 20*.. өr2 1``2TOO MANY DIGITSINVALID HEXAQ}DECIMAL PARAMETER800 0 8 00`,0'D800 H,ɛh`2L1NEED D1 THRU D8uR} ECIMAL PARAMETER800 0 8 00`,0'D800 H,ɛh`2L1NEED D1 THRU D8u67IHCRCQDFLADRIVNHAHSCFILERLQNUSHPIPx/ -@xT}@ @ @W x @h @@{ \((@e@@A@U}@SAVE "D1:TRIV.BAS"!!--------------------------- TRIV Game by Frank Walters!!Public Domain SoftwaV}re 1993!!---------------------------S=6__SOUND_ON S=0__OFF DRIVE=0__Drive # >__prompt!!DRIVE=1 to DW}RIVE=9__default  '6-@6-'A^@+J(&Type drive number for TRIV?.DX}AT files.M(^( 堣 + @P+ @I)!@W@0(6-&@H( A2.@.@Y}@K:<*)@!A'*6-&A(F'!@* A#'6-&@2P@$ZZ}2 6-@:,(2(ž Next page þ Quitd-"@-6.} ֠Ӡn*"@H*( 堾 _>:[}@0,x @P Ap'"@'@(' A"@2A//+ @H)!,)+!* @\}e,)A  AP'6-@6-B:,$"'$1-@>:,47<,+6-16-  ]} $R6.H}  ԠҠɠ֠ i67@%<@%,.67@I<@I^},.$h;A ,;@,;@,;@,;@,;@,;@E,;@@,;@,{6. D1:TRI_}V?.DAT67@<@,.=:,bS6.ICorrectb6.>:A`}U,6-@e6-'6-1+C@UAA(gAR@k(z6.>:@a},67@@,.67@,.o A((.(Reading directory ...1(6(A@K A@h@@b}o6.[@)7@<@,0 86-F:@,G6-F:@,["A9A`c},#/@9/,@99 A`7@<@,3/A67B:,%@,.7@<@,`(7@<d}@, AP"[(B:,"(A@2+(Q(!No TRIVx.DAT files on this drive.[ A,I6-e}@H Ap%"I(0 or displays Index.6G6-@ Ap%"G(Z displays Docuf}mentation.@=( (Which TRIV Data file?#(=( 堾 _>:@0,J% @P"@'%6-@HT- Ap-g} @H)!@)A0^_AAx(>:,767@<@,.>:,C6-Y"@H)"@_6-hh}5 A@@5@@r A|E"@H6.>:A%,667@,.>:@(,;(Ei} A (( A (( 0/0 = 0% ("@"4ENDA%6-@:7@,,%67j}@,. @ 4@AP( A0@/(/($ Ѿ Quit game Ӿ Sound toggle"k}("( _>:@0, @P-"@(Quit#@- A"@6-@&92l}A0@c(>:,7@<@`,_>:@0,2 A )!Am} (>:, (6-%@ >:,4-@B:,'(7<,E2@%@PI k2n}y6-%@ AP(( Wrong answer!((>:AS,&6@@ ,(6 @Po}0=6-P:A$'%?P,'6.=:,=67B:,%@,.%:2(%( / = ((2 ADl4p}100%(%-@@K(!Congratulations! A perfect score!O Sl(>:AS,>:AS,N!(( End of Quiz!q}@X-(-(ٯΩ _>:@0,b @P"@%l@xAv< (>:,ARr}/AA(9 B<f BA@2"(F(>:AS, ERROR- F:A,I(\( CANNOT FINs}D f A D1:TRIV.BAS"TRIV GAME DOCS (TRIV.DOC)This is a very simple program to read a text file from any disk drive and display it as a quiz. T u}he sample data files (TRIVx.DAT) show examples of how to make the tests with a word processor.Type the quiz file in 40 colu v}mn format with a RETURN at the end of each line. The questions may be numbered for user convenience but it is not essential. w}The answers must be marked starting with A, B, C, etc. but you may have as many practical answers in the multiple choice list x} as desired. A lot of short answers could be displayed in 2 or 3 columns, so as not to scroll text off the top of the screen. y}There are TWO MANDATORY lines for each question, starting at the first line of the textfile:FIRST LINE OF THE TRIVx.DAT F z}ILE, as well as first line of each successive question, must contain 2 UPPER CASE letters, followed by a RETURN: 1st let {}ter is the CORRECT ANSWER in the multiple choice list for the question that follows the top line. 2nd letter indicates t |}he LAST possible choice of answers. e.g. There are 5 possible answers: A, B, C, D, E. The correct answer is C. The first }} question should look like this:CE 1. Question typed here... A) 1st possible answer B) another C) CORRECT ans ~}wer D) another wrong one E) wrong again.@AD 2. Next question. A) etc.IMPORTANT: The "@" [SHIFT-6] character } following the last answer is the delimiter for each question. The program will print everything following the top [2-letter }code] line down to, but not including the @ line. The next question will begin with another 2-letter code in the line IMMEDIA }TELY BELOW the @, as shown in the example.NOTE: The question and each answer is not limited to a single line. Simply format } as many lines as necessary but follow each line with a RETURN. Don't make it too long so it scrolls off the screen as it pri }nts. You will get the knack when you try a few questions. Everything between the answer code line and the delimiter (@) line }will be displayed on the screen exactly as it is typed, as long as you remember the RETURN at the end of each screen line.E }ND OF TEST:You can have as many questions in each text file as you like, since the program only reads one question at a tim }e from the disk. The line below the last question will be the question delimiter (@) just like the other questions. On the li }ne below the @, you must type END, in upper case, followed by a RETURN. This tells the program there are no more questions an }d it closes the file and ends the test at that point.Example last question of test:... another wrong one wr }ong again.@ENDAnything typed below END is not used so you can enter any notes you wish with regard to the quiz, such as }source references for the questions and answers, date, author, etc.I use inverse for appearance on my tests, but you ca }n use any format you like. i.e. A), (a), , a., [A], etc. Using TextPRO, I made 6 macros to print 3-spaces, the inverse bra }ckets, a letter (A-F) and 1-space. I use OPT_A, OPT_B, etc. for each letter up to F, for ease of typing. TRIV.MAX is included } if you use TP 4.55 or later. Rename it .MAC for earlier versions. Also, OPT_RETURN types:@**The ** is temporary, to be re }placed later by the 2-letter code [or END] after I type the next question.TRIV.BAS accepts either upper or lower case from }keyboard, or inverse as well, and converts them to upper case. Therefore, the code letters in the first line of each question } in the Data file must be in upper case.If you wanted to number the answers instead of using letters, then you would have t }o change the value of LO=65 on line 80 of the program. LO=49 would set the value of the lowest key accepted to CHR$(49) or "1 }". Then the DAT files would use code numbers instead of letters i.e. Code 35 would mean answer 3 was correct out of 5 possibl }e answers.The simplicity of this type of quiz is that it is no trouble to edit and update any of the questions as they beco }me obsolete, using any word processor that saves the text in ASCII format (without printer codes).The TRIV Game was written } as an on-line game for my BBS but I started by writing this simple utility program to test out my ideas before incorporating } it into the BBS.SAVING THE DATA FILE:Use the following filename format when saving the file:TRIVx.DATThe 'x' can be }a number or letter so you don't have duplicate names on the disk. Do not use more than 1 character in place of the x. i.e. TR }IV1.DAT, TRIV2.DAT, TRIVA.DAT, TRIVY.DAT are all legal names. TRIV11.DAT is illegal and will not be accepted by the program w }hen it reads the directory to select a TRIV data file. However, you may use the same filenames on a different disk for differ }ent quiz categories. Just insert the data disk you want to use before typing the disk number at the start of the TRIV.BAS pro }gram. You may even copy the data files into Ramdisk if you wish.TRIV0.DATThis is a special Index data file, not really a }quiz. It uses the same format as a quiz file but I use it as an index to display the subject matter of each TRIV data file in } my library. The directory in the TRIV.BAS program only displays a single character for each file [the 5th byte in the filena }me]. So I came up with this index to list the subjects following that unique character: 0, 1, 2, A, B, C, etc.TRIVZ.DATTh }is is another version of TRIV.DOCthat I made to display the doc filefrom the program. Just select fromthe 'File >' pro }mpt and you can readthe Docs from the TRIV.BAS program.Don't use TRIV0.DAT or TRIVZ.DAT forquiz files, since the program }treatsthem differently. TRIV0 is the Indexfile. Edit the original to fit thenames of the quizes on your otherdisks. TRIVZ } is a READ-ONLY routinefor a text file. I use ++ as the codeand insert the @ and ++ where I wantthe page breaks.AUTHOR'S } COMMENTS:I also developed a clever idea to prevent errors when looking for a data file that doesn't exist. During the dire }ctory read for valid filenames, I store the unique 5th character in a string variable [D$] as they are displayed on the scree }n. When you select a file from the list, your key is compared to the characters in the string variable, and the key is accept }ed only if there is a match. I use this routine whenever you try to load a data file from disk, even from the Index list. TRI }V0.DAT has a 2-digit keycode that limits highest key value for each of the two-page index. So the D$ will prevent loading a f }ile that does not exist but appears on the Index, and the Index code will prevent you from loading a file that exists in D$ b }ut is higher value than the Index code limit. Sounds a bit confusing, so don't worry about it.If you make a bunch of quiz f }iles, how about ARCing them together and uploading them to my BBS? We could always use some more TRIV files. Be sure to be in } ATARI translation if you call so you can register as a NEW user. You have upload/download privleges on first call.SCORING: }It couldn't be simpler. You get the number of right answers divided by the number of questions and your percentage of corre }ct answers. The score is displayed along with each question. You have the option to Quit at any point and final score is show }n. No deduction for questions you do not read when you select Quit.DRIVE NUMBER AND SOUND DEFAULTS:If you always have the } data files in the same disk drive number you may want to bypass the Drive # prompt at the beginning of the program. LIST 10 }and change DRIVE=0 to DRIVE=1 or any other drive up to 9. As long as DRIVE is not 0, then the program will skip to line 50 an }d bypass the drive number input from the keyboard.Change S=6 to S=0, also on line 10, if you want the Sound to default OFF. } The sound can be toggled off/on from the game menu, however. Don't forget to SAVE your modified version to disk.DO NOT UPL }OAD MY PROGRAM TO COMPUSERVE-- 02/11/93 -- Frank Walters - SysOp T.A.C.O. Bell BBS Panama City, FL (904) 785-2333 } 4pm - 11pm Central, ATARI ONLY 300-2400 baud _____ * A Custom BBS written by the Sysop * * Op }erating for ATARIs since Feb 85 * _____ 7齙 Active macro> TRIV.MAXMacro for TextPRO v4.56 - 5.0XTRIVx.DAT file aid.OPT_A thru OPT_F prints: (thru) } OPT_RETURN prints '@'[Ret.] '**'[Ret.]@** 1. /??TEXTPRO.MAXAaa Bbb ¾ Ccc þ Ddd ľ E}ee ž Fff ƾ @**9I     ...  }       } Ҡ̠ԠڠŠӠŠ}ŠӠĠӠԠڠծӮ٠נ̿ծӮӠ߈ɠà}߈ɠàF ծӮ٠G ߈ɠàH }ŠӠI @9Z  }   ...    }     }J S K T L U } M V N W O X }P YQ ֠ӠR ֠ؠ砱}@ENDTRIV0.DAT INDEX OF TRIV GAME DATAFRANK WALTERS 02/23/93jCE 1. Which team has played in the most Super Bowl games? Pittsburgh Steelers ¾ San Francisco 49ers þ }Dallas Cowboys ľ Miami Dolphins ž Washington Redskins@AC 2. Teams from which Conference have played in the m}ost Super Bowl games? AFC ¾ NFC þ Both conferences have exactly the same number of Super Bowl } teams.@AF 3. Teams from which Division have played in the most Super Bowl games? NFC East ¾ NFC }Central þ NFC West ľ AFC East ž AFC Central ƾ AFC West@CF 4. Teams from which Division have been i}n the least number of Super Bowls. NFC East ¾ NFC Central þ NFC West ľ AFC East ž AFC Central }ƾ AFC West@DD 5. Of the 28 NFL teams, how many have never played in a Super Bowl? 6 ¾ 7 þ 8 ľ} 9@DE 6. Which AFC team has played in the most Super Bowl games? Buffalo Bills ¾ Pittsburgh Steelers }þ Denver Broncos ľ Miami Dolphins ž L.A. (Oakland) Raiders@CD 7. Which two teams have combined for a record} of 0 wins and 8 losses? Denver, Buffalo ¾ Cincinnati, Buffalo þ Denver, Minnesota ľ Cincinnati, Denve}r@BD 8. Which two teams have combined for a record of 8 wins and 0 losses? Dallas, San Francisco ¾ Pittsb}urgh, San Francisco þ L.A. Raiders, Pittsburgh ľ Miami, San Francisco@AF 9. Which Division has won twice as }many Super Bowl games as any other Division? NFC East ¾ NFC Central þ NFC West ľ AFC East ž A}FC Central ƾ AFC West@BF10. Which Division has the won the least number of Super Bowl games? NFC East }¾ NFC Central þ NFC West ľ AFC East ž AFC Central ƾ AFC West@ENDTRIV1.DAT SUPER BOWL TEAMSFRANK }WALTERS 02/03/93CD 1. The capital of Pennsylvania is: Pittsburgh ¾ Philadelphia þ Harrisburg ľ Scranton@DD 2. The }capital of California is: San Francisco ¾ Los Angeles þ San Diego ľ Sacramento@AE 3. The New York S}tate capital is: Albany ¾ Rochester þ Buffalo ľ New York City ž None of the above@BD 4. The ca}pital of Illinois is: Chicago ¾ Springfield þ Lincoln ľ Lansing@DD 5. What is the capital of Alabam}a? Birmingham ¾ Mobile þ Atlanta ľ Montgomery@AD 6. Columbia is the capital of: South Carol}ina ¾ West Virginia þ Ohio ľ Washington@DD 7. Some state capitals are named after Presidents. Which Pre}sidents are included in state capital names? Washington, Roosevelt, Wilson ¾ Lincoln, Washington, Jefferson} þ Monroe, Lincoln, Johnson ľ Jackson, Madison, Jefferson@AE 8. Augusta, Hartford and Montpelier are capitals} in which area of the country? New England ¾ The South þ The Midwest ľ The North Central States } ž The Southwest@CD 9. In the following states, the largest city in the state is also the capital: Misso}uri, Georgia ¾ Indiana, New Mexico þ Massachusettes, Utah ľ Arkansas, Texas@AF10. The capital city of which} state has the largest population of any state capital in the U.S.? Arizona ¾ California þ Illinois} ľ New York ž Pennsylvania ƾ Texas@ENDTRIV2.DAT STATE CAPITALSFRANK WALTERS 02/05/93nBC 1. POKE 84,10:POKE 85,2:? "X" Where will the 'X' appear on the graphics 0 screen? Column 10 and row 2 } ¾ Row 10 and column 2 þ Top left corner of the screen@BD 2. I want to turn the cursor off in my BASIC program. } What is the POKE? POKE 710,0 ¾ POKE 752,1 þ POKE 580,1 ľ POKE 752,0@AD 3. POKE LM,0 Sets the }left margin to 0 if LM=82 ¾ LM=83 þ LM=84 ľ LM=85@CD 4. POKE 710,0 What happens here? }Border turns black. ¾ Keyclick is turned off on XL/XE þ Background is black. ľ System Reset set to cold start. }@AD 5. 200 IF PEEK(764)=255 THEN GOTO 200 What is the effect of line 200? Program will loop at line 200 } until any key is pressed. ¾ Program will go into an infinite loop at line 200 and the only way out is Br }eak or Sys Reset. þ Program waits for START key to be pressed. ľ No effect, it will skip past line 20 }0 as the equation is always false.@AB 6. POKE 66,0 turns off the beeping heard during disk I/O operations. } True. ¾ False.@DD 7. PEEK(632) returns the value of joystick 0. If PEEK(632)=15 then the joystick is posi }tioned left ¾ forward þ forward/left diagonal ľ neutral@AD 8. You run this program with a newly } formatted disk in drive 1. What is the value of X? 1 X=0:TRAP 4 2 OPEN #1,8,0,"D1:TEST.DAT" 3 CLOSE #1:END } 4 X=PEEK(195):END 0 - program ends at line 3. ¾ 170 þ 162 ľ 144@CD 9. POKE 559,0 turns off AN }TIC and blanks the screen to speed up processing during initilization. To turn the screen back on POKE 55 }9,1 ¾ POKE 559,255 þ X=PEEK(559) prior to POKE 559,0. Then POKE 559,X to turn it on. ľ All of the above } are correct.@BD10. When you write a joystick-only program, you should POKE 77,0 periodically. Why? Clears } the joystick registers so you get correct values. ¾ Prevents the Attract mode from dimming the screen col }ors. þ Initializes all stick trigger functions. ľ Keeps Break key disabled.@ENDTRIV3.DAT PEEKS AND POK }ESFRANK WALTERS 02/05/93 BD 1. 1492. Columbus first sighted land in the present-day Bahamas. What was the month and day? December 24$} ¾ October 12 þ November 16 ľ May 13@CD 2. 1513. Ponce de Leon explored the coast of what New World terr$}itory? Louisiana ¾ Hispanola þ Florida ľ Massachusetts@AD 3. 1565. First settlement in Florida $} founded by Pedro Menendez. Where was it? St. Augustine ¾ Key West þ Pensacola ľ Cape Canaveral@$}DD 4. 1579. California claimed for Great Britain by what British explorer? John Cabot ¾ Captain Cook þ$} Sir Walter Raleigh ľ Francis Drake@AD 5. 1619. House of Burgesses was the first representative assembly in t$}he New World. In which colony or territory was it located? Virginia ¾ Massachusettes þ Maryland ľ $}Pennsylvania@DD 6. 1620. Puritan Pilgrims set sail in Mayflower from Plymouth, England on Sept. 15. They reached C$}ape Cod on Nov. 19. What was their original destination? Plymouth, Massachusettes ¾ Cape Cod þ Bost$}on ľ Virginia@CD 7. 1636. Roger Williams founded which democratically ruled colony, with separation of Church$} and State? Baltimore [Maryland] ¾ Roanoke Island [Virginia] þ Providence [Rhode Island] ľ Ne%}w Amsterdam [New York]@BD 8. 1682. French explorer, LaSalle, claimed new territory along Mississippi River for Fr%}ance. What did he name it? Mississippi ¾ Louisiana þ Missouri ľ Illinois@DD 9. 1683. Treaty wit%}h Delaware Indians signed by William Penn for colony in what territory? Delaware ¾ Maryland þ Ohio%} ľ Pennsylvania@BD10. 1692. Witchcraft trials held and 19 persons executed in Williamsburg ¾ Salem %} þ Plymouth ľ Mystic@CD11. 1740-41. Capt Vitus Bering sailed to which North American territory? Oregon%} ¾ Vancouver þ Alaska ľ Baja California@CE12. 1756-63. French and Indian War was fought. Who won? %} French ¾ Indians þ British ľ Americans ž Spanish@DD13. 1773. Boston Tea Party was held on Oct 14%}. Who drank the tea? British ¾ Colonists þ French ľ the fish@AD14. 1774. First colony to abolish %} slavery was Rhode Island ¾ Massachusettes þ Maryland ľ Pennsylvania@BD15. 1775. Continental Congr% }ess declared George Washington to be President of the United States ¾ Commander-in-chief þ Field Marsha% }l ľ both A and B, above.@ENDTRIV4.DAT AMERICAN HISTORYFrank Walters 02/09/93Ref. World Almanac 1991, pp. 439% }-440.$CD 1. Who became president right after Washington's second term in office? Thomas Jefferson ¾ James Madison) } þ John Adams ľ Abraham Lincoln@CE 2. How many presidents have been assassinated while in office? 2)} ¾ 3 þ 4 ľ 5 ž 6@CD 3. Who was the first president to be elected from the Republican party? )} Thomas Jefferson ¾ Andrew Jackson þ Abraham Lincoln ľ Ulysses Grant@AD 4. Abraham Lincoln was assassinated)} in 1865. His Vice President, who served the rest of his term, was Andrew Johnson ¾ James Buchanan )} Ulysses Grant ľ Chester Arthur@CE 5. How many presidents had the exact same last name as a previous preside)}nt. 2 ¾ 3 þ 4 ľ 5 ž 6@DD 6. Only one vice president took the office of president, without )}being elected, while his predecessor was still living. Who was it? John Adams ¾ Theodore Roosevelt )} Lyndon Johnson ľ Gerald Ford@AD 7. The following president did NOT serve two full terms as president: H)}arry Truman ¾ Ronald Reagan þ Dwight Eisenhower ľ Woodrow Wilson@AD 8. Since 1933, only two presidents )}have served a single, 4-year, term of office. One was George Bush. Who was the other? Jimmy Carter ¾ Ger)}ald Ford þ John Kennedy ľ Richard Nixon@IJ 9. While serving in the army, which president did NOT reach the g)}rade of general officer? Jackson ƾ Hayes ¾ Wm. Harrison Ǿ Benj. Harrison þ Taylor Ⱦ Ga)}rfield ľ Pierce ɾ Teddy Roosevelt ž Grant ʾ Eisenhower@DE10. Who served the most number of year)}s as president of the U.S.? George Washington ¾ Thomas Jefferson þ Woodrow Wilson ľ Franklin D. Ro)}osevelt ž Many tied at 8 years, since the maximum number of terms is two.@BD11. Who was the only president to )}serve a second term which did not follow his first term, consecutively? John Adams ¾ Grover Cleveland )} þ Teddy Roosevelt ľ William Taft@AD12. Who was the youngest President at the time of his inauguration? )} Theodore Roosevelt ¾ Ulysses Grant þ John Kennedy ľ Bill Clinton@BD13. Who was the oldest President at the)} time of his last inauguration? John Adams ¾ Ronald Reagan þ Dwight Eisenhower ľ Franklin Roosevel) }t@ENDTRIV5.DAT U.S. PRESIDENTSFrank Walters 03/15/93(@DE 1. CLOSE used without a channel # will close all I/O channels. ¾ is not required if you only w-"}ish to change an open channel from 'read' to 'write' to the same device on same channel #. þ must use the -#}format: CLOSE #chan,x,x,"device:" ľ must use separate CLOSE state- ments for each channel number. ž C-$} and D are correct.@BD 2. CLR clears the screen. ¾ sets all numeric variables to 0 þ clears the program -%}from memory. ľ removes variables from variable name table.@AD 3. COLOR determines which color register-&} the next PLOT or DRAWTO statement will use. ¾ has 8 color registers [0-7] þ is used to change the ba-'}ckground color or text luminence. ľ is used in this format: COLOR x,x,x@EE 4. A program can be stopped -(}without erasing it from memory, still retaining variable values, by: including a STOP statement ¾ includ-)}ing an END statement þ pressing the Break key ľ pressing [Sys Reset] ž All of the above are correct.@BD 5. -*}100 DIM A$(40) 110 DATA Panama City, FL 120 DATA 32405 130 FOR I=1 TO 3:READ A$ 140 ? A$;:NEXT I RUN the-+} above program will print: Panama City, FL 32405 ¾ Panama City FL32405 þ Panama City FL 32405-,} ľ Panama City, FL 32405 ERROR 6- AT LINE 130@DD 6. DIM String variables are limited to 16K i--}n size. ¾ Numeric arrays need not be dimensioned. þ String arrays must always be dimensioned. ľ -.}DIM X(1,5) is a valid statement.@BB 7. DOS ... cannot be used within a Basic program. It can only be used in dire-/}ct mode by typing it on the screen when READY is displayed. True ¾ False@AD 8. END is not require-0}d in an Atari BASIC program. Program will end when it runs out of statements. ¾ Closes all 8 I/O channels.-1} þ ends program execution and erases program from memory. ľ should only be used in the highest line n-2}umber of a program@CD 9. LIST can only be used to LIST the program lines to the screen. ¾ when used wi-3}th a "D:filename" will save the program to disk exactly like SAVE. þ can list selected line numbers -4} on screen by using LIST 300 or LIST 300,350 ľ cannot save selected lines to another device, such as disk-5} or printer.@CD10. ENTER is used to load a LISTed basic file into memory and erases previous p-6}rogram. ¾ is used to load a tokenized file without executing it. þ will merge a LISTed file with a pr-7}ogram already in memory. ľ clears the variable name table and begins building another one as lines are ent-8}ered into memory@ENDTRIV6.DAT ATARI BASIC #1Frank Walters 03/08/93,MBD 1. 1775. On May 10, Col. Ethan Allen, joined by Col. Benedict Arnold, captured which British stronghold? 1:}Bunker Hill ¾ Ft. Ticonderoga þ Lexington ľ West Point@CD 2. 1776. On July 4, the Continental Congress 1;}approved what document? Constitution ¾ Bill of Rights þ Declaration of Independence ľ Articles of Conf1<}ederation@AD 3. 1776. August 27 terminated the Battle of Long Island. Who was the losing commander? Gen. W1=}ashington ¾ Gen. Burgoyne þ Gen. Howe ľ Lord Cornwallis@DD 4. 1776. Christmas Day. Washington's attack 1>}defeated 1,400 Hessian troops at Trenton. To achieve surprise, his army had to cross the Potomac River ¾1?} Schuylkill River þ James River ľ Delaware River@BD 5. 1777. Congress promoted a 20 year old staff officer t1@}o major general. Who was this youngest major general in the Continental Army? Alexander Hamilton ¾ Marqu1A}is de Lafayette þ Henry Knox ľ Benedict Arnold@BD 6. 1781. Oct 19, the British fife and drum corps played "T1B}he World Turned Upside Down" following their crushing defeat at King's Mountain. ¾ Yorktown. þ Whit1C}e Plains. ľ Princeton.@CC 7. 1783. Dec 4. What famous meeting took place at Fraunces Tavern in New York City?1D} British and American signing of Peace Treaty. ¾ Courts Martial of Benedict Arnold. þ Washing1E}ton's farewell to his officers.@AD 8. 1787. A convention was held in Philadelphia on May 25 with George Was1F}hington presiding. What was its purpose? Adopt the Constitution. ¾ Elect the first President. þ Sign De1G}claraton of Independence. ľ Appoint a Supreme Court.@CC 9. 1789. George Washington elected the first President of1H} the U.S. The person who came in second became nothing. He lost. ¾ Speaker of the House þ Vice Presiden1I}t.@BD10. 1789. The first Capital of the new United States was in Philadelphia ¾ New York City þ Dist1J}rict of Columbia ľ Annapolis@CC11. 1794. Whiskey Rebellion suppressed by 15,000 militiamen in west Pennsylvan1K}ia. What was the cause? Prohibition law passed in Philadelphia. ¾ Coal mine strike. þ Protest over l1L}iquor tax.@BC12. 1797. Three U.S. Frigates launched. Which one was "Old Ironsides?" U.S.S. Constellation 1M} U.S.S. Constitution þ U.S.S. United States@DD13. 1801. War declared against United States by what country? 1N} England ¾ France þ Spain ľ Tripoli@BD14. 1803. United States doubled its area by a real estate deal1O}. What did it buy? Alaska ¾ Louisiana þ Texas ľ California@BD15. 1804. Lewis and Clark expediti1P}on to explore the Northwest Territories was ordered by whom? John Adams ¾ Thomas Jefferson þ James 1Q}Madison ľ James Monroe@DD16. 1807. First practical steamboat trip from New York to Albany, 150 miles in 32 ho1R}urs. Robert Fulton made this trip on what body of water? Erie Canal ¾ Lake Champlain þ Ohio River 1S} ľ Hudson River@ENDTRIV7.DAT AMERICAN HISTORY #2FRANK WALTERS 02/23/93Ref. World Almanac 1991, pp. 440,441.0yAE 1. FOR A=X TO Y STEP Z:NEXT _ What variable goes in the blank _? A ¾ X þ Y ľ Z ž Any var5U}iable.@BD 2. If "STEP" is omitted from a FOR/NEXT loop, what STEP is assumed by BASIC? 0 ¾ 1 þ 55V} ľ +1 or -1, depending on the value of the start and end values in the loop.@BB 3. FOR I=1 TO 5:FOR J=05W} TO 10:NEXT I: NEXT J The above is a valid FOR/NEXT loop. True ¾ False@AB 4. In order to use GET fro5X}m a device, a channel must first be OPEN to read from that device. True ¾ False@DD 5. Following each 5Y}GOSUB, a ________ must be included in the program. FOR/NEXT loop ¾ IF/THEN statement þ GOTO statment 5Z} ľ RETURN@AB 6. To prevent clearing the screen following a GRAPHICS statement, add 32 to the graphics mode numbe5[}r. True ¾ False@CD 7. INPUT X,Y,Z This statement Accepts 3 keys only. ¾ Accepts any 3 lines5\} from user. þ Accepts 3 numeric entries from user, each followed by RETURN. ľ Is an illegal statement. Only5]} one variable can be used with each INPUT statement.@AB 8. LOAD automatically erases whatever program is 5^}in memory at that time. True ¾ False@DD 9. LOCATE X,Y,Z What does Z represent? Screen column 5_}¾ Screen row þ Anything you have previously assigned to it. ľ ATASCII value of character at column 5`}X and row Y.@AB10. LPRINT shuts off all sound voices. True ¾ False@ENDTRIV8.DAT ATARI BASIC #2FRANK WA5a}LTERS 03/18/93Ref. Your Atari Computer by Ion PoolChapter 11.4DCD 1. The "Sunshine State" was obviously named for its principal industry, tourism. What state is it? Califo9c}rnia ¾ New Mexico þ Florida ľ South Carolina@AD 2. __________ is named for the fact it was "The First S9d}tate" to ratify the Constitution. Delaware ¾ Maryland þ Massachusettes ľ Virginia@BE 3. Which s9e}tate does NOT have a color in its state nickname? California ¾ Montana þ Kentucky ľ Vermont ž9f} Washington@DD 4. Which state got its nickname from the fact that the state flag had a single, large star on it?9g} Hawaii ¾ Alaska þ Montana ľ Texas@BD 5. The "Cornhusker State" is Oklahoma ¾ Nebraska 9q}#B%DOS SYSB*)DUP SYSB STRIV BASB@tTRIV DOCBTRIV MAXB TRIV0 DATBTRIV1 DATB TRIV2 DATBTRIV3 DATBTRIV4 DATB TRIV5 DATB!TRIV6 DATB9TRIV7 DATBTTRIV8 DATB bTRIV9 DATBwTRIVA DATBTRIVB DATBTRIVC DATB TRIVD DATBTRIVE DATBBTRIVZ DATBAUTORUN SYSBEQUATIONCOM þ Iowa ľ Kansas@AD 6. The nickname for Tennessee is Volunteer State ¾ Pine Tree State þ Frontie9r}r State ľ Buckskin State@DD 7. The "Magnolia State" is Alabama ¾ Georgia þ Louisiana ľ Mississ9s}ippi@CD 8. Which state does NOT have an animal in its nickname? Wisconsin ¾ Michigan þ California 9t} ľ Oregon@DD 9. The "Mountain State" is Washington ¾ Vermont þ Colorado ľ West Virginia@AD10. 9u}"Old Dominion" is the nickname for Virginia ¾ Rhode Island þ District of Columbia ľ Maryland@ENDTR9v}IV9.DAT STATE NICKNAMESFRANK WALTERS 03/19/93Ref. The World Almanac, 1991,pp. 619-644.8_CC 1. What documents must be in your personal possession while operating as pilot in command of an aircraft? =x} Certificates showing accomplish- ment of a checkout in the aircraft and a current biennial flight revie=y}w. ¾ A pilot certificate with an en- dorsement showing accomplishment of an annual flight review and a =z} pilot logbook showing recency of experience. þ An appropriate pilot certificate and an appropriate cur={}rent medical certificate.@CC 2. When must a current pilot certifi- cate be in the pilot's possession? W=|}hen acting as a crew chief during launch and recovery. ¾ Only when passengers are carried þ Anytime when act=}}ing as pilot in command or as a required crew member.@BC 3. Private pilots acting as pilot in command, o=~}r in any capacity as a required pilot flight crewmember, must have in their personal poss- ession while aboard th=}e aircraft a current logbook endorsement to show that a flight review has been satisfactorily accom=}plished. ¾ medical certificate and an appropriate pilot certificate. þ endorsement on the pilot certi=}ficate to show that a flight review has been satisfactorily accomplished.@CC 4. Each person who holds a pilo=}t certificate or medical certificate shall present it for inspection upon the request of the Administra- tor,=} the National Transportation Safety Board, or any authorized representative of the Department of Transport=}ation. ¾ person in a possession of authority. þ Federal, state or local law enforcement officer.@CC=} 5. Before a person holding a Private Pilot Certificate may act as pilot in command of a high-performance airpla=}ne, that person must have passed a flight test in that airplane from an FAA inspector. ¾ an endorsement i=}n that person's logbook that he/she is competent to act as pilot in command. þ received flight instruction=} from an authorized flight instructor who then endorses that person's logbook.@AC 6. Which records or=} documents shall the owner or operator of an aircraft keep to show compliance with an applicable Airworthiness =} Directive? Aircraft maintenance records. ¾ Airworthiness Certificate and Pilot's Operating Handbook. =} þ Airworthiness and Registration Certificates.@CC 7. Preventive maintenance has been performed on an aircraf=}t. What paperwork is required? A full, detailed description of the work done must be entered in the=} airframe logbook. ¾ The date the work was completed, and the name of the person who did the work must be =}entered in the airframe and engine logbooks þ The signature, certificate number, and kind of certificate =} held by the person approving the work and a description of the work must be entered in the aircraf=}t maintenance records.@ENDTRIVA.DAT 02/05/93Pilot Quiz, from "Approach" magazine, Fall 1992, Avemco.<kCD 1. Where is the Panama Canal? Columbia ¾ Nicaragua þ Panama ľ Saudi Arabia@BD 2. Where is ThreeA} Rivers Stadium? Cincinnati ¾ Pittsburgh þ Washington DC ľ Cleveland@BD 3. In the Monopoly game, whA}at is the purchase price of Boardwalk? $350 ¾ $400 þ $500 ľ $1000@CD 4. Fort Knox is the gold dA}epository for the U.S. Treasury. What state is it in? Kansas ¾ Massachussettes þ Kentucky ľ CoA}lorado@AD 5. The Bill of Rights contain how many amendments to the Constitution? 10 ¾ 12 þ 5 ľA} 26@DD 6. When did the War of 1812 begin? 1917 ¾ 1941 þ 1861 ľ 1812@CD 7. Where was the first roA}ller coaster built? Disneyland ¾ St. Louis World's Fair þ Coney Island ľ Six Flags over Texas@ADA} 8. Who invented the Steamboat? Robert Fulton ¾ Thomas Edison þ Henry Ford ľ Mark Twain@BD 9. WhatA} season ends at the summer solstice? Winter ¾ Spring þ Summer ľ Autumn@CD10. Who lives in MisteA}r Rogers' neighborhood? Captain Kangaroo ¾ Big Bird þ Mister Rogers' neighbor ľ Super Grover@DDA}11. The highest mountain in the world is named Denali ¾ Mount Kilimanjaro þ The Matterhorn ľ MountA} Everest@BD12. The largest ocean in the world is Atlantic ¾ Pacific þ Indian ľ Arctic@DD13. The A}longest river in the world is the Mississippi ¾ Amazon þ Rhein ľ Nile@BD14. The Star Spangled BA}anner was written by Irving Berlin ¾ Francis Scott Key þ George M. Cohan ľ John Phillip Sousa@ADA}15. The longest suspension bridge in the world is the Verazano-Narrows Bridge ¾ Golden Gate Bridge þ BA}rooklyn Bridge ľ Bridge on the River Kwai@ENDTRIVB.DAT PIECE OF CAKEFrank Walters 03/15/93@iCD 1. Stall/spin accidents are most common in all but which of the following situations? Takeoff and landingE} ¾ After engine failure þ During normal cruise ľ During unwarranted flight at low altitude.@DD 2. FoE}llowing engine failure in a climb, the pilot's first action should be to hold climb altitude while swiE}tching fuel tanks. ¾ check engine instruments. þ locate an emergency landing field. ľ lower the nose toE} best-glide attitude.@BD 3. An aircraft wing never stalls when the indicated airspeed is above the pE}ower-on stall speed. ¾ the angle of attack is less than the stall angle of attack. þ the calibrated airspeedE} is above the power-on stall speed. ľ the pitch attitude is nose down.@DD 4. The indicated airspeed at which aE}n aircraft will stall increases with increased altitude. ¾ decreases with increased altitude.E} þ depends on temperature and humidity, as well as altitude. ľ does not change with altitude.@Bd 5. Which E}of the following statements is false? An aircraft can stall at airspeeds above the unaccelerated stE}all speed. ¾ An aircraft can stall at any angle of attack. þ An aircraft can be in an unstalled condiE}tion at airspeeds below the stall speed. ľ Stall speed increases with increasing load factor.@CD 6. WhiE}ch of the following character- istics of a spin is NOT character- istic of a steep spiral? Rapid loss of altiE}tude ¾ High rate of rotation þ Stalled wing ľ Steep nose-down pitch attitude@AD 7. Intentional spin entry iE}s made with full nose-up elevator deflection and full rudder in the direction of a spin. ¾ a steepE} diving spiral. þ full power. ľ rudder and aileron cross- controlled.@DD 8. Spin recovery is made by E} applying full power and forward wheel. ¾ applying full forward wheel, followed by coordinated roll-outE} þ applying forward wheel followed by aileron against the spin. ľ reducing power to idle, rudder agaiE}nst the rotation, and forward wheel.@AD 9. A departure stall occurs in a climbing right turn and the pilot E}is not applying enough right rudder to center the ball. If the stall is prolonged, a spin to the left may occE}ur. ¾ a spin to the right may occur. þ a right-yawing tendency will be evident. ľ a right-rolling tendeE}ncy will be evident.@AD10. An aft center-of-gravity location usually makes it easier to enter and E} more difficult to recover from stalls and spins. ¾ makes it more difficult to enter and easier to recoveE}r from stalls and spins. þ can be moved forward during a spin to assure recovery. ľ has little effectE} on stalls and spins.@BD11. An aircraft is in a power-off glide at best-gliding speed. If the pilot increasE}es pitch attitude, resulting in a nose-up glide at a reduced indicated airspeed, the gliding distance incE}reases. ¾ decreases. þ remains the same. ľ may increase or decrease, depending on the airplane.@ENDE}PILOT QUIZRef: Approach Magazine, Winter 1993, Avemco Ins. Co.FRANK WALTERS 02/15 93D^BB 1. Toronto is the most northern city in the AL. True ¾ False@AB 2. The Reds have worn green uniformsI} on St.Patrick's Day. True ¾ False@BD 3. What AL city is the furthest distance from Seattle? NI}ew York ¾ Boston þ Baltimore ľ Florida@AB 4. Mickey Mantle hit the first homerun in the Astrodome. I} True ¾ False@AB 5. Babe Ruth was once a pitcher for the Red Sox. True ¾ False@BB 6. If a flI}y ball hits the roof of the Astrodome in fair territory, and then is caught by a fielder, what happens to the batI}ter? The batter is safe ¾ The batter is out@CD 7. What is the nickname of the famous left field wall atI} Fenway Park? The wall ¾ The ball wall þ The green monster ľ The blue devil@DD 8.What other club enI}tered the American League the same year as the Mariners? Cubs ¾ Yankees þ Athletics ľ Blue JaysI}@DD 9.In what season did the Washington Senators play their final game to become the Texas Rangers the following sI}eason? 1961 ¾ 1976 þ 1968 ľ 1971@CD 10.What was the original name of Wrigley Field? BusI}h Stadium ¾ Tiger Stadium þ Weeghman Park ľ Kanas Park@ENDTRIVD.DAT DO YOU KNOW BASEBALL?Lee Brugge I} 02/18/93Ref: Fleer Baseball CardsH%CD 1. 1. NOTE acts like a REM statement ¾ locates cursor position þ locates file pointer ľ moves fileM} pointer@DD 2. 40 ON X GOTO 100,200,300 50 GOTO 400 If X=0, which line with execute next? 100 ¾ M}200 þ 300 ľ 400@AD 3. OPEN #1,4,0,"D:FILE.DAT" This statement will open the disk file for read M}only ¾ write only þ append ľ update (read and write)@CE 4. OPEN #1,X,0,"D:*.*" In order to open the diM}sk channel to read the directory, what is the value for X? 1 ¾ 4 þ 6 ľ 8 ž 9@CD 5. OPEM}N #2,X,0,"P:" The only valid value for X in this statement is 4 ¾ 6 þ 8 ľ 12@BD 6. GRAPHICS M}0:PLOT X,Y PLOT will cause a character to be placed on the screen at col X and row Y. What character? WhM}ich ever key is pressed ¾ Value of last COLOR statement þ Value of last CHR$ statement ľ Value stored in addreM}ss 764@AB 7. POP removes the last RETURN address from the stack. True ¾ False@FF 8. POSITION 2,10 setsM} the cursor position at the next _________ statement. GET ¾ PRINT þ PUT ľ INPUT ž LOCATEM} ƾ All of the above@AD 9. PRINT "Hello","Goodbye" Which of the following would appear on the screen? M} Hello Goodbye ¾ Hello Goodbye þ HelloGoodbye ľ Hello Goodbye@DD10. PUT #1,AM}$ Puts the ATASCII value of A$ to the device opened for ch.#1 ¾ Prints A$ on screen þ Prints A$ to dM}isk ľ Is invalid because PUT can only be used with numeric values@ENDTRIVE.DAT ATARI BASIC #3FRANK WALTERS M} 03/20 93Ref. Your Atari Computer by Ian Poole,Chapter 11.L?++TRIV GAME DOCS (TRIVZ.DAT)This is a very simple program to read atext file from any disk drive anddisplay it as a quizQ}. The sample datafiles (TRIVx.DAT) show examples of howto make the tests with a wordprocessor.Type the quiz file in 40 cQ}olumn formatwith a RETURN at the end of each line.Just type it the way you want it toappear on the screen for the quiz.TQ}he questions may be numbered for userconvenience but it is not essential.@++The answers must be lettered, startingwith AQ}, B, C, etc., but you may have asmany practical answers in the multiplechoice list as desired. A lot of shortanswers couldQ} be displayed in 2 or 3columns, so as not to scroll text offthe top of the screen.There are TWO MANDATORY lines for eachQ}question, starting at the first line ofthe textfile:@++FIRST LINE OF THE TRIVx.DAT FILE, aswell as first line of each suQ}ccessivequestion, must contain 2 UPPER CASEletters, followed by a RETURN: 1st letter is the CORRECT ANSWER inthe multQ}iple choice list for thequestion immediately below. 2nd letter indicates the LASTpossible choice of answers. e.g.Q} There are 5 possible answers:A, B, C, D, E. The correct answer is C.The first question should looksomething like this:@Q}++CE 1. Question typed here... A) 1st possible answer B) another C) CORRECT answer D) another wrong one Q} E) wrong again.@ AD 2. Next question. A) etc.The second MANDATORY LINE IS The "@"[SHIFT-8] line, following the lQ}astanswer of EACH question.@++@ is the delimiter to tell the programwhere each question stops. The programwill print evQ}erything following the top[2-letter code] line down to, but notincluding the @ line. The next questionwill begin with anotQ}her 2-letter codein the line IMMEDIATELY BELOW the @, asshown in the example.@++NOTE: The question and each answer isQ}not limited to a single line. Simplyformat as many lines as necessary butfollow each line with a RETURN. Don'tmake it so lQ}ong that it scrolls off thescreen as it prints. You will get theknack when you try a few questions.Everything between the Q}answer code lineand the delimiter (@) line will bedisplayed on the screen exactly as itis typed, as long as you remember tQ}heRETURN at the end of each screen line.@++END OF TEST:You can have as many questions in eachtext file as you like, siQ}nce theprogram only reads one question at atime from the disk. The line below thelast question will be the questiondelimiQ}ter (@) just like the otherquestions.On the line below the @, you MUST typeEND, in upper case, followed by aRETURN. ThisQ} MANDATORY LINE tells theprogram there are no more questions andit closes the file and ends the test atthat point.@++ExQ}ample last question of test:... ľ another wrong one ž wrong again.@ END Anything typed below END is not usedQ},so you can enter any notes you wishwith regard to the quiz, such as sourcereferences for the questions andanswers, date,Q} author, etc.@++I use inverse for appearance on mytests, but you can use any format youlike. i.e. A), (a), , a., Q}[A], etc.Using TextPRO, I made 6 macros to print3-spaces, the inverse brackets, aletter (A-F) and 1-space. I use OPT_A,OPQ}T_B, etc. for each letter up to F,for ease of typing. TRIV.MAX isincluded if you use TP 4.55 or later.Rename it .MAC for eQ}arlier versions.Also, OPT_RETURN types:@ **The ** is temporary, to be replacedlater by the 2-letter code [or END]afterQ} I type the next question.@++TRIV.BAS accepts either upper or lowercase from keyboard, or inverse as well,and converts tQ}hem to upper case.Therefore, the code letters for eachquestion must be in upper case.If you wanted to number the answersQ}instead of using letters, then youwould have to change the value of LO=65on line 230 of the program. LO=49 wouldset the vaQ}lue of the lowest keyaccepted to CHR$(49) or "1". Then theDAT files would use code numbersinstead of letters i.e. Code 35 Q}wouldmean answer 3 was correct out of 5possible answers.@++The simplicity of this type of quiz isthat it is no trouble Q}to edit andupdate any of the questions as theybecome obsolete, using any wordprocessor that saves the text in ASCIIformatQ} (without printer codes).The TRIV Game was written as an on-linegame for my BBS but I started bywriting this simple utiliQ}ty program totest out my ideas before incorporatingit into the BBS.@++SAVING THE DATA FILE:Use the following filename Q}format whensaving the file:TRIVx.DATThe 'x' can be a number or letter soyou don't have duplicate names on thedisk. i.eQ}. TRIV1.DAT, TRIV2.DAT,TRIVA.DAT, TRIVY.DAT are all legalnames. TRIV11.DAT is illegal and willnot be accepted by the progrQ}am when itreads the directory to select a TRIVdata file. However, you may use thesame filenames on a different disk fordiQ}fferent quiz categories.@++Just insert the data disk you want touse before typing the disk number atthe start of the TRIR}V.BAS program. Youmay even copy the data files intoRamdisk if you wish.TRIV0.DATThis is a special Index data file, notR}really a quiz. It uses the same formatas a quiz file but I use it as an indexto display the subject matter of eachTRIV datR}a file in my library. Thedirectory in the TRIV.BAS program onlydisplays a single character for eachfile [the 5th byte in tR}he filename]. SoI came up with this index to list thesubjects following that uniquecharacter: 0, 1, 2, A, B, C, etc.@++R}TRIVZ.DATThis is another version of TRIV.DOCthat I made to display the doc filefrom the program. Just select fromtheR} 堾 prompt and you can read theDocs from the TRIV.BAS program.Don't use TRIV0.DAT or TRIVZ.DAT forquiz files, since tR}he program treatsthem differently. TRIV0 is the Indexfile. Edit the original to show thenames of the quizes on your otherR}disks. TRIVZ is a READ-ONLY routinefor a text file. I use ++ as the codeand insert the @ and ++ where I wantthe page breakR}s.@++AUTHOR'S COMMENTS:I also developed a clever idea toprevent errors when looking for a datafile that doesn't exist.R } During thedirectory read for valid filenames, Istore the unique 5th character in astring variable [D$] as they aredisplaR }yed on the screen. When youselect a file from the list, your keyis compared to the characters in thestring variable, and tR }he key isaccepted only if there is a match. Iuse this routine whenever you try toload a data file from disk, even fromtheR } Index list. TRIV0.DAT has a 2-digitkeycode that limits highest key valuefor each of the two-page index.@++So D$ will prR }event loading a file thatdoes not exist but appears on theIndex, and the Index code will preventyou from loading a file thR}at exists inD$ but is higher value than the Indexcode limit. Sounds a bit confusing, sodon't worry about it.If you make R}a bunch of quiz files, howabout ARCing them together anduploading them to my BBS? We couldalways use some more TRIV files.R} Besure to be in ATARI translation if youcall so you can register as a NEW user.You have upload/download privleges onfirsR}t call.@++SCORING:It couldn't be simpler. You get thenumber of right answers divided by thenumber of questions and youR}r percentageof correct answers. The score isdisplayed along with each question. Youhave the option to Quit at any pointanR}d final score is shown. No deductionfor questions you do not read when youselect Quit.@++DRIVE NUMBER AND SOUND DEFAULTSR}:If you always have the data files inthe same disk drive number you may wantto bypass the Drive # prompt at thebeginningR} of the program. LIST 10 andchange DRIVE=0 to DRIVE=1 or any otherdrive up to 9. As long as DRIVE is not0, then the prograR}m will skip to line50 and bypass the drive number inputfrom the keyboard.Change S=6 to S=0, also on line 10, ifyou want R}the Sound to default OFF. Thesound can be toggled off/on from thegame menu, however. Don't forget toSAVE your modified verR}sion to disk.@++DO NOT UPLOAD MY PROGRAM TO COMPUSERVE-- 02/11/93 -- Frank Walters - SysOp T.A.C.O. Bell BBS R}Panama City, FL (904) 785-2333 4pm - 11pm Central, ATARI ONLY 300-2400 baud _____ * A Custom BBR}S written by the Sysop * * Operating for ATARIs since Feb 85 * _____@ENDP[L 䙣ލȎ!"` !"H h`lDD V}SAB.VIRT:D"NURT @˩̠̥`Lx ΠԄ ӍӱH-Ӎh ک؅Xԩ"Z}/`؝ٝڝ` ??~~~~~~~~~<<~~~~Z}~~~~~~~~????<<~~~~~~~~~~<~~<~????~ ``nf>ff~fff~~f<flxxlf`````~cwkccfv~~nf>ffffffZ;} 68of;8ppx|<8><f<8lZ=}}Ƅ|ƈ8lƆvƒ|`<|888|llƃ|Ɓll88DƋlf6ff?>da> >c`> /:8Y>n33s>kc>>a8c>/ N3>ff?p0>33~>`a>>Z@}ff?>c`><~<?ff?~p0>33s  L?CC>p72<2w88Y>kkn33s>cc>~3ZA}3>0p?ff>w;0p>a8c>p0|01gff?c1 kk>ysgff?~N),< ꈢDZB}꣝Qqi [q\q~iLn                           ZC}                               ZD}                             ZE}                   i`LhiiZF}+Lh )  ))  ))ͭ|i`Je`OeLi܍`Je`OeLi`Je`Oe~i`i`" ZG}          ZH}            .        ZI}      ##!!!!!%!!%!#####(##(#%%%%%*%%*%(((((-(ZJ}(-(*****/**/*-----2--2-/////5//5/`HH$H($H$HH($LL%L*%L%LZK}L*%QQ(Q-(Q(QQ-(UU*U0*U*UU0*[[-[3-[-[[3-``0`40`0``40ff3f93f3ff93ss9s?9s9ss?9yy<yCnSqSqpZS}LnSqLn`UU -`#_`#2 h` h`e               ZT}                                      ZU}                             ZV}                             ZW}            ULUfUUULULUfUUULULUfUUULnnZX}U UU[[fr f[U[[rff UU[[fr [UULLDZY}LLD@D@DLD@D@DLD@9@DL9@D@DLD@929@DDZZ}29@DD9@DLL9@DLLD@DU UU[[fr f[U[[rff UZ[}U[[fr [UULLD<nnnQQQHHQHQH<<<HQQZ\}QHHQHQH<<<H<<<5 HQQQHHQHnnQQQHHQH QH<<HH-Z]}--5<5-/5---(((- 5/-/55(-/5/-((##((5Z^}@<@<@<@<@5:555-5-5/5/5/<5<5<52 \ kkOwz)IvvRbo=WShUJ-4dhDsNSW) I Zf}i)i) IiIiIi) ) ) ) )iIiIiI )i)i I )YY/!/!/!/!/!/!/!/!/!!/@>@>@>m7"]iq ^!9PZg}]KSUYPjjhKIǯo//&!*-&#.+&%*)$'*/$!*-$#zx_B00'g$7jq V Tpx%,qo29@cv:8uwZh}=?wZZl0[X{M9-!HnL;nnnnnnn;LnnL;nnnnnn;LnnL;nnnZi}nn;LnnL;nnnn;LnnL;nnnn;LnnL;nnnn;LnnL;nZj}nn;LnnL;nn;LnnL;nn;LnnL;nn;LnZk}nL;n;LnnL;Ln0Ole"/~L`i.#R`vu% dtdD#RJJL.Zl}uܣ.hbȷ:EF@ifl{<~@?j-nW(}w2bhЯ"KJ>eA@mM b;;dXźxZR9IĮ|DZm}_\a B6BBƋ-/&$%,2R[IjONgelnofxO3d,B"!~Umo&(+VTwn\)bZn}F&gϏ')')')')')')'Zo})')')')')''׫̪UiqiUUUM+kT::33= (335"$ %? 855> &!4= ==<>Zp}>>*> # "" ++6>>>>>>>|j*? 99R7NN:UU&C&&GG!T:T--H.H-N::;;m{ttv` ) /pl`{6C77Y6AA&T1T ZZ.AA L O:HHZq}.\5P>Z))33333?J9X33333333mu`|[2H%JJ>X*E((2:((svrcZr}&H,,K9\=II.\9M77C,,M!MM+D6Q>J>[55`l cvkinn diifdyuuuP%W8H---- xxurrggzsttssraa`{ ll zztztZs}ttttt];;B-XX/N TT OO$J%RR!U==\>Q$PP$L))M(E*&T1P44@(MM>[8W9]]5Z(A;T:N/CC0S!N"NNNNNNa  0UR$AA'H:]2F2W99X:U TT3A$A5OO)F44D6Y>LZt}-@-H:II>V99Z5Q4PP`wagq{{_:W8866kli ~`` =X_)LL/Z..C6E$\\:H'JJ>V?LL(M OOCC!T TMZu}JJ+E!!U=T''N==J"[["M88Y+N 'SS?V%Q4Z3]::X=\)]4R'KK&S I**L>Q<< i~ y dv$ 9 22<2<<8 > ,+1<66?? /2Zv}2222222UU33* ecaq"lEldL3GAZ=`oͷ u+6hr)OvvRҌb%5t 99Zw}+%.% " C`>m2 l2 l2 lA^GA818yfy28FGm41;1H\7Pt4Zx}&68Pt[tTq_{V>LSJL=<08<<=231ϲɳ˽Ȼɹ׺ѻӵгҲZz}Nh#6F/;Kx| E4|ԥ ._1Y} G7z\-. [xzӟ\AT$`,f( aen/2~?bhkZ{}njrp`\jkjjE8~WWmKwoqwP,t8{:}dl g%}[g}BRY@Gx66tlSTkQZ|}nbBnL 9QWqvPWqy+@99:P-g "fD66Z}k{p6<81``b >`>c>p8p0~  0`@>gksc>8<>>`` c>ffZ}f?~c>`cc>~ >c>cc>>c>>0 ~~`0 0`<f 6Z}6c{~c~cc~>c``c>|ccf|``~``>c`oc>cccc<<c>gxxlfcp001ckkcccs{ogcZ}>cc>~cc~``>ccn;~cc~lg>`>c>~ccc>ccc6ckkwcc66ccfff< 0` >cc>Z}ks{ogc 0`>c``c>xӠe eÍ  0G  L` Z}ίή쭯 ͱкͰгP) L   ԍБ  ίή㭯ޥͱͰL=өZ}X```=U&P,g,kҩ 018pȄ᩠ҩ}ªZ}ŠQ ԍХ ܩȹȹȹȌ LL}pppppppppppppGAZ}X