0

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 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

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

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 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 marks the beginning of one or more program control statements?

  1. JOB

  2. EXEC

  3. PROC

  4. PEND

  5. CNTL


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

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 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
  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

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
- Hide questions