JavaServer Faces Test Assessment

Topics covered

Facelets and XHTML files in JSF 2, Requested Scoped in JSF 2, Session and Application Scoped in JSF 2, Backing Beans

  • MAQ (Multiple Answer Question)
  • MCQ (Multiple Choice Question)
  • Descriptive Question
  • White Board Simulator
  • Coding Simulator
  • Audio Question
  • Video Question
  • Case Study Question

JSF 2 (JavaServer Faces) is the latest updated version of JSF. It is a technology which provides a component-based architecture for developing User Interface Components. It is a Java-based web application framework that intends to simplify development integration of web-based interfaces. This test is specially designed to check application, practical skills of a JSF 2 (JavaServer Faces) developer – as per Industry Standards. Our JSF 2 (JavaServer Faces) skill test is created and validated by Subject Matter Experts. 


Test Topics :

The JSF 2 (JavaServer Faces) Skill test contains questions on following topics: 
 

  • Facelets and XHTML files in JSF 2

  • Requested Scoped in JSF 2

  • Session and Application Scoped in JSF 2

  • Backing Beans 

  • JSF 2 Navigation

  • Implementing Redirection


The JSF test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False. Using powerful reporting, you will have a detailed analysis of test results to help you make better decisions and predict candidate and employee success.

This pre-employment test is useful for hiring:
  • JSF Developer 
  • Java Developer - JSF

Test details:

JSF online test enables employers and recruiters to identify potential hires by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge. 

Test Details: 20 minutes 

15 Application Questions

05 Theory Questions 


The combination of Application and Theory questions helps to evaluate Technical as well as practical Skills of Candidates

JSF Test

Question #1 of 3

Consider the following code:


userBean
com.finance.UserBean
request


How can we simplify the code above to create the Managed Bean: "UserBean"?

    • @Bean(name=”userBean”)
      @RequestScoped
      public class UserBean {…}

    • @Bean(value=”userBean”)
      @RequestScope
      public class UserBean {…}

    • @Named
      @RequestScoped
      public class UserBean {…}

    • @ManagedBean(name=”userBean”)
      @RequestScoped
      public class UserBean {…}

Question #2 of 3

The main page must implement a button on the top of the page to finish and log out the system. Which of the following options implements this logout code in Managed Bean?

    • public String logoutSystem() {
          FacesContext context = FacesContext.getCurrentInstance();
          HttpSession session = (HttpSession) context.getContext().getSession(false);
          session.invalidate();
          return "pageLogin";
      }

    • public String logoutSystem() {
          FacesContext context = FacesContext.getCurrentInstance();
          HttpSession session = (HttpSession) context.getExternalContext().session(false);
          session.invalidate();
          return "pageLogin";
      }

    • public String logoutSystem() {
          FacesContext context = FacesContext.getCurrentInstance();
          HttpSession session = (HttpSession) context.getExternalContext().getSession(false);
          session.invalidate();
          return "pageLogin";
      }

    • public String logoutSystem() {
          FacesContext context = FacesContext.getCurrentInstance();
          HttpSession session = (HttpSession) context.getExternalContext().getSession(false);
          session.disable();
          return "pageLogin";
      }

Question #3 of 3

Which are the two main methods of the Converter interface?

    • getObject and getString

    • getFromObject and getFromString

    • getAsXhtml and getAsXml

    • getAsObject and getAsString

Candidate Name
Assessment Name
Invited by
Assessment Date
IP Address
Status
















24.00 Out of 40.00
Pass
60%
03
23 Minutes

Java EE

9/10

Hibernate

3/10

Oracle PL/SQL

7/10

Analytical Thinking

5/10

Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.

Strengths

Java EE, Oracle PL/SQL, Analytical Thinking

Weaknesses

Hibernate

Happy

It was a good test for me, the questions were on the latest technology of java on which I am currently working. It was a great experience. Thank you!

Take your first step to hire job fit candidate

GET A DEMO

How Interview Mocha works?

  • Add this test to your account

  • Invite candidates to take this test online

  • Candidates take the test

  • View and share actionable test reports

Trusted by leading brands worldwide

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai
Why hiring managers and recruiters across the globe love Interview Mocha
  • Largest number of ready pre-employment skill tests
  • Relevant test compositions and quality questions designed by Subject Matter Experts (IM SME)
  • Fastest custom test creation DNA
  • World’s most super easy skill assessment platform
  • High level of platform security implementation
  • Friendly and quick customer support
  • Ready to listen and implement your feedback, we are all ears
  • Affordable pricing

Take your first step to hire job fit candidate

GET A DEMO