0

programming languages Online Quiz - 284

Description: programming languages Online Quiz - 284
Number of Questions: 20
Created by:
Tags: programming languages
Attempted 0/20 Correct 0 Score 0
  1. Reject the data value with no message box

  2. Accept the data value

  3. Reject the data value but allow focus to change

  4. Reject the data value and show an error message box


Correct Option: C

Which is not a status of a datawindow row?

  1. New!

  2. NewModified!

  3. DataModified!

  4. NonModified!


Correct Option: D

Which is event Accepttext will trigger automatically?

  1. Itemerror

  2. ItemModify

  3. Rowfocuschange

  4. None


Correct Option: A

What is the likely effect of calling a servlet with the POST HTTP method if that servlet does not have a doPost() method?

  1. If the servlet has a doGet() method, it executes that instead.

  2. 404 response code: SC_NOT_FOUND.

  3. 405 response code: SC_METHOD_NOT_ALLOWED.

  4. 500 response code: SC_INTERNAL_SERVER_ERROR.

  5. 501 response code: SC_NOT_IMPLEMENTED.


Correct Option: C

What is the maximum number of parameter values that can be forwarded to the servlet from the following HTML form? (Choose one.)

Chapter 1 Question 9

Java C# C C++ Pascal Ada

  1. 2

  2. 3

  3. 4

  4. 5

  5. 6

  6. 7


Correct Option: F

What request header must be set for parameter data to be decoded from a form?

  1. EncType: application/x-www-urlencoded

  2. Content-Type: application/x-www-form-urlencoded

  3. Content-Type: multipart/form-data

  4. Encoding-Type: multipart/form-data

  5. Accept-Encoding: application/www-form-encoded

  6. Encoding-Type: multipart/www-form-data Request


Correct Option: B

Under which of the following circumstances are servlets most likely to be instantiated?

  1. During web application startup

  2. If there are insufficient instances of the servlet to service incoming requests

  3. On a client first requesting the servlet

  4. At the same time as a different servlet is instantiated, when that different servlet makes use of the servlet in question

  5. After the time specified on an UnavailableException has expired

  6. At some arbitrary point in the web application or application server lifetime


Correct Option: A,C,E,F

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


Correct Option: D

Which one denotes the end of the JOB?

  1. //

  2. //*

  3. /*

  4. END


Correct Option: D

What the JES will do?

  1. Checks for errors.

  2. Schedules the job

  3. Manages the output processing of the job.

  4. All the above


Correct Option: D

What is the Normal DISP position for temporary files?

  1. OLD

  2. PASS

  3. MOD

  4. SHR


Correct Option: B

Continuation of the previous line should begin in the column

  1. 3

  2. Anywhere between 5 to 17

  3. Anywhere between 4 to 16

  4. Anywhere between 1 to 17


Correct Option: C

If the condition in the COND parameter satisfies what will happen?

  1. Step will not execute

  2. Step will abend

  3. Step will execute

  4. S0C7


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