JSF/JSF MCQ Sample Test,Sample questions

Question:
 ................ is Often Used With JSF.

1. JCL

2. Ajax

3.Cobit

4.JCL


Question:
 What are the different types of JSF events?

1. Pre Destroy Application Event

2.Post Construct Application Event

3.PreRender View Event

4. All of the above


Question:
 What is the full form of JSF?

1. JavaScript Framework

2.JavaServer Faces

3. JavaServer Facility

4.None of the above


Question:
 What is the work of <c:remove > tag?

1. It removes a item from a list

2.it removes the data row from the database

3. It removes a variable from either a specified scope or the first scope where the variable is found

4.None of the above


Question:
 Which of the following is the Default Templating System for JSF?
 Spring

1. ReXSL

2.Spring

3.Facelets

4.XUL


Question:
 Which of the following isn't a jsp directive?

1. page

2.include

3.scriptlet

4.useBean


Question:
........ Creates a Radio Button.

1. H:selectOneRadio

2.H:outputLink

3. H:selectOneMenu

4.None of the above


Question:
.......... isn't a directive.

1.page

2.export

3.include

4.useBean


Question:
A JSF application typically follows ........... in its life.

1. five steps

2.six steps

3. four steps

4. three steps


Question:
DB connections aren't written directly in JSPs, because -

1. Not a standard J2EE architecture

2.Load Balancing is not possible

3.Response is slow

4. All of the above


Question:
JSF 1.0 was released in ........ .

1. 2002

2.2003

3.2004

4.2005


Question:
What are the features of JSF?

1. Component-Based Framework

2.Support HTML5 & Internationalization

3.Ease and Rapid Web Development.

4. All of the above


Question:
What are the requirements for using integrated JSF using JDBC?

1. PostgreSQLJDBC4 Driver

2.PostgreSQL 9.1

3. Both A & B

4. None of the above


Question:
What is the difference between Servlets and JSP?

1. syntax

2.translation

3.compilation

4.None of the above


Question:
What is the file extension of JSF?

1. .jsf ..

2.js

3.jvm

4.None of the above


Question:
What is the valid scopes in JSP?
 , , , 
 request, page, context, application
 request, page, session, global

1.response

2.page

3.session

4.application


Question:
Which of the following class is instance of pageContext?

1. javax.servlet.Application

2. javax.servlet.jsp.PageContext

3. javax.servlet.ServletConfig javax.

4.servlet.ServletContext


Question:
Which of the following JSF Version Coincides with Java EE 6?

1. JSF 1.2

2.JSF 2.0

3.JSF 2.1

4. JSF 2.2


Question:
Which of the following scripting of JSP not putting content into service method of the converted servlet?

1. Declarations

2. Scriptlets

3.Expressions

4. None of the above


Question:
Which of the following scripting of JSP not putting content into service method of the converted servlet?

1. Declarations

2. Scriptlets

3.Expressions

4. None of the above


Question:
Which of the following scripting of JSP not putting content into service method of the converted servlet?

1. Declarations

2. Scriptlets

3.Expressions

4. None of the above


Question:
Which of the following scripting of JSP not putting content into service method of the converted servlet?

1. Declarations

2. Scriptlets

3.Expressions

4. None of the above


More MCQS

  1. JSF MCQ
Search
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!