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×

Online Symfony Test

Topics Covered

  • Templates
  • Symfony3
  • Routing
  • Console
  • Miscellaneous
  • Events and Events Listeners
  • Forms
  • Doctrine
  • Automated-Tests

Useful for hiring

  • Symfony Developer
  • Symfony Programmer
  • Symfony Expert

Start hiring job-fit candidates using this assessment

GET A DEMO

"We are impressed with Interview Mocha's comprehensive IT skill test batteries and their ability to provide tailor-made assessments quickly. The results we got from Interview Mocha exceeded our expectations, employees found the tests quick, fun, and a benchmark of their knowledge."

Ajay Garg, Siemens,
Associate Manager
Question

How can you follow a redirection using the Crawler client?

Answer
    • $client->redirect()

    • $client->followRedirect()

    • $client->followRedirection()

Question

/** 
*@Route(""/poll/"", name=""poll"") 
*/ 
public function indexAction() 
{
    $this->forward( 'SnPollBundle:Poll:frwrd' ); 
    echo $this->getRequest()->attributes->get('_route'); 
    print_r( $this->getRequest()->query->all() );   
    return $this->render('SnPollBundle:Poll:index.html.twig'); 


/**
* @Route(""/poll/frwrd"", name=""poll_frwrd"") 
*/ 
public function frwrdAction(Request $request) 
{
    echo $request->attributes->get('_route'); 
    print_r( $request->query->all() ); 
}

What is the correct output of the request (/poll/?param1=val1¶m2=val2) ?

Answer
    • poll_frwrd Array ( [param1] => val1 [param2] => val2 )
      poll Array ( [param1] => val1 [param2] => val2 )

    • poll Array ( [param1] => val1 [param2] => val2 )
      poll Array ( [param1] => val1 [param2] => val2 )

    • poll_frwrd Array ( [param1] => val1 [param2] => val2 )
      poll_frwrd Array ( [param1] => val1 [param2] => val2 )

    • Array ( )
      poll Array ( [param1] => val1 [param2] => val2 )

Question

How will you add a "date" field type in an input field inside a form type?

Answer
    • Add an option 'render' => 'input'

    • Add an option 'widget' => 'text'

    • Add an option 'widget' => 'single_text'

    • Add an option 'widget' => 'input'

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