Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Phalcon Online Test

Topics Covered

  • Controllers - Services
  • ACL Access Level
  • ACL Roles
  • Controllers - Request Handling
  • Controllers - Contractors
  • Controllers - Request Handling
  • ACL Resources
  • Persistent Data
  • ACL Access Level

Useful for hiring

  • Phalcon Developer
  • Full-Stack Web Developer
  • Senior PHP Developer

Start hiring job-fit candidates using this assessment

GET A DEMO

"Finding quality talent is a challenge more so when you consider the sheer number of resumes we get each year. To top this, the time we spent on our recruitment process was humongous. Interview Mocha helped us to cut down on our candidate filtration time by 40%, making it our preferred assessment tool."

Pedro Furtado, Altran,
Capacity Manager
Question

Following is the code used to register a service in a Phalcon application. How can this service be accessed in a controller that extends the Controller class of Phalcon?

$serviceDi->set(
    'datarepo',
    function () {
        return new Repository(
            '/my/Repository'
        );
    },
    true
);

Answer
    • datarepo->save('/my/file');

    • di->get('datarepo')->save('/my/file');

    • di->getRepository()->save('/my/file');"    "$serviceDi= new Di();

    • None of the mentioned

Question

You have a web application written in Phalcon. The URL to one of its pages is as follows:

http://localhost/blog/posts/show/1997/job-postings

Which of the following options is true regarding the breakdown of this URL when some tries to access it?

Answer
    • The URL does contain any Phalcon directory. 

    • The request is handled using the ShowController.

    • Two parameters are passed to the action method.

    • The request doesn't require any Controller.

Question

Suppose you use the initialize() method inside a controller class for your Phalcon application. Select the option that justifies the statement given below.

The initializer code is never gets executed before authorization.

Answer
    • When the initialize() method is invoked, the user is asked to provide his authorization details.

    • The initialize() method invokes the authorizeUser event, which if failed, breaks the initialization process.

    •  The initialize() method is linked to an SSH event to authorize the user automatically if his/her credentials are present in the DB.

    • The initialize() method gets executed only after the successful execution of the beforeExecutionRoute authorization event.

Test details:

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

The Phalcon assessment test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

Test Duration: 20 minutes

10 Application Questions

Phalcon test contains a combination of application and theory questions that help you to evaluate technical as well as practical skills of candidates.

Test description:

Phalcon online test is designed & developed by global subject matter experts (SME)s to assess the Phalcon skills of candidates - as per industry standards.

Phalcon is a high-performance PHP web framework based on the model–view–controller (MVC) pattern. Phalcon is an open source web framework delivered as a C extension for the PHP language providing high performance and lower resource consumption. 

Thus, online Phalcon test helps recruiters & hiring managers to evaluate the expertise of candidates in Phalcon.


Phalcon test contains questions on following Topics:
 

  • Controllers - Services

  • ACL Access Level

  • ACL Roles

  • Controllers - Request Handling

  • Controllers - Contractors

  • Controllers - Request Handling

  • ACL Resources

  • Persistent Data

  • ACL Access Level


To assess multiple skills in one go, we provide a facility of customizable assessments that help you in creating the tests for as per your specific needs.

The reports are generated instantly. Our hiring analytics will provide you with the detailed analysis of skills related strengths & weaknesses of the candidates that will help you in making right hiring decisions.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO