Tag: mainframe

Questions Related to mainframe

  1. Serial Search on sorted table

  2. Binary Search on sorted table

  3. Serial Search on Non sorted table

  4. Binary Search on Non sorted table


Correct Option: B
  1. There is no limit

  2. 1

  3. 2

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


Correct Option: B
  1. Infinite loop

  2. Logical Error

  3. All of the above

  4. None of the abov


Correct Option: D
  1. = 0

  2. >=1

  3. <=0

  4. >=0


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

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

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

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


Correct Option: C

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

What does X ALL command do

  1. Delete all lines

  2. Include all lines

  3. Exclude all lines

  4. Invalid command


Correct Option: C