0

programming languages Online Quiz - 244

Description: programming languages Online Quiz - 244
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. It should be equal to length for variable length records

  2. It should be equal to four plus the record length for variable length records

  3. It should be a multiple of four plus the record length for variable length records

  4. It should be multiple of variable record length

  5. None


Correct Option: B

To request that the system dump the storage occupied by a failing program, --- DD statement can code in the step to be dumped?

  1. SYSABEND

  2. SYSMDUMP

  3. SYSUDUMP

  4. Any of the above

  5. None


Correct Option: D
  1. MSGLEVEL=(1,0)

  2. MSGLEVEL=(0,1)

  3. MSGLEVEL=(1,1)

  4. MSGLEVEL=(2,1)


Correct Option: C
  1. TIME=(14,39)

  2. TIME=NOLIMIT

  3. TIME=UNLIMIT

  4. TIME=MAXIMUM


Correct Option: B

What is default delimiter for instream data?

  1. /*

  2. //*

  3. */

  4. &&


Correct Option: A
  1. The id attribute must be defined for .

  2. The scope attribute must be defined for .

  3. The class attribute must be defined for .

  4. The must include either type or class attribute or both.


Correct Option: A,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

Which one is the valid statement? 1 SYSIN DD DSN=DUMMY 2 SYSIN DD * 3 SYSIN DD DUMMY 4 SYSIN DD DSN=NULLFILE

  1. ALL THE ABOVE

  2. ONLY 1 AND 2

  3. ONLY 2 AND 4

  4. ONLY 2, 3 AND 4

  5. ONLY 2


Correct Option: D

A bean with a property color is loaded using the following statement Which of the following statements may be used to set the of color property of the bean. Select the one correct answer.


Correct Option: E

A bean with a property color is loaded using the following statement What happens when the following statement is executed. Select the one correct answer.

  1. This is incorrect syntax of and will generate a compilation error. Either value or param must be defined.

  2. All the properties of the fruit bean are initialized to a value of null.

  3. All the properties of the fruit bean are assigned the values of input parameters of the JSP page that have the same name.

  4. All the properties of the fruit bean are initialized to a value of *.


Correct Option: C

Is the following statement true or false. If the isThreadSafe attribute of the page directive is false, then the generated servlet implements the SingleThreadModel interface.

  1. True

  2. False


Correct Option: A

Which of the following represents a correct syntax for usebean. Select the two correct answers.


Correct Option: B,C
  1. DISP=OLD,DELETE,KEEP

  2. DISP=OLD,KEEP,KEEP

  3. DISP=NEW,DELETE,DELETE

  4. DISP=SHR,KEEP,DELETE


Correct Option: C
- Hide questions