Olete.in
Articles
Mock Tests
🧪 JSF MCQ Quiz Hub
JSF MCQ
Choose a topic to test your knowledge and improve your JSF skills
1. What is the full form of JSF?
JavaScript Framework
JavaServer Faces
JavaServer Facility
None of the above
2. What are the features of JSF?
Component-Based Framework
Support HTML5 & Internationalization
Ease and Rapid Web Development.
All of the above
3. What are the requirements for using integrated JSF using JDBC?
PostgreSQLJDBC4 Driver
PostgreSQL 9.1
Both A & B
None of the above
4. Which of the following scripting of JSP not putting content into service method of the converted servlet?
Declarations
Scriptlets
Expressions
None of the above
5. Which of the following scripting of JSP not putting content into service method of the converted servlet?
Declarations
Scriptlets
Expressions
None of the above
6. Which of the following scripting of JSP not putting content into service method of the converted servlet?
Declarations
Scriptlets
Expressions
None of the above
7. Which of the following scripting of JSP not putting content into service method of the converted servlet?
Declarations
Scriptlets
Expressions
None of the above
8. What is the difference between Servlets and JSP?
syntax
translation
compilation
None of the above
9. Which of the following isn't a jsp directive?
page
include
scriptlet
useBean
10. What is the work of <c:remove > tag?
It removes a item from a list
it removes the data row from the database
It removes a variable from either a specified scope or the first scope where the variable is found
None of the above
11. .......... isn't a directive.
page
export
include
useBean
12. What is the valid scopes in JSP? , , , request, page, context, application request, page, session, global
response
page
session
application
13. DB connections aren't written directly in JSPs, because -
Not a standard J2EE architecture
Load Balancing is not possible
Response is slow
All of the above
14. Which of the following class is instance of pageContext?
javax.servlet.Application
javax.servlet.jsp.PageContext
javax.servlet.ServletConfig javax.
servlet.ServletContext
15. Which of the following is the Default Templating System for JSF? Spring
ReXSL
Spring
Facelets
XUL
16. Which of the following JSF Version Coincides with Java EE 6?
JSF 1.2
JSF 2.0
JSF 2.1
JSF 2.2
17. ........ Creates a Radio Button.
H:selectOneRadio
H:outputLink
H:selectOneMenu
None of the above
18. ................ is Often Used With JSF.
JCL
Ajax
Cobit
JCL
19. JSF 1.0 was released in ........ .
2002
2003
2004
2005
20. A JSF application typically follows ........... in its life.
five steps
six steps
four steps
three steps
21. What is the file extension of JSF?
.jsf ..
js
jvm
None of the above
22. What are the different types of JSF events?
Pre Destroy Application Event
Post Construct Application Event
PreRender View Event
All of the above
Submit