Advanced Java Programming (3160707) MCQs

MCQs of Java Server Faces2.0

Showing 11 to 20 out of 23 Questions
11.
What are the features of PrimeFaces?
(a) Rich UI Components
(b) Ajax Support
(c) Dialog Support
(d) All of these
Answer:

Option (d)

12.
To resolve Facelets views we configure______.
(a) ViewResolver
(b) ViewFacelets
(c) View-resolver
(d) View_Resolver
Answer:

Option (a)

13.
Navigation in traditional JSF applications is handled by?
(a) linking directly linking to a resource
(b) commandLink
(c) invoking an action
(d) all of the mentioned
Answer:

Option (d)

14.
Is it possible to have more than one Faces Configuration File?
(a) No. It will generate config error
(b) Yes, but need to register in config.xhtml
(c) Yes. Just need to register in web.xml
(d) Yes, but need to register in config.x ml
Answer:

Option (c)

15.
Which tag is used to upload a file on the website in JSF?
(a) <h:inputFile>
(b) <h:InputLink>
(c) <h:outputText>
(d) <h:commandButton>
Answer:

Option (a)

16.
What is the Default Templating System for JSF?
(a) Sciptlet
(b) Facelets
(c) Spring
(d) XML
Answer:

Option (b)

17.
Which of the Following JSF Tags Provides an HTML Combo Box?
(a) <h:selectOneMenu>
(b) <h:selectManyCheckbox>
(c) <h:selectOneListbox>
(d) <h:outputFormat>
Answer:

Option (a)

18.
In the MVC Design Pattern, which of the following carries Login and Data?
(a) Model
(b) View
(c) Controller
(d) Both A & B
Answer:

Option (a)

19.
______ Validator Tag is used on a Float Value.
(a) f:validateLongRange
(b) f:validatefloat
(c) f:validateDoubleRange
(d) f:validateRegex
Answer:

Option (c)

20.
_____ JSF Version Coincides with Java EE 6.
(a) JSF 1.2
(b) JSF 2.0
(c) JSF 2.1
(d) JSF 2.2
Answer:

Option (b)

Showing 11 to 20 out of 23 Questions