Sample Q&A Database Q&A creates an index of each database the first time it is used. The index will have the same base name as the database but with an extension of ".X". For this sample database, the name of the index will be "sample.x". This database contains questions and answers about Q&A. Q= Fill-in: Q&A requires a maximum of _____ bytes of memory. A= 128K 128000 128,000 Q= Multiple-choice: How many questions and answers can typically be put in a Q&A database? A. 100 B. Limited by disk space C. 3000 D. All of the above E. None of the above A= C Q= Multiple-choice: How does Q&A determine the correct answer? 1. It knows the answers 2. By scanning the list of answers in the database and scoring "correct" if your answer matches any of these. 3. By reading your mind A= 2 Q= Multiple-choice: What will Q&A do if my question won't fit in the 15 screen lines provided? 1. Crash 2. Truncate the question 3. Display the question in 'pages' A= 2 Q= True/False Can I skip questions without answering them and come back to them later? A= False F No N Q= Multiple-choice: How does Q&A locate my database? 1. It searches the whole disk 2. It searches the current directory 3. It searches the directory specified by the "File/Directory" option A= 3 Q= Multiple-choice: How does Q&A locate its support files (help file, help index) ? 1. It searches the whole disk 2. It searches the current directory 3. It searches the directory specified by the "File/Directory" option 4. It searches all of the directories given by the PATH variable in the DOS environment 5. Both 2 and 4 above 6. All of the above A= 5. It searches the current directory and then the PATH. 5 Q= True/False The database index (sample.x) can be in its own directory apart from the database itself. A= False F No N Q= True/False The name of the database must end with ".Q&A". A= False F No N Q= Multiple-choice: The number of correct answers that I can give for a question is A. Two B. Five C. Unlimited D. Limited by available memory A= Limited by available memory D Q= True/False Can Q&A handle an essay question? A= False F No N Q= Multiple-choice: Which of the answers given in the database does Q&A display as correct if I answer incorrectly? 1. All of them 2. The last one 3. The first one A= First 3 Q= True/False Does Q&A regard case ("A/a") in an answer as significant? A= No N False F Q= Multiple-choice: What will Q&A do if I put tabs in my database? 1. It will crash 2. It will expand them using 8-column tab stops 3. It will convert them to blanks A= 2 Q= Multiple-choice: How does Q&A locate the question/answer tags (Q=, A=) in the database? 1. It looks at the first character of each line 2. It looks for those characters alone on a line 3. It assumes 7-line spacing A= 2 Q= True/False Is Q&A public domain? A= Yes Y True T Q= Multiple-choice What if I want to change the database file? 1. You may change it any time you wish 2. You must erase the index file 3. You cannot change the database A= 2