mainframe Online Quiz - 135

Description: mainframe Online Quiz - 135
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0
  1. COmmon Business Oriented Language

  2. Common OBservation Official Language

  3. COmputer Basic Operating Language

  4. None of the above

Correct Option: A
  1. Identification Division

  2. Linkage Division

  3. Data Division

  4. Procedure Division

Correct Option: B
  1. The last line is continued.

  2. None of the items listed.

  3. A data definition follows.

  4. The line is a comment.

Correct Option: D

User defined names must follow which one of the following rules?

  1. Names must be 10 or less characters.

  2. Names must contain at least 1 alpha character in any position.

  3. Names must be lower case.

  4. Multiple word names must be separated with an underscore.

Correct Option: B
  1. Infinite loop

  2. Logical Error

  3. Runtime Error

  4. All of the above

Correct Option: D

The COBOL perform loop is the equivalent of which of the following structures found in other languages, such as Java or C++

  1. For loop

  2. Do-while loop

  3. method

  4. None of the above

Correct Option: B
  1. Use a standard perform statement

  2. Use an in line perform

  3. Skillful use of the COBOL reserved word "AFTER"

  4. This is not possible in COBOL

Correct Option: C

If an IF statement is true, what’s the first thing it does?

  1. Exits the statement

  2. Executes the function

  3. Exits the Program

  4. Executes the If statement again

Correct Option: B
  1. Equal to 0

  2. Greater than or equal to 1

  3. Less than or equal to 0

  4. Greater than or equal to 0

Correct Option: D

Which of the following is NOT a valid symbol to use in an IF condition

  1. =

  2. =

  3. =>

  4. >

Correct Option: C
  1. spaces, special characters, 0-9, A-Z, a-z

  2. spaces, a-z, A-Z, 0-9, special characters

  3. a-z, A-Z, 0-9, spaces, special characters

  4. 0-9, special characters, spaces, a-z, A-Z

Correct Option: A
  1. Pic Y(4)M(2)D(2)

  2. Pic date(yyyymmdd)

  3. Pic date(8)

  4. Pic X(8)

Correct Option: D
- Hide questions