Yii Online Skills Assessment Test

Topics covered

Cookies, Sessions, Models, Controllers, Caching, Assets, Controllers, Installation

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

Yii Online Test is specifically designed & developed by experienced subject matter experts (SME)s to assess Yii programming skills of candidates - as per Industry Standards.

Yii is an open-source, high-performance PHP framework for developing the web applications. It includes key features like MVC, authentication & role-based access, Database Access Objects (DAO), testing, caching, etc. The Yii framework helps developers in creating clean & reusable code. It uses the latest features of PHP, like traits and namespaces. Yii developer is responsible to write an optimized web application quickly & easily.

Online Yii test assists recruiters & hiring managers to validate skills of Yii developer before an interview.

Yii test contains questions on following Topics:

  • Cookies

  • Sessions

  • Models 

  • Controllers

  • Caching

  • Assets

  • Controllers

  • Installation

Use our scientifically designed online skill test on Yii framework for candidate screening or ask us for the customizable assessment with all your requirements. Our support team will assist you to create a tailor-made test for you.

Our intelligent reports will help you to gauge the technical strengths of the candidate to make the right hiring decisions.

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

  • PHP Web Developer
  • Full-Stack Web Developer

Test details:

Identify potential hires using Yii quiz test by evaluating working skills and job readiness of the applicants. For this reason, an emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

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

Test Duration: 20 minutes

20 Application Questions

Assessment test on Yii PHP framework contains a combination of application and theory questions that help you to evaluate technical as well as practical skills of candidates.

Yii Test

Question #1 of 3

Suppose you are using the CMemCache class for creating a cache of your YII application's data. How can you make your class use the memcache extension for the caching service?

    • Set the $useMemcache property to True.

    • Set the $extension property to "memcache".

    • Set the $extension property to "memcached".

    • Set the $useMemcached property to be false.

Question #2 of 3

You stored the value of a variable $myVar in a cache for 45 seconds by implementing a caching technique using CCache class of the Yii framework. If this cache must be invalidated as soon as the "memData.php" file changes then, select the option that shows the correct implementation of the same.

    • Yii::app() -> cache -> set('var1', $myVar, 45, new CFileCacheDependency('memData.php'));

    • Yii::app() -> cache -> set('var1', $myVar, 45);
      Yii::app() -> cache -> setFileDependency('memData.php);

    • Yii::app() -> cache -> set('var1', $myVar, 45, setFileDependency('memData.php'));

    • Yii::app() -> cache -> set('var1' = $myVar, new);
      Yii::app() -> cache -> CFileCacheDependency('memData.php', validity = 45);

Question #3 of 3

You have created a cache for your Yii application using the CCache class and stored a variable into it. You also set a dependency for the cache on a particular file. What will happen if you try to access (via get()) the cached variable after the dependency file gets modified?

    • The older value of the cache will be returned with a warning to reload the data.

    • The dependency and cache get automatically refreshed, and the new value of the variable is returned.

    • False boolean value is returned as the dependency data needs to be refreshed manually.

    • The actual value from the database will be retrieved as the cache becomes invalid.

Candidate Name: David Messi Test Date: 28-May-2014
Test Name: Yii Test Test Start Time: 13.30

Score: 18 Out Of 20

Percentage: 90

Result: PASS

passing score image
Section Name FAIL PASS
Score: 18/20
Strength Yii
Weakness -
* Note: If score <= 40 then its a Weakness. If score >= 80 then its a Strength.
10 20 30 40 50 60 70 80 90 100%
Tolerable Limit Not acceptable
Window Violation: 0 | Time Violation: 0 secs
Gender : Male Phone Number : +1-541-754-3010
Total Experience (Years) : 3 Total Experience (Months) : 5
Skill Set : Yii 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.


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.


Schedule a Demo