0

web technology Online Quiz - 180

Description: web technology Online Quiz - 180
Number of Questions: 20
Created by:
Tags: web technology
Attempted 0/20 Correct 0 Score 0

Number of request processor instances in a Struts application is

  1. One per application

  2. One per request

  3. One per module

  4. One per Action Servlet


Correct Option: C

The Struts 1 ActionServlet is based on the Design Pattern

  1. Intercepting Filter

  2. Front Controller

  3. Single Controller

  4. None of the above


Correct Option: B
  1. ActionMappings

  2. ActionForm

  3. ServletRequest

  4. ServletResponse

  5. All of the above


Correct Option: A,B
  1. Globals.LOCALE_ID

  2. Commons.LOCALE_ID

  3. Globals.LOCALE_KEY

  4. Constants.LOCALE_KEY


Correct Option: C
  1. ActionError

  2. ActionMessage

  3. ErrorMessage

  4. ActionErrors


Correct Option: B
  1. One per request

  2. One per module

  3. One per session

  4. One per application


Correct Option: D

Name the attribute of the tag, which is used specify the action class?

  1. Name

  2. Type

  3. Action

  4. Class


Correct Option: B

The following tag is used to define a custom request processor?


Correct Option: B

Which of the following statements are true with respect to Struts-Config.xml?

  1. The name attribute of action tag, specifies the action name

  2. Only one controller can be defined for a module in struts application

  3. Struts configuration files should be placed only inside WEB-INF folder or its sub folders

  4. The tag can be used to forward user to a specific view in case of an exception.


Correct Option: B,D
  1. #GGRRBB

  2. #RRBBGG

  3. #RRGGBB

  4. #BBRRGG


Correct Option: C
Explanation:

To solve this question, the user needs to know the format of the Hex color code and the order of values it represents.

The Hex color code is a 6-digit representation of Red, Green, and Blue (RGB) values of a color. Each pair of digits represents the intensity of Red, Green, and Blue, respectively. The first two digits represent the intensity of Red, the second two digits represent Green, and the last two digits represent Blue.

Going through each option:

A. #GGRRBB: This option is incorrect because it has a different order of values than the Hex color code. The correct order is #RRGGBB, where RR represents the intensity of Red, GG represents the intensity of Green, and BB represents the intensity of Blue.

B. #RRBBGG: This option is incorrect because it has a different order of values than the Hex color code. The correct order is #RRGGBB, where RR represents the intensity of Red, GG represents the intensity of Green, and BB represents the intensity of Blue.

C. #RRGGBB: This option is correct. The order of values in the Hex color code is #RRGGBB, where RR represents the intensity of Red, GG represents the intensity of Green, and BB represents the intensity of Blue. In this case, FF represents the maximum intensity of Red, 99 represents the intensity of Green, and 66 represents the intensity of Blue.

D. #BBRRGG: This option is incorrect because it has a different order of values than the Hex color code. The correct order is #RRGGBB, where RR represents the intensity of Red, GG represents the intensity of Green, and BB represents the intensity of Blue.

Therefore, the correct answer is:

The Answer is: C. #RRGGBB

  1. Text fields except text show as asterix

  2. Text areas except text show as asterix

  3. hidden fields except text show as asterix

  4. none of the above


Correct Option: A

Which is NOT a predefined target for links

  1. _top

  2. _blank

  3. _son

  4. _parent


Correct Option: C
  1. What the answer should be

  2. What will appear in the field as the default value

  3. The value to be saved as the input

  4. none of the above


Correct Option: B
  1. 1x1 pixel transparent image

  2. width and height

  3. hieght and breadth

  4. both 2&3


Correct Option: A
  1. Table settings

  2. Cell settings

  3. both 1&2

  4. None


Correct Option: B

Settings for columns( tag) have higher priority than settings for rows( tag).

  1. True

  2. False


Correct Option: A
- Hide questions