In order to learn which questions have been answered correctly: 1. Print these pages. 2. Answer the questions. 3. Send this assessment with the answers via: a. FAX to (212) 967-3498. Or b. Mail the answers to the following address: Client contact: SYS-ED PO Box 1213 New York, NY 10156 Name: Company: Address: City, State, Zip: Phone Number: Fax Number: E-mail: COMPUTER EDUCATION TECHNIQUES, INC. (COBOL_QUIZ- 4.8) SA: Page 1
1. Most programs written today are coded in machine and assembly languages. 2. COBOL is an example of a high level programming language. 3. A COBOL program always contains fewer source statements than the corresponding program in machine language. 4. No new compiler has been introduced since the 1968 ANSI COBOL compiler. 5. 1,000 is a valid numeric literal. 6. All elementary items have a picture clause. 7. PIC 9(5) and PIC 99999 are equivalent. 8. There are 4 divisions in a COBOL program. 9. A record contains one or more fields. 10. Fields which are never referenced in a program must be given unique names. 11. Fields defined in WORKING-STORAGE can be given initial values. 12. STATE-TAX% is a valid field name. COMPUTER EDUCATION TECHNIQUES, INC. (COBOL_QUIZ- 4.8) SA: Page 2
13. A division header entry must begin in Area A. 14. Record names are defined in the ENVIRONMENT DIVISION. 15. Reserved words may be used as field names. 16. The WORKING-STORAGE SECTION describes internal data. 17. Which sequence correctly describes the phases in any data processing application? a. processing/input/output b. input/processing/output c. input/output/processing 18. In the format notation of COBOL statements, which symbol is used to indicate a required choice among several items? a. brackets [] b. braces {} c. parentheses () 19. In the format notation of COBOL statements, which symbol is used to indicate optional items? a. brackets [] b. braces {} c. parentheses () 20. The following set of characters can be used in forming field names: a. 0 through 9, or A through Z, only b. 0 through 9, A through Z, or the hyphen ( ) c. 0 through 9, A through Z, or any special character 21. An alphanumeric PICTURE clause is indicated by the following symbol: a. A b. X c. AN 22. A numeric PICTURE clause is indicated by the following symbol: a. 9 b. N c. NUM COMPUTER EDUCATION TECHNIQUES, INC. (COBOL_QUIZ- 4.8) SA: Page 3
23. Which is not a correct non-numeric literal: a. $3,000 b. SPACES c. WENTWORTH S 24. A binary data item is indicated by a USAGE clause of: a. COMP b. COMP 3 c. COMP 4 25. A packed data item is indicated by a USAGE clause of: a. COMP b. COMP 3 c. COMP 4 26. ZEROES, SPACES, HIGH VALUES and LOW VALUES are examples of: a. Nonnumeric literals b. Special characters c. Figurative constants 27. A field with a PIC of S9(4)V99 takes up: a. 8 bytes b. 7 bytes c. 6 bytes 28. PROGRAM-ID paragraph would be placed in which one of the following divisions: 29. A FILE-CONTROL paragraph would be placed in which one of the following divisions: 30. FD s would be placed in which one of the following divisions: 31. A READ statement would be placed in which one of the following divisions: COMPUTER EDUCATION TECHNIQUES, INC. (COBOL_QUIZ- 4.8) SA: Page 4
32. Level numbers would be placed in which one of the following divisions: 33. VALUE clauses would be placed in which one of the following divisions: 34. An INPUT-OUTPUT SECTION would be placed in which one of the following divisions: 35. SELECT statements would be placed in which one of the following divisions: COMPUTER EDUCATION TECHNIQUES, INC. (COBOL_QUIZ- 4.8) SA: Page 5