0

mainframe Online Quiz - 68

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

BLANK WHEN ZERO must not be specified for 66 or 88 level variables or signed fields.

  1. True

  2. False


Correct Option: A

Computational fields defined with COMP picture clause cannot be reference modified.

  1. True

  2. False


Correct Option: B

Internal storage used to store S9(n) COMP-3 variable is ____ bytes.

  1. n+1

  2. (n+1)/2

  3. (n+1)/3

  4. n/2 + 1


Correct Option: D

RECORDING MODE FOR QSAM files can be:

  1. F,V

  2. U,S

  3. F,R

  4. F,V,U,R


Correct Option: A,B

Which COBOL division(s) is(are) mandatory in a COBOL program?

  1. Identification Division

  2. Environment Division

  3. Data Division

  4. Procedure Division


Correct Option: A

Which COBOL division(s) is(are) mandatory in a COBOL program?

  1. Identification Division

  2. Environment Division

  3. Data Division

  4. Procedure Division


Correct Option: A

RECORDING MODE FOR QSAM files can be:

  1. F,V

  2. U,S

  3. F,R

  4. F,V,U,R


Correct Option: A,B

Internal storage used to store S9(n) COMP-3 variable is ____ bytes

  1. n+1

  2. (n+1)/2

  3. (n+1)/3

  4. n/2 + 1


Correct Option: D

Computational fields defined with COMP picture clause cannot be reference modified.

  1. True

  2. False


Correct Option: B

BLANK WHEN ZERO must not be specified for 66 or 88 level variables or signed fields.

  1. True

  2. False


Correct Option: A

EJECT is used for creating a new page in the compiler listing.

  1. True

  2. False


Correct Option: A

For successful execution of REWRITE stmt, the direct access file must be opened in _____ mode.

  1. I

  2. O

  3. I-O

  4. O-I


Correct Option: C

Consider the following piece of code: IF NOT INPUT-EOF IF INPUT-REC-TYPE = '55' PERFORM 2100-PROCESS-WTN ELSE NEXT SENTENCE END-IF ADD +1 TO INPUT-COUNT. PERFORM TEST-1 If the value INPUT-REC-TYPE = '00' then what will happen to the value of INPUT-COUNT?

  1. Will not change

  2. 01

  3. 56

  4. Will change


Correct Option: A

For VSAM files, the LABEL RECORDS clause has no effect on the execution of the program.

  1. True

  2. False


Correct Option: A

Computational fields defined with COMP picture clause cannot be reference modified.

  1. True

  2. False


Correct Option: B

Indexes defined for an array cannot be displayed in a COBOL program.

  1. True

  2. False


Correct Option: A

ASCENDING/DESCENDING KEY data item cannot be floating point items.

  1. True

  2. False


Correct Option: A

The result of SEARCH ALL is predictable only when the table is defined with ASCENDING or DESCENDING KEY and the key should uniquely identify an occurrence of the table entry.

  1. True

  2. False


Correct Option: A

Is the following Evaluate clause with no WHEN phrase coded syntactically valid?? (True-YES/False-No) EVALUATE A ALSO B END-EVALUATE.

  1. True

  2. False


Correct Option: B

The file access methods in COBOL are: INPUT and OUTPUT only.

  1. True

  2. False


Correct Option: B
- Hide questions