0

programming languages Online Quiz - 283

Description: programming languages Online Quiz - 283
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. DISP=NEW,CATLG,CATLG

  2. DISP=OLD,DELETE,CATLG

  3. DISP=NEW,CATLG,DELETE

  4. DISP=OLD,CATLG,CATLG


Correct Option: A

Which keyword allocates the largest available volume for the dataset?

  1. CONTIG

  2. MXIG

  3. ROUND

  4. RLSE


Correct Option: B

What is the maximum number of DD stmt a step can have?

  1. 100

  2. 15

  3. 300

  4. 255


Correct Option: D

Which is the correct statement which will check only for errors?

  1. TYPRUN=COMPILE

  2. TYPRUN=ERRFREE

  3. TYPRUN=HOLD

  4. TYPRUN=SCAN


Correct Option: D

If DISP parameter is not coded in the DD statement that what is the default value?

  1. DISP=OLD,DELETE,KEEP

  2. DISP=OLD,KEEP,KEEP

  3. DISP=NEW,DELETE,DELETE

  4. DISP=SHR,KEEP,DELETE


Correct Option: C

STEP1 EXEC PGM=P1 STEP2 EXEC PGM=P2,COND=EVEN STEP3 EXEC PGM=P3,COND=((8,LE,STEP1),ONLY) If the condition code of the step1 is 4 and the step2 was abended then which statement is correct.

  1. step1, step2 and step3 will execute

  2. only step1 and step3 will execute

  3. only step1 and step2 will execute

  4. only step1 will execute


Correct Option: A

Which one of the following is used to pass input to the COBOL program?

  1. INPUT

  2. PARM

  3. SYSOUT

  4. COND


Correct Option: B

What does the cursor attribute ‘%rowcount’ do?

  1. Check whether cursor has fetched any row

  2. Check whether cursor has not fetched any row.

  3. Check the number of rows returned by the cursor

  4. Both A and C


Correct Option: C

What are the types of cursors available in plsql?

  1. user defined

  2. implied

  3. implicit and explicit

  4. Implied and user defined


Correct Option: C
  1. open cursor; ---some statements close;

  2. open cursor; fetch into variables; ---some statements close cursor;

  3. open cursor; fetch into variables; ---some statements close;

  4. All of the above


Correct Option: B

In which property does a NUMBER datatype differs from a PLS_INTEGER datatype

  1. Padding

  2. Length

  3. Storage

  4. All of the above


Correct Option: C
  1. In compiled form

  2. As source code

  3. Both A and B

  4. None of the above


Correct Option: C

The default mode of parameters that can be passes to a procedure?

  1. IN

  2. OUT

  3. OUTIN

  4. INOUT


Correct Option: A

What are the modes of parameters that can be passes to a procedure?

  1. IN

  2. IN, OUT

  3. IN, OUT,INOUT

  4. IN, OUT, INOUT , OUTIN


Correct Option: C
- Hide questions