0

mainframe Online Quiz - 135

Description: mainframe Online Quiz - 135
Number of Questions: 20
Created by:
Tags: mainframe
Attempted 0/20 Correct 0 Score 0

What is the full form of "COBOL".

  1. COmmon Business Oriented Language

  2. Common OBservation Official Language

  3. COmputer Basic Operating Language

  4. None of the above


Correct Option: A

There are 4 divisions in a cobol program. Which of the following is not one of them?

  1. Identification Division

  2. Linkage Division

  3. Data Division

  4. Procedure Division


Correct Option: B

Cobol is self-documenting.

  1. True

  2. False


Correct Option: A

On a cobol coding form what was the meaning of an asterisk in column 7?

  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

Condition names are names associated with a field that take on a true/false status depending on whether their value is equal to the field value. They are indicated by a level number of what?

  1. 05

  2. 66

  3. 77

  4. 88


Correct Option: D

Which of the following errors are possible within a COBOL if statement?

  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

A = 0, B = 9….. Perform until a > b Add 2 to a End-perform How many additions are performed?

  1. 3

  2. 4

  3. 5

  4. 6


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

Not negative means

  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

Which is the correct ASCII collating sequence?

  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

You store date as YYYYMMDD in 8 bytes. What is the COBOL definition of this field?

  1. Pic Y(4)M(2)D(2)

  2. Pic date(yyyymmdd)

  3. Pic date(8)

  4. Pic X(8)


Correct Option: D

What allocates datasets for all the steps before the job is scheduled & What allocates datasets required by a step just before the step executes?

  1. JES 2 & JES 2

  2. JES 2 & JES 3

  3. JES 3 & JES 2

  4. JES 3 & JES 3


Correct Option: C
- Hide questions