0

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
  1. true

  2. false

  3. 25

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


Correct Option: B
  1. true

  2. false

  3. catcap

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


Correct Option: A

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

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
  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
  1. SYS1.LINKLIB

  2. SYS1.SOTREPROC

  3. SYS1.CATPROC

  4. SYS1.PROCLIB


Correct Option: A
  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
  1. DISP=NEW,CATLG,CATLG

  2. DISP=OLD,DELETE,CATLG

  3. DISP=NEW,CATLG,DELETE

  4. DISP=OLD,CATLG,CATLG


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

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