Skip to main content

Web Design and Development MCQs with Answers

Practice important Web Design and Development MCQs with answers and explanations.

Multiple Choice Questions

Q661: Which feature is provided by JSF but not by Struts according to the content?
  • A: Validation framework
  • B: UI components
  • C: MVC model
  • D: Data binding
View Answer
B

Q662: Which JSF component attribute specifies the method to be called when an event is triggered?
  • A: actionListener
  • B: methodListener
  • C: eventListener
  • D: actionEvent
View Answer
A

Q663: What type of model does JSF provide that eases event handling and component rendering?
  • A: MVC
  • B: Structured
  • C: Component
  • D: Event-driven
View Answer
C

Q664: Which JSF validator is used to ensure the length of a component's local value?
  • A: DoubleRangeValidator
  • B: LengthValidator
  • C: LongRangeValidator
  • D: StringLengthValidator
View Answer
B

Q665: What is the function of a managed bean in JSF?
  • A: Hold data from JSF components
  • B: Validate input values
  • C: Manage page navigation
  • D: Handle events
View Answer
A

Q666: What is the scope of a managed bean defined in the configuration file in JSF?
  • A: Request
  • B: Session
  • C: Application
  • D: View
View Answer
B

Q667: How are binding expressions delimited in JSF?
  • A: ${}
  • B: #{}
  • C: %%
  • D: &&
View Answer
B

Q668: What does JSF's value binding expression typically represent?
  • A: Accessor method
  • B: Activation method
  • C: Event listener
  • D: UI component
View Answer
A

Q669: What type of method is represented by a method binding in JSF?
  • A: Accessor method
  • B: Activation method
  • C: Validator method
  • D: Event listener
View Answer
B

Q670: Which of the following is a built-in JSF validator?
  • A: NumberValidator
  • B: DoubleRangeValidator
  • C: StringValidator
  • D: PatternValidator
View Answer
B

Test Your Knowledge

Take a timed quiz on Web Design and Development

🚀 Start Quiz Now