COBOL

 40 Minutes
 20 Questions


This test is designed to assess a candidate's knowledge of the COBOL programming language. It will cover topics such as file handling, program structure, error handling, arrays/tables, and the basics of COBOL. The test will require the candidate to demonstrate their understanding of these topics by answering multiple-choice questions and writing code snippets. The test is intended to evaluate the candidate's ability to use COBOL in a professional setting.


Example Question:

Coding
What is the output of the code snippet below?
MOVE 51 TO WS-FIRST-NUMBER.
MOVE 16 TO WS-SECOND-NUMBER.
MOVE 72 TO WS-THIRD-NUMBER.
IF WS-FIRST-NUMBER > WS-SECOND-NUMBER
IF WS-FIRST-NUMBER > WS-THIRD-NUMBER
DISPLAY ?POINT X?
ELSE
IF WS-SECOND-NUMBER > WS-THIRD-NUMBER
DISPLAY ?POINT Y?
ELSE
DISPLAY ?POINT Z?.