You are on page 1of 5

1.

To develop commercial applications that require precise and efficient


manipulation of data, we use
1. COBOL
2. Pascal
3. FORTRAN
4. Ada
Answer: COBOL
2. The following statement WRITE OUT-REC. Which one of the following modes of
operating the Sequential file is not true
1. OPEN OUTPUT
2. OPEN INPUT
3. OPEN INPUT-OUTPUT
4. OPEN EXTEND
Answer: OPEN INPUT
3. Select statement which is used to block the COBOL statements between them
1. IN-LINE PERFORM Statement
2. PERFORM and END-PERFORM statements
3. PERFORM and PERFORM-END statements
4. OUT-LINE PERFORM Statement
Answer: PERFORM and END-PERFORM statements
4. What does COBOL stands for?
1. Common Oriented Business Language
2. Common Business Object Language
3. Common Business Oriented Language
4. Common Object Business Language
Answer: Common Business Oriented Language
5. How many bytes will a S9(8) COMP field occupy?
1. 2 bytes
2. 4 bytes
3. 5 bytes
4. 8 bytes
Answer: 4 bytes
6. The Max length of Parm Parameter is______
1. 200
2. 100
3. 75
4. None
Answer: 100
7. Which of the following storage and retrieval methods would be well suited to
your processing requirements if you only need to retrieve records one at a time
and there is no fixed pattern to the requests for data and records?
1. direct
2. sequential
3. indexed sectors
4. indexed direct
Answer: indexed direct
8. COBOL ‘Common Business Oriented Language’ was developed in
1. 1950s
2. 1960s
3. 1940s
4. 1970s
Answer: 1950s
9. Select variable which is accessible only to the batch program.
1. Global
2. Internal
3. Local
4. External
Answer: Global
10. What are the different file open modes in COBOL?
1. INPUT, I-O
2. INPUT, I-O
3. INPUT, I-O, OUTPUT, EXTEND
4. INPUT, I-O
Answer: INPUT, I-O
11. Which of the following is not a figurative constant?
1. QUOTE
2. BLANK
3. LOW-VALUE
4. SPACES
Answer: BLANK
12. Consider the following program.
PERFORM 10 TIMES
IF A=B
NEXT SENTENCE
ELSE
DISPLAY B
END-IF
END-PERFORM.
If after 5th iteration A becomes equal to B then what happens
1. It will do the 6th iteration
2. It will come out of the perform loop
3. Program will go into a loop
4. It will come out of the if loop and do the 6th iteration
Answer: It will come out of the perform loop
13. How records are stored & accessed in relative file organization?
1. Relative address
2. Directly
3. Sequentially
4. None
Answer: Relative address
14. A storage device which is used to store data & information external to the main
storage is known as?
1. Backing storage
2. Buffer
3. Accumulator
4. PROM
Answer: Backing storage
15. The ___ cobol verb is used while updating a file
1. Write
2. Read
3. Update
4. Rewrite
Answer: Rewrite
16. Indicate which of the following statement is not allowed when a relative file is
opened in I-O mode and access is RANDOM
1. WRITE
2. REWRITE
3. READ
4. START
Answer: REWRITE
17. To update an indexed record we use a __________ statement.
1. Write
2. Update
3. Read
4. Rewrite
Answer: Rewrite
18. Select single precision floating point in the COBOL
1. COMP-2
2. COMP-4
3. COMP-1
4. COMP-3
Answer: COMP-1
19. What is the edited value of the picture clause PIC field 9999+ Numeric value
moved to the field -382 and the Edited value is
1. 3820-
2. 0382-
3. -0003
4. -0038
Answer: 0382-
20. Indicate which of the following is not a PROCEDURE DIVISION verb
1. INSERT
2. DELETE
3. REWRITE
4. START
Answer: INSERT
21. In ___ organization the records are stored in contiguous allocation.
1. Indexed
2. Sequential
3. Relative
4. None
Answer: Sequential
22. What is file status 92?
1. It is a logical error, file is opened for input and attempt is made to write
it
2. It is not an logical error
3. It is a logical error
4. It is a logical error, It is not file related error
Answer:
23. About the MERGE verb, which one of the following is true.
1. Does not require that the input file to be merged be sorted on the
merge keys
2. Can merge a maximum of three files
3. Requires that all files mentioned in the statement must have records of
same size
4. Does not require that the position of the merge keys with in the
records descriptions of each of the files must be same.
Answer: Requires that all files mentioned in the statement must have records of
same size
24. Indicate in which of the following, the REPORT NAME does not appear
1. INITIATE statement
2. RD entry
3. SELECT clause
4. TERMINATE statement
Answer: SELECT clause
25. Which division is used to specify the computer used by the program.
1. Environment Division
2. Data Division
3. Identification Division
4. Procedure Division
Answer: Environment Division
26. The Applications Name always appear in the ________
1. Intermediate Window
2. Properties Window
3. Title Bar
4. Code Window
Answer: Title Bar
27. Controls are_________
1. Rules
2. Part of the menu
3. Code
4. Object
Answer: Objects
28. IDE Is_________
1. A Development Environment for Machine Language
2. An Integrated Development Environment Tool
3. Independent Development Enterprise
4. A Software Management Tool
Answer: An Integrated Development Environment Tool
29. Which of the following is not part of the IDE_
1. Form Layout Window
2. Code Editor Window
3. General Window
4. Properties Window
Answer: General Window
30. Event-Driven Languages are__________
1. OOP
2. FORTRAN Based
3. Designed to make programming GUI Easier
4. Are use to write procedural language
Answer: Designed to make programming GUI Easier

You might also like