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

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