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

SAMPLE REPORT
Candidate Name: David Messi Test Date: 28-May-2014
Test Name: JSF Test Test Start Time: 13.30

Score: 18 Out Of 20

Percentage: 90

Result: PASS

passing score image
SECTION PERFORMANCE
Section Name FAIL PASS
JSF 2
Score: 18/20
STRENGTH AND WEAKNESS
Strength JSF 2
Weakness -
* Note: If score <= 40 then its a Weakness. If score >= 80 then its a Strength.
ONLINE PROCTORING
0%
10 20 30 40 50 60 70 80 90 100%
Tolerable Limit Not acceptable
Window Violation: 0 | Time Violation: 0 secs
CANDIDATE DETAILS
Gender : Male Phone Number : +1-541-754-3010
Total Experience (Years) : 3 Total Experience (Months) : 5
Skill Set : JSF 2 Current Employer : Interview Mocha
Current Job Title : Solution Architect Current Salary : 600.00
Expected Salary : 1000000.00 Current Location : Chicago

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule 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
  • hexaware
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

Sign up for a free trial today

Get your free trial and test up to 10 candidates. No strings attached. No credit card required.

SIGN UP FOR FREE

Schedule a Demo