Search Adaface test library by skills or roles
⌘ K

PHP, Laravel & SQL Test

The PHP, Laravel & SQL Test is preferred by recruiters to assess on-the-job skills of candidates before an interview. It reduces technical screening time by 80% by enabling employers to identify qualified candidates.

Customized Based On:

  • Experience/ difficulty level
  • Multiple skills in 1 assessment
  • Job description/ role requirements

Topics:

Basic PHP
Operators
Syntax
built-in functions
Bug Fixing
Functional Programming
Object-Oriented Programming (OOPs)
passing by reference
globals and scope

PHP security is essential and the number of vulnerable PHP applications is large.

Security
Session
See full list
Singapore government logo

The hiring managers felt that through the technical questions that they asked during the panel interviews, they were able to tell which candidates had better scores, and differentiated with those who did not score as well. They are highly satisfied with the quality of candidates shortlisted with the Adaface screening.


Human Resources Manager

Singapore Government

85%
reduction in screening time

Sample Adaface PHP, Laravel & SQL Test Questions

These are just a small sample from our library of 10,000+ questions. The actual questions on this PHP, Laravel & SQL Test will be non-googleable.

🧐 Question🔧 Skill💪 Difficulty⌛ Time
Inject instances into routes
Your friend Sabrina is interning with a data analytics startup. For their app, they want to be able to automatically inject the instances of the model into their routes. Which of the following would you recommend?
 image
LaravelMedium2 min
Multi Select
Consider the following SQL table:
 image
How many rows does the following SQL query return?
 image
SQLMedium2 min
Blog posts: One to many relationship
Our client, Naval Ravikant who is a very popular angel investor wrote a blog post which went viral. There are a very large number of comments on his blog post. Which of the following snippets of code should we add to the post model to define a one-to-many relationship?
 image
LaravelMedium2 min
Array Replace
What will the following PHP code output?
 image
// OPTION ONE
Array
(
[0] => basappa
[1] => sarvepalli
[2] => zakir
[3] => venkata
[4] => fakhruddin
)

// OPTION TWO
Array
(
[0] => hidayatullah
[1] => sarvepalli
[2] => zakir
[3] => venkata
[4] => fakhruddin
)

// OPTION THREE
Array
(
[0] => fakhruddin
[1] => sarvepalli
[2] => zakir
[3] => venkata
[4] => hidayatullah
)

// OPTION FOUR
Array
(
[0] => basappa
[1] => sarvepalli
[2] => zakir
[3] => venkata
)
Arrays
PHPEasy2 min
Alter and Change
What does the following code output?
 image
OOPs
PHPMedium2 min
Exceptions
What does the following code output?
 image
Exception
PHPMedium2 min
PDO MySQL
Consider the following table data and PHP code. What is the result?
 image
Database Connection
PHPMedium2 min
Select & IN
Consider the following SQL table:
 image
Which of the following SQL queries would return the year when neither a football or cricket winner was chosen?
 image
SQLEasy3 min
With, AVG & SUM
Consider the following SQL table:
 image
How many tuples does the following query return?
 image
SQLMedium2 min

How to use the Adaface PHP, Laravel & SQL Test

Start screening candidates within minutes with the ready-to-go PHP, Laravel & SQL Test

1. Choose the most appropriate test for your role

2. Start inviting candidates to complete the assessment

3. Receive real time notifications and shortlist the best candidates

OR Customize the Adaface PHP, Laravel & SQL Test according to your job description

1. Get a custom assessment from our library of 500+ skills within 48 hours

2. Start inviting candidates to complete the assesment

3. Receive real time notifications and shortlist the best candidates

Adaface PHP, Laravel & SQL Test is trusted by enterprises worldwide

amazon
PayPal
Morgan Stanley
Adidas
SG Government
Neilsen
UCLA
Ernst and Young
Microsoft
WeWork
Bosch
Optimum Solutions
SAP
Doubtnut
Deloitte
HCL
FusionCharts
United Nations
Sokrati
Love Bonito
ZiMetrics
MTM

About the Adaface PHP, Laravel & SQL Test

Topics:

Basic PHP
Operators
Syntax
built-in functions
Bug Fixing
Functional Programming
Object-Oriented Programming (OOPs)
passing by reference
globals and scope

PHP security is essential and the number of vulnerable PHP applications is large.

Security
Session
Functional Programming Arrays
PEAR
Command Line
Escaping

A variable in PHP is a name of memory location that holds data.

PHP Variables
NULL

The constant() function returns the value of a constant.

Constant function
PHP4
PHP5
Algorithmic Thinking
Single Quoted & Double Quoted Strings
Basic PHP

Arrays in PHP is a type of data structure that allows us to store multiple elements of similar data type under a single variable thereby saving us the effort of creating a different variable for every data.

Arrays
Session

PHP supports both pass by value and pass by reference.

Pass by Reference
Stream
Operators

A loop in PHP is used to execute a statement or a block of statements, multiple times until and unless a specific condition is met.

Loops

The sort() function is an inbuilt function in PHP and is used to sort an array in ascending order i.e, smaller to greater.

Sorting
Iteration

PHP has an exception model similar to that of other programming languages. An exception can be thrown, and caught within PHP.

Exceptions

A function is a block of statements that can be used repeatedly in a program.

Functions
XML/JSON
Strings
Recursion

Inheritance in OOP = When a class derives from another class.

Inheritance
Routing
View Rendering
Validation

The framework ships with a public/. htaccess file that is used to allow URLs without index.php.

Htaccess
Mailing
Pagination

Database query builder provides a convenient, fluent interface to creating and running database queries.

Query Builder
Blade Templates
Exception Handling

A resource controller is used to create a controller that handles all the http requests stored by your application.

Resource Controller
Configuration

Events provide a simple observer pattern implementation, allowing one to subscribe and listen for various events that occur within the application.

Event Handling
Artisan Commands

Cookie can be created by global cookie helper of Laravel.

Cookies
File Management
Database

Laravel allows you to easily create queued jobs that may be processed in the background.

Laravel Queues
Middleware
Errors & Error Handling

Packages are the primary way of adding functionality to Laravel.

Package Development
Jobs
Advanced Eloquent and DB Operations

API is a software intermediary that allows two applications to talk to each other.

APIs
Automated Testing
Socialite and OAuth

Test Driven Development is a coding practice where you write a test first then write the code to pass that test, usually in short iterative cycles.

TDD

Laravel Dusk provides an expressive, easy-to-use browser automation and testing API.

Dusk
Resources
Auth

Laravel Passport provides a full OAuth2 server implementation for a Laravel application in a matter of minutes.

Passport
Events and Listeners

Laravel session is a way of storing the user information across the multiple user requests.

Sessions

Keys are used to establish and identify relationships between tables and also to uniquely identify any record or row of data inside a table.

Relational Keys

A SELECT query retrieves zero or more rows from one or more database tables or database views.

Select Queries

A JOIN clause is used to combine rows from two or more tables, based on a related column between them.

Joins
Data Modelling
Fact and Dimension Table Types

A star schema is a logical database design that is included in decision support applications.

Star Schema
Snow Flake Schema

Conditional statements are used to define what logic is to be executed based on the status of some condition being satisfied.

Conditions

In SQL, a view is a virtual table based on the result-set of an SQL statement.

Views

SQL constraints are used to specify rules for the data in a table.

Constraints
Create table
Database schema

The SELECT statement is used to select data from a database.

Select
Server
Performance Tuning

An ENUM is a string object with a value chosen from a list of permitted values that are enumerated explicitly in the column specification at table creation time.

ENUM
Optimization
String functions

The GROUP BY Statement in SQL is used to arrange identical data into groups with the help of some functions.

GROUP BY
DELETE
Aggregation

An SQL trigger is a database object which fires when an event occurs in a database.

Triggers
CTE
JSON
Ordering
Columns

The UNION operator is used to combine the result-set of two or more SELECT statements.

UNION
CHAR
Heap Table

An SQL key is either a single column (or attribute) or a group of columns that can uniquely identify rows (or tuples) in a table.

Keys

The SQL Like is a logical operator that is used to determine whether a specific character string matches a specified pattern.

LIKE
Storage

A transaction is the logical work unit that performs a single activity or multiple activities in a database.

Transaction
Database Schema
Query

SQL index is a quick lookup table for finding records users need to search frequently.

Index

Distribution Of Test Scores

The actual score distributon will vary based on your candidate pipeline quality, but you should typically expect ~20% of the candidates to do well on Adaface assessments.

The score distribution for our assessments follow the normal curve. This is a good sign- standardized tests like SAT and GRE follow the normal distribution (bell curve).

Status quo assessments typically have the exact opposite of the bell curve (too many candidates getting close to 0, too many candidates getting close to 100 and too few candidates in the middle). This is typically because they focus on theoretical questions or trick questions, which are very binary in nature- either you know the trick/ theory or you don’t.

How Adaface Is Different

Adaface conversational assessments are reflective of on-the-job skills and see an 86% completion rate as compared to ~50% for traditional assessment platforms.

OLD WAY

TRADITIONAL TESTS

Theoretical questions/ puzzles

Feels like a test

One-size-fits-all assessments

😞
HIRE IN
Weeks/Months

NEW WAY

ADAFACE ASSESSMENTS

Questions for on-the-job skills

Conversational

Customized
assessments

😀️
HIRE IN
Days

FAQs

What is a custom assessment?

Every role is different and requires a custom assessment to identify top candidates efficiently. Adaface subject matter experts understand your job description/ role requirements and pick the most relevant questions from our library of 10000+ questions to create a technical assessment that helps you find the qualified candidates in your candidate pipeline quickly. All custom assessments are set up based on the job description, role requirements, must-have skills, experience level and salary range within a maximum of 48 hours and you will get an email notification once it goes live.

Check out a sample assessment here (no credit card required).

Can I combine multiple skills into one custom assessment?

Yes, absolutely. Custom assessments are set up based on your job description, and will include questions on all must-have skills you specify.

How is Adaface different from other assessment tools?

We believe that status quo tech assessment platforms are not a fair way for companies to evaluate engineers because they focus on trick questions/ puzzles/ niche algorithms. We started Adaface to help companies find great engineers by assessing on-the-job skills required for a role. Read more about why we started Adaface.

Here's what's different with Adaface:

  • High quality non-googleable questions that test for on-the-job skills as opposed to theoretical knowledge.
  • A friendly conversational assessment with a chatbot, instead of sending a "test" to a candidate. This translates to a higher completion rate. Adaface assessments (86% candidate completion rate), as opposed to traditional tests (40-50% candidate completion rate)
  • Customized assessments for 700+ skills at different experience levels.
Do you have any anti-cheating or proctoring features in place?

We have the following anti-cheating features in place:

  • Web proctoring
  • Webcam proctoring
  • Plagairism detection
  • Non-googleable questions
  • Secure browser

Read more the proctoring features.

How do I interpret test scores?

The primary thing to keep in mind is that an assessment is an elimination tool, not a selection tool. A skills assessment is optimized to help you eliminate candidates who are not technically qualified for the role, it is not optimized to help you find the best candidate for the role. So the ideal way to use an assessment is to decide a threshold score (typically 55%, we help you benchmark) and invite all candidates who score above the threshold for the next rounds of interview.

What experience level can I use this test for?

Each Adaface assessment is customized to your job description/ ideal candidate persona (our subject matter experts will pick the right questions for your assessment from our library of 10000+ questions). This assessment can be customized for any experience level.

Does every candidate get the same questions?

Yes, it makes it much easier for you to compare candidates. Options for MCQ questions and the order of questions are randomized. We have anti-cheating/ proctoring features in place. In our enterprise plan, we also have the option to create multiple versions of the same assessment with questions of similar difficulty levels.

I'm a candidate. Can I try a practice test?

No. Unfortunately, we do not support practice tests at the moment. However, you can use our sample questions for practice.

What is the cost of using this test?

You can check out our pricing plans.

Can I get a free trial?

The platform is completely self-serve, so here's one way to proceed:

  • You can sign up for free to get a feel for how it works.
  • The free trial includes one sample assessment (Java/ JavaScript) that you will find in your dashboard when you sign up. You can use it to review the quality of questions, and the candidate experience of a conversational test on Adaface.
  • To review the quality of questions, you can also review our public questions for 50+ skills here.
  • Once you're convinced that you want to try it out with real assessments and candidates, you can pick a plan according to your requirements.
I just moved to a paid plan. How can I request a custom assessment?

Here is a quick guide on how to request a custom assessment on Adaface.

With Adaface, we were able to optimise our initial screening process by upwards of 75%, freeing up precious time for both hiring managers and our talent acquisition team alike!


Brandon Lee, Head of People, Love, Bonito

hashtag image heart icon Brandon
Join 1700+ companies in 75+ countries.
Try the most candidate friendly skills assessment tool today.
Have any questions about the Adaface PHP, Laravel & SQL Test?
Have any questions about the Adaface PHP, Laravel & SQL Test?
Chat with us ✨
Terms Privacy Trust Guide