Tag: mainframe

Questions Related to mainframe

  1. Application Architecture

  2. Application Access

  3. Application Action

  4. Application Answer


Correct Option: A

How many comparisons can a single COBOL if statement make? (A single comparison would be is MYVALUE > 7, for example)

  1. 1

  2. 2

  3. There is no limit

  4. COBOL if statements are not used to compare variable values


Correct Option: A
  1. Infinite loop

  2. Logical Error

  3. Runtime Error

  4. All of the above

  5. None of the above


Correct Option: D
  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
  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
  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