The HTML/CSS, JavaScript, PHP, and SQL online test assesses candidates' knowledge across the whole Web stack from HTML, CSS, and JavaScript on the Web front-end over PHP on the back-end to SQL for data access.

It's an ideal test for pre-employment screening. A good full stack PHP developer needs to be able to use a wide range of technologies.

This online test requires candidates to solve coding problems and find and fix bugs in multiple technologies.

Recommended Job Roles
Full-Stack Developer
JavaScript Developer
PHP Developer
SQL Developer
Web Developer
Sample Candidate Report

Sample Free Questions

Ensure

3min
  -  
Easy  
  -  
CODE

JavaScript Language Public

Implement the ensure function so that it throws an error if called without arguments or the argument is undefined. Otherwise it should return the given value.

Students

3min
  -  
Easy  
  -  
CODE

SQL Aggregation Public

Given the following data definition, write a query that returns the number of students whose first name is John. String comparisons should be case sensitive.

TABLE students
   id INTEGER PRIMARY KEY,
   firstName VARCHAR(30) NOT NULL,
   lastName VARCHAR(30) NOT NULL

Avatar

7min
  -  
Easy  
  -  
CODE

HTML/CSS CSS selectors Styling Public

Every user on your website has an image avatar that is displayed when they post a comment. You want to style these images differently from other images on your site. Add a CSS class named avatar that fulfils the following requirements:

  1. The avatar's border is rounded, so that it appears as a circle.
  2. The avatar's width and height are both 150px.
  3. The avatar has a solid border, has a width of 2px, and be colored gray.

For example, the avatar in the template should look like:

Cat avatar

File Owners

10min
  -  
Easy  
  -  
CODE

PHP Language Public

Implement a groupByOwners function that:

  • Accepts an associative array containing the file owner name for each file name.
  • Returns an associative array containing an array of file names for each owner name, in any order.

For example, for associative array ["Input.txt" => "Randy", "Code.py" => "Stan", "Output.txt" => "Randy"] the groupByOwners function should return ["Randy" => ["Input.txt", "Output.txt"], "Stan" => ["Code.py"]].

Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Questions
Link, Editor, Filter, Stopwatch, Movies, Index Performance, Poll, Rectangles, Blog, Label Color, Widgets, Positive Numbers, Logo, Article Style, Retirees, Share Button, Ad, Authors, Countries, Employee Manager, Merge Stock Index, Paragraph, Post Comment, Row Appender, Keywords, Hobbies, Cheapest Product, Links, Vectors, Username, Function Wrapper, Confirm, Movies Live, Double, Reorder, Hide Button, Truthy Expressions, Addition, ATM Locations, Bookmark, Christmas Tree, Department Report, Developers, iframe, Delete Orders, Product Rating, Products, Restaurant Menu, Roads, Sales, Shirts, Snapshot, Student Activities, Table of Names, Transactions, Warehouse, Word Count, Projects, Baby Names, Loading, Log Parser, Date Transform, Cards, Youngest Child, Cookie, Chain Link, Crop Ratio, Hobbies, Category Tree, Programmer Teacher, Greeter, Format Table, Read First Line, Chicken, Numbers to Text, Products, Array Sum, Filter, Paragraph, Last Key, Vectors, Word Count, Log Parser, Date Transform, Needle, Height, Username, Breakfast Menu, Cities, Screen Reader, Scale Font Size, New Folder, View Count, Unique Numbers, Log Patch, Shipping, Timesheet, Segment, Segment, Tasks, Loading Bar, Upload, Ingredients, Autocomplete, Bank Branches, Hospital Patients, Menu Items, Ban Users, Screen, Array Search, Array Search, Validation, A Tag, Height, Read Write Execute, SMS Messages, Data Entry
Skills
HTML/CSS HTML attributes JavaScript Arrays Closures SQL Aggregation Subqueries Indexes Conditions HTML5 Semantic tags CSS selectors Positioning Insertion Styling Language Joins Union Strings DOM manipulation Event handling Iteration Arithmetic Searching Exceptions CSS advanced Constraints Database schema Bug fixing Delete Serialization Sorting Update Views Animation PHP Data structures OOP Stream Selectors Accessibility Algorithmic thinking Monkey patching Tables Performance tuning Classes ECMAScript 2015 Recursion CSS layout Forms
Score Distribution
Loading...
Pricing For Premium Questions