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 Technical Test – High Level

Useful for hiring

  • PHP Expert
  • Senior PHP Developer
  • Senior Web Designer

Start hiring job-fit candidates using this assessment


"Our recruiters no longer rely only on the telephonic interviews. We shortlist candidates based on assessment reports. The detailed test reports provide skill wise analysis of each candidate. This has helped our clients reduce their time to hire by 60%."

Vipin Sharma, Mobile Programming,
General Manager HR & Recruitement

Marty wants to protect Alex, and for that, he has arranged a special force of expert officers. But Captain Chantel is also an intelligent enemy of Marty, and she has also arranged a bunch of expert shooters.

Every man has some experience points. In this scenario, Marty's men have "even" experience points, and Captain Chantel's men have "odd" experience points.

Now, Marty's strategy is to place his men in ascending order so that, if an enemy is going to attack, then the more experienced men can easily take over the enemy.

But, Captain Chantel also has a strategy. Captain Chantel will send her force in descending order of experience points so that their motive of killing Alex will be achieved, as, even if the most experienced ones die the less experienced ones can reach inside and kill Alex.

Now, you have been given an array of experience points of men, and you have to find the men belonging to Marty's Force and Captain Chantel's Force and print their experience points in appropriate order.

It consists of 2 lines. 
The first line consists of a single integer N, the total number of men available to join the two forces. 
The next line comprises on N space-separated integers, each integer denoting the experience points of a single man.

Output 2 lines. 
The first line comprises of space-separated integers denoting the experience points of every man in Marty's Force in the appropriate order.
The next line comprises of space-separated integers denoting the experience points of every man in Captain Chantel's force in the appropriate order.

Sample Input
3 1 14 7 6 7 2

Sample Output 
2 6 14
7 7 3 1


Test details:

This high-level PHP technical test enables employers and recruiters to identify & hire PHP expert by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

Questions : 2

Duration : 80 minutes

  • PHP Coding : The test contains 2 coding questions on PHP to assess the Advance Level PHP coding skills of the candidate.

Test description:

PHP Technical Test (High Level) helps Hiring Managers & Recruiters to assess in-depth PHP coding knowledge of the candidate before an interview.

The best way to evaluate technical strength of PHP expert for a job is to give him/her a coding test. The candidate has to write a code which uses the concepts of PHP and Error handling to solve the real world problems. If one also writes appropriate comments for his code then he is considered an expert.  This online Test for PHP is designed to check the high level coding skills of a PHP expert- as per industry standards.

To hire PHP Expert by evaluating one’s high level coding skills, this test for PHP has been developed and reviewed by qualified and experienced Subject Matter Experts (SME). 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 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...

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates