Tag: programming languages

Questions Related to programming languages

  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
  1. New!

  2. NewModified!

  3. DataModified!

  4. NonModified!


Correct Option: D
  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
  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
  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
  1. MSGLEVEL=(1,0)

  2. MSGLEVEL=(0,1)

  3. MSGLEVEL=(1,1)

  4. MSGLEVEL=(2,1)


Correct Option: C