0
Alien head

programming languages Online Quiz - 247

Description: programming languages Online Quiz - 247
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0

What is the conventional DD name assigned to input data streams?

  1. SYSPRINT

  2. SYSIN

  3. SYSUT1

  4. SYSOUT


Correct Option: C

With the condition parameter defined as COND – ((4, GE), (9, LT)) which of the return codes will execute the subsequent step

  1. 4

  2. 9

  3. 10

  4. 11

  5. none of the above


Correct Option: B

Which of the following Utilities is used to create GDG Index?

  1. IEBGENER

  2. IDCAMS

  3. IEFBR14

  4. INDEX

  5. None of the above


Correct Option: B

XML allows the author to define his own tags and his own document structure

  1. True

  2. False


Correct Option: A

10) If the DISP is specified as (NEW, CATLG, KEEP), what happens on abnormal termination of the job? (a) (b) (c) (d)

  1. The system retains and catalogs the dataset

  2. the system catalogs the dataset

  3. the system retains the dataset

  4. none of the above


Correct Option: C

If the status field of the DISP parameter is specified as NEW, what are the default values that will be assigned to the dataset at the normal and abnormal termination of the job?

  1. CATLG, DELETE

  2. DELETE, DELETE

  3. CATLG, CATLG

  4. DELETE, CATLG

  5. KEEP, KEEP


Correct Option: B

If the status field of the DISP parameter is specified as SHR, what are the default values that will be assigned to the dataset at the normal and abnormal termination of the job?

  1. CATLG, DELETE

  2. DELETE, DELETE

  3. CATLG, CATLG

  4. DELETE, CATLG

  5. KEEP, KEEP


Correct Option: E

If the status field of the DISP parameter is specified as OLD, what are the default values that will be assigned to the dataset at the normal and abnormal termination of the job?

  1. CATLG, DELETE

  2. DELETE,DELETE

  3. CATLG, CATLG

  4. DELETE, CATLG

  5. KEEP, KEEP


Correct Option: E

If the Status field of the DISP Parameter is left out, it is defaulted to which of the following?

  1. NEW

  2. SHR

  3. OLD

  4. KEEP

  5. None of the above


Correct Option: A

Which statement marks the beginning of one or more program control statements?

  1. JOB

  2. EXEC

  3. PROC

  4. PEND

  5. CNTL


Correct Option: E

Which statement marks the beginning of an in-stream procedure and assigns default values to parameters defined in the procedure?

  1. JOB

  2. EXEC

  3. PROC

  4. PEND

  5. None of the above


Correct Option: C

Which statement marks the end of an in-stream or cataloged procedure?

  1. JOB

  2. EXEC

  3. PROC

  4. PEND

  5. None of the above


Correct Option: D

Which statement is used to mark the beginning of a job step, to assign a name to the step and to identify the program or procedure to be executed in the step?

  1. JOB

  2. EXEC

  3. STEP

  4. PROC

  5. None of the above


Correct Option: B

Which statement is used to mark the beginning of a job and assign a name to the job?

  1. JOB

  2. EXEC

  3. STEP

  4. PROC

  5. None of the above


Correct Option: A

Which of the following is not a wrapper class?

  1. String

  2. Integer

  3. Boolean

  4. Character


Correct Option: A

Which of the following classes is used to perform basic console I/O?

  1. System

  2. SecurityManager

  3. Math

  4. Runtime


Correct Option: A

Which of the option correctly describes the comments in java 1) // -- single line comment 2) /* -- / multiple line comment 3) /* -- */ documentation

  1. 1,2

  2. 2,3

  3. 3,1

  4. 1,2,3


Correct Option: D

The run() method should necessary exists in class created as subclass of thread?

  1. True

  2. False


Correct Option: A

Which of the following are true about the Error and Exception classes?

  1. Both classes extend Throwable.

  2. The Error class is final and the Exception class is not.

  3. The Exception class is final and the Error is not.

  4. Both classes implement Throwable.


Correct Option: A

What is the signature of the constructor of a thread class?

  1. Thread(Runnable threadob,String threadName)

  2. Thread(String threadob, Runnable threadName)

  3. Thread(Runnable threadob,ArrayList threadName)

  4. Thread(ArrayList threadob,String threadName


Correct Option: A
+ View questions