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×

Kohana Online Test

Topics Covered

  • Queries
  • Database
  • Referencing
  • Tables
  • Operators
  • Database Objects
  • Forms
  • Controller Testing
  • Regular Expressions

Useful for hiring

  • Kohana Developer
  • Senior Software Web Developer

Start hiring job-fit candidates using this assessment

GET A DEMO

"The best part of Interview Mocha is they have topic wise questions available. The skill wise extensive reports and advanced analytics lets us measure & benchmark the proficiency level of employees in that particular skill."

Cheryl Tolkinen, Securian, USA,
Learning & Development Manager
Question

Which of the following code snippet can be used to POST json strings (created using jsin_encode) with Kohana in PHP?

Note: There can be multiple correct answers to this question.

Answer
    • $request = Request::factory('http://sample.com/put_api') -> method(Request::PUT) -> body(json_encode('the body')) -> headers('Content-Type', 'application/json');

    • $request = Request::factory('http://sample.com/post_api') -> method(Request::POST) -> body(json_encode('the body')) -> headers('Content-Type', 'application/json');

    • $request = Request::factory('http://sample.com/post_api') -> body(json_encode('the body')) -> headers('Content-Type', 'application/json');

Question

Given below is an example of query builder in Kohana. 
$query = DB::select() -> from('codes') -> where('name', '=', 'PHP') -> execute($mydb);

Which of the following code snippet is equivalent to the given query?

Answer
    • $query = DB::query(Database::SELECT, 'SELECT * FROM codes WHERE name = :name');
      $query -> addParam(':name', 'PHP');

    • $query = DB::query(Database::SELECT, 'SELECT * FROM codes WHERE name = :name');
      $query -> param( name = 'PHP');

    • $query = DB::query(Database::SELECT, 'SELECT FROM codes WHERE name = @’ );
      $query -> param(':name', 'PHP');

    • $query = DB::query(Database::SELECT, 'SELECT * FROM codes WHERE name = :name');
      $query -> param(':name', 'PHP');

Question

Given below is an example of call-time reference.
call_user_func('Formo_'.$name.'::load', & $this);

On executing the above command, you get an error of depreciation. Which of the following is the correct version of the above command in Kohana?

Answer
    • call_user_func('Formo_'.$name.'::load', $this);

    • call_user_func('Formo_'.$name.'::load', && $this);

    • call_user_func('Formo_'.$name.'::load', &this);

    • None of the mentioned

Test details:

Kohana skill test enables employers to identify & hire Kohana developers 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 Kohana 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

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

Test description:

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

Kohana is an HMVC PHP 5.0 and new OOP framework. It is an elegant, open source, and object-oriented HMVC framework built using PHP5, by a team of volunteers and aims to be swift, secure, and small. Kohana developer is responsible to create a clean & testable code that also can be reused.

Thus, online Kohana test helps recruiters & hiring managers to evaluate web app development skills of candidates on Kohana PHP framework.

Kohana test contains questions on following Topics:
 

  • Queries

  • Database

  • Referencing

  • Tables

  • Operators

  • Database Objects

  • Forms

  • Controller Testing

  • Regular Expressions


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