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

10 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
Assessment Name
Invited by
Assessment Date
IP Address

24.00 Out of 40.00
23 Minutes

Java EE




Oracle PL/SQL


Analytical Thinking


Note:If score<= 30% then its a Weakness. If score >=70% then its a Strength.


Java EE, Oracle PL/SQL, Analytical Thinking




It was a good test for me, the questions were on the latest technology of java on which I am currently working. It was a great experience. Thank you!

Take your first step to hire job fit candidate


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
  • akamai
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

Take your first step to hire job fit candidate