0
Alien head

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

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

Name the default value of the scope atribute of .

  1. page

  2. application

  3. session

  4. request


Correct Option: A

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


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

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

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

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

What IBM utility is used to rename a dataset?

  1. IEBCOPY

  2. IEBGENER

  3. IEHPROGM

  4. IEBCOMPR


Correct Option: C

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


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

Which of the following statements are true for . Select the two correct answers.

  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

What is default delimiter for instream data?

  1. /*

  2. //*

  3. */

  4. &&


Correct Option: A

Name the implicit variable available to JSP pages that may be used to access all the other implicit objects.

  1. page

  2. pageContext

  3. context

  4. object

  5. jspPave


Correct Option: B

What is keyword to make the job run for an unlimited time.

  1. TIME=(14,39)

  2. TIME=NOLIMIT

  3. TIME=UNLIMIT

  4. TIME=MAXIMUM


Correct Option: B

In jsp the java bean can not used in below scope

  1. application

  2. session

  3. request

  4. page


Correct Option: C

What is the default value for MSGLEVEL keyword?

  1. MSGLEVEL=(1,0)

  2. MSGLEVEL=(0,1)

  3. MSGLEVEL=(1,1)

  4. MSGLEVEL=(2,1)


Correct Option: C

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

  1. 100

  2. 15

  3. 300

  4. 255


Correct Option: D

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

For getting the dump of user and system areas to the output device when a job terminates, we have to use which parameter?

  1. SYSMDUMP

  2. SYSABEND

  3. SYSUDUMP

  4. Any of the above

  5. None


Correct Option: B

What should be the record length for a variable length file?

  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
+ View questions