0
Alien head

programming languages Online Quiz - 242

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

A JSP file uses a tag as . The myTag element here should be defined in the tag library descriptor file in the tag element using which element. Select the one correct answer.

  1. tagname

  2. name

  3. tag

  4. prefix


Correct Option: B

Which of these represent the correct path for the core JSTL library in JSTL version 1.1? Select the one correct answer.


Correct Option: A

Which number gets printed when the following JSTL code fragment is executed? Select the one correct answers.

  1. 1

  2. 2

  3. 3

  4. 4

  5. abc


Correct Option: A

Which numbers gets printed when the following JSTL code fragment is executed? Select the two correct answers.

  1. 2

  2. 3

  3. 4

  4. abc


Correct Option: B,C

Which numbers gets printed when the following JSTL code fragment is executed? Select the two correct answers.

  1. 1

  2. 2

  3. 3

  4. 4

  5. abc


Correct Option: B,C

If DISP=(,CATLG) which is the correct one?

  1. DISP=NEW,CATLG,CATLG

  2. DISP=OLD,DELETE,CATLG

  3. DISP=NEW,CATLG,DELETE

  4. DISP=OLD,CATLG,CATLG


Correct Option: A

How many numbers gets printed when the following JSTL code fragment is executed? Select the one correct answer.

  1. No number gets printed.

  2. One number gets printed.

  3. Two numbers gets printed.

  4. Three numbers gets printed.

  5. Four numbers gets printed.


Correct Option: B

Which library will have the load modules of the IBM utilities?

  1. SYS1.LINKLIB

  2. SYS1.SOTREPROC

  3. SYS1.CATPROC

  4. SYS1.PROCLIB


Correct Option: A

What gets printed when the following JSTL code fragment is executed? Select the one correct answer.

  1. The JSTL code does not compile as an attribute for forEach tag is not correct.

  2. 0

  3. 2

  4. ABC

  5. Nothing gets printed as c.out statement does not get executed.


Correct Option: B

What should be the DD name if we use the IBM utility IEBGENER?

  1. SYSUT1

  2. SYSIN

  3. DD1

  4. SYSPRINT


Correct Option: A

The JSTL code does not compile as attribute for if tag are not correct.

  1. true

  2. false

  3. Nothing gets printed.

  4. Error message printed


Correct Option: B

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 gets printed when the following JSTL code fragment is executed? Select the one correct answer.


Correct Option: D

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

How many numbers are printed, when the following JSTL code fragment is executed? Select the one correct answer. ${item} a)1 b)5 c)6 d)11

  1. 1

  2. 5

  3. 6

  4. 11


Correct Option: C

Which one of the following keyword a PROC cannot have?

  1. EXEC

  2. SYSABEND

  3. JOBLIB

  4. SYSPRINT


Correct Option: C

What is the effect of evaluation of following expression? Select the one correct answer. ${'cat' gt 'cap'}

  1. true

  2. false

  3. catcap

  4. The expression does not compile as gt operator cannot be applied on strings.


Correct Option: A

Which one of the following is used to print the dump of the abended job in an unformatted way?

  1. SYSOUT

  2. SYSABEND

  3. SYSUDUMP

  4. SYSMDUMP


Correct Option: D

What is the effect of evaluation of following expression? Select the one correct answer. ${(5*5) ne 25}

  1. true

  2. false

  3. 25

  4. The expression does not compile as ne is not a valid operator.


Correct Option: B

Which keyword allocates the largest available volume for the dataset?

  1. CONTIG

  2. MXIG

  3. ROUND

  4. RLSE


Correct Option: B
+ View questions