Cobol(Engineering > Computer Science And Engineering ) Questions and Answers
Question 1. Rewrite verb is used to update the records. A file should be opened in I-O mode for rewrite operations. It can be used even if a read operation is not successful. Is this statement true or false?
True
False
All the above
None
Explanation:-
Answer: Option B. -> False
Question 2. About the MERGE verb, which one of the following is true.
Can merge a maximum of three files
Does not require that the input file to be merged be sorted on the merge keys
Requires that all files mentioned in the statement must have records of same size
Does not require that the position of the merge keys with in the records descriptions of each of the files must be same
Explanation:-
Answer: Option C. -> Requires that all files mentioned in the statement must have records of same size
Question 3. How many bytes will a S9(8) COMP field occupy?
8 bytes
4 bytes
2 bytes
5 bytes
Explanation:-
Answer: Option B. -> 4 bytes
Question 4. The Logical Name of the File will be assigned to
DD Name
Step Name
Job Name
Joblib
Explanation:-
Answer: Option A. -> DD Name
Question 5. Indicate in which of the following, the REPORT NAME does not appear
RD entry
INITIATE statement
SELECT clause
TERMINATE statement
Explanation:-
Answer: Option C. -> SELECT clause
Question 6. Indicate which of the following is not a Procedure Division verb
Rewrite
Insert
Delete
Start
Explanation:-
Answer: Option B. -> Insert
Question 7. Object Oriented languages:
Are procedural languages
Are task oriented
Are based on actions happening to objects
Are natural language techniques
Explanation:-
Answer: Option C. -> Are based on actions happening to objects
Question 8. A storage device which is used to store data & information external to the main storage is known as?
Buffer
Backing storage
PROM
Accumulator
Explanation:-
Answer: Option B. -> Backing storage
Question 9. Pic 9v99 is a _______ position numeric field with an implied or assumed decimal point after the first position.
One
Two
Three
Four
Explanation:-
Answer: Option C. -> Three
Question 10. What is the mode in which you will OPEN a file for writing?