Following quiz provides Multiple Choice Questions (MCQs) related to COBOL Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.
77 level is an elementary level item which cannot be subdivided.
Rewrite verb is used to update the records. File should be opened in I-O mode for rewrite operations. It can be used only after a successful Read operation. Rewrite verb overwrites the last record read.
Q 3 - In which division, Linkage Section comes?
Linkage section comes under data division which is used in called program.
88 level number is used for defining condition name entries.
S9(6) USAGE is COMP will take 4 bytes based on the following formula which is used to calculate when USAGE is COMP :
S9(n) USAGE is COMP
If 'n' = 1 to 4, it takes 2 bytes.
If 'n' = 5 to 9, it takes 4 bytes.
If 'n' = 10 to 18, it takes 8 bytes.
Q 6 - Physical record is the information that exists on the external device and Logical record is the information which is used by the program. Is this statement true or false?
This statement is correct.
Q 7 - How records are stored & accessed in indexed file organization?
An indexed sequential file consists of records that can be accessed sequentially. Direct access is also possible.
Q 8 - Which verb is used to count or replace the characters in a string?
Inspect verb is used to count or replace the characters in a string. String operations can be performed on alphanumeric, numeric, or alphabetic values. Inspect operations are performed from left to right.
Q 9 - Where does Column numbers in COBOL start from?
01-07 are reserved for line numbers.
COMP-1 takes 4 bytes of storage.