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 PHP Coding Test – Medium Level

Useful for hiring

  • Junior PHP Developer
  • Senior PHP Developer
  • PHP Programmer
  • PHP Web Developer

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

One day going through some old books, our hacker, Little Stuart finds something scribbled on the corner of a page. 

Now he believes that the scribbled text is more mysterious than it originally looks, so he decides to find every occurrence of all the permutations of the scribbled text in the entire book. Since this is a huge task, Little Stuart needs your help, he needs you to only figure out if any permutation of the scribbled text exists in the given text string, so he can save time and analyze only those text strings where a valid permutation is present.

Input Format

The first line contains scribbled text and
Next line contains a text string. 
All characters in both the strings are in lowercase only [a-z].

Output Format

Print YES or NO depending on whether any permutation of the pattern exists in the text string.

Sample Input 
use  --  Scribbled text
question  --  Text string

Sample Output 
YES

 

Test details:

This PHP developer test is a machine test for PHP developer that enables employers to identify potential PHP hires by evaluating working skills and job readiness. For this reason, the emphasis is on evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

Questions : 2

Duration : 60 minutes

PHP Coding : The test contains 2 coding questions on PHP to assess the PHP coding skills of the candidate with some experience.

Test description:

PHP programming test is a simulation-based practical test for PHP developer that enables you to effectively assess PHP programming skills & screen PHP developers before the interview. PHP (recursive acronym for PHP: Hypertext Preprocessor) is an open source, most preferred scripting language due to its secure, reliable & diverse framework and also because of its simplicity & scalability. This PHP practical test for the interview is designed & developed to check the PHP coding skills of PHP developer- As per Industry Standards.

The best way to evaluate a PHP programmer for a job is to give him/her the online practical PHP coding test. The test contains medium level coding test questions on PHP. The candidate has to write a PHP code which uses the concepts of PHP scripting language and error handling to solve the real world problems. If a candidate is able to write PHP code that is effective & efficient, testable, then we can call him/her as a good programmer.

PHP programming skills test is designed & validated by our experienced subject matter experts (SME)s. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

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

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