Search test library by skills or roles
⌘ K

About the test:

The PHP, Laravel and SQL Online Test uses scenario-based MCQs to evaluate candidates on their knowledge and proficiency in PHP programming language, Laravel framework, and SQL database. The test assesses candidates' understanding of topics such as object-oriented programming, Laravel routing, database migrations, Eloquent ORM, SQL queries, and database design principles. Candidates are evaluated on their ability to solve real-world programming problems using PHP and Laravel, as well as their proficiency in writing efficient and effective SQL queries.

Covered skills:

  • Syntaks
  • Løkker
  • Operatører
  • Variabler
See all covered skills

9 reasons why
9 reasons why

Adaface PHP, Laravel and SQL Online Test is the most accurate way to shortlist PHP Developers



Reason #1

Tests for on-the-job skills

The PHP, Laravel and SQL Online Test helps recruiters and hiring managers identify qualified candidates from a pool of resumes, and helps in taking objective hiring decisions. It reduces the administrative overhead of interviewing too many candidates and saves time by filtering out unqualified candidates at the first step of the hiring process.

Non-googleable questions & proctoring features enable you to be comfortable with conducting assessments online. The PHP, Laravel and SQL Online Test is ideal for helping recruiters identify which candidates have the skills to do well on the job.

Reason #2

No trick questions

no trick questions

Traditional assessment tools use trick questions and puzzles for the screening, which creates a lot of frustration among candidates about having to go through irrelevant screening assessments.

The main reason we started Adaface is that traditional pre-employment assessment platforms are not a fair way for companies to evaluate candidates. At Adaface, our mission is to help companies find great candidates by assessing on-the-job skills required for a role.

Why we started Adaface ->
Reason #3

Non-googleable questions

We have a very high focus on the quality of questions that test for on-the-job skills. Every question is non-googleable and we have a very high bar for the level of subject matter experts we onboard to create these questions. We have crawlers to check if any of the questions are leaked online. If/ when a question gets leaked, we get an alert. We change the question for you & let you know.

Dette er bare en liten prøve fra biblioteket vårt med 10.000+ spørsmål. De faktiske spørsmålene om dette PHP, Laravel & SQL Test vil være ikke-googlable.

🧐 Question

Easy

Array Replace
Arrays
Solve
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
)

Medium

Alter and Change
OOPs
Solve
What does the following code output?
 image

Hard

Exceptions
Exception
Solve
What does the following code output?
 image

Medium

PDO MySQL
Database Connection
Solve
Consider the following table data and PHP code. What is the result?
 image

Medium

Inject instances into routes
Solve
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

Medium

Blog posts: One to many relationship
Solve
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

Medium

Multi Select
Solve
Consider the following SQL table:
 image
How many rows does the following SQL query return?
 image

Medium

Select & IN
Solve
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

Hard

With, AVG & SUM
Solve
Consider the following SQL table:
 image
How many tuples does the following query return?
 image

Easy

Registration Queue
Logic
Solve
We want to register students for the next semester. All students have a receipt which shows the amount pending for the previous semester. A positive amount (or zero) represents that the student has paid extra fees, and a negative amount represents that they have pending fees to be paid. The students are in a queue for the registration. We want to arrange the students in a way such that the students who have a positive amount on the receipt get registered first as compared to the students who have a negative amount. We are given a queue in the form of an array containing the pending amount.
For example, if the initial queue is [20, 70, -40, 30, -10], then the final queue will be [20, 70, 30, -40, -10]. Note that the sequence of students should not be changed while arranging them unless required to meet the condition.
⚠️⚠️⚠️ Note:
- The first line of the input is the length of the array. The second line contains all the elements of the array.
- The input is already parsed into an array of "strings" and passed to a function. You will need to convert string to integer/number type inside the function.
- You need to "print" the final result (not return it) to pass the test cases.

For the example discussed above, the input will be:
5
20 70 -40 30 -10

Your code needs to print the following to the standard output:
20 70 30 -40 -10

Medium

Longest Road
logic
hashmaps
Solve
A startup company E-Motors is building driverless automated cars. The car contains a sensor that checks the road quality for the next N meters to decide the optimal speed at which the cars should move. We are given recorded data by the sensor in the form of an array, where each element of the array is the rating given to 1 meter of the road in sequence. 

The rating given by the sensor is from 1 to 100, where 100 represents the road with the best condition, and any rating above 60 is optimal. Find the longest stretch of road in meters that is categorized as optimal by the sensor.

The input is an array of "strings" which needs to be converted from string to integer/number inside the function.

Medium

Visitors Count
Strings
Solve
A manager hires a staff member to keep a record of the number of men, women, and children visiting the museum daily. The staff will note W if any women visit, M for men, and C for children. You need to write code that takes the string that represents the visits and prints the count of men, woman and children. The sequencing should be in decreasing order. 
Example:

Input:
WWMMWWCCC

Expected Output: 
4W3C2M

Explanation: 
‘W’ has the highest count, then ‘C’, then ‘M’. 
⚠️⚠️⚠️ Note:
- The input is already parsed and passed to a function.
- You need to "print" the final result (not return it) to pass the test cases.
- If the input is- “MMW”, then the expected output is "2M1W" since there is no ‘C’.
- If any of them have the same count, the output should follow this order - M, W, C.
🧐 Question🔧 Skill

Easy

Array Replace
Arrays
2 mins
PHP
Solve

Medium

Alter and Change
OOPs
2 mins
PHP
Solve

Hard

Exceptions
Exception
2 mins
PHP
Solve

Medium

PDO MySQL
Database Connection
2 mins
PHP
Solve

Medium

Inject instances into routes
2 mins
Laravel
Solve

Medium

Blog posts: One to many relationship
2 mins
Laravel
Solve

Medium

Multi Select
2 mins
SQL
Solve

Medium

Select & IN
3 mins
SQL
Solve

Hard

With, AVG & SUM
2 mins
SQL
Solve

Easy

Registration Queue
Logic
30 mins
Coding
Solve

Medium

Longest Road
logic
hashmaps
25 mins
Coding
Solve

Medium

Visitors Count
Strings
30 mins
Coding
Solve
🧐 Question🔧 Skill💪 Difficulty⌛ Time
Array Replace
Arrays
PHP
Easy2 mins
Solve
Alter and Change
OOPs
PHP
Medium2 mins
Solve
Exceptions
Exception
PHP
Hard2 mins
Solve
PDO MySQL
Database Connection
PHP
Medium2 mins
Solve
Inject instances into routes
Laravel
Medium2 mins
Solve
Blog posts: One to many relationship
Laravel
Medium2 mins
Solve
Multi Select
SQL
Medium2 mins
Solve
Select & IN
SQL
Medium3 mins
Solve
With, AVG & SUM
SQL
Hard2 mins
Solve
Registration Queue
Logic
Coding
Easy30 minsSolve
Longest Road
logic
hashmaps
Coding
Medium25 minsSolve
Visitors Count
Strings
Coding
Medium30 minsSolve
Reason #4

1200+ customers in 75 countries

customers in 75 countries
Brandon

Med Adaface klarte vi å optimalisere vår første screeningprosess med oppover 75%, og frigjøre dyrebare tid for både ansettelsesledere og vårt talentinnsamlingsteam!


Brandon Lee, Menneskers leder, Love, Bonito

Reason #5

Designed for elimination, not selection

The most important thing while implementing the pre-employment PHP, Laravel & SQL Test in your hiring process is that it is an elimination tool, not a selection tool. In other words: you want to use the test to eliminate the candidates who do poorly on the test, not to select the candidates who come out at the top. While they are super valuable, pre-employment tests do not paint the entire picture of a candidate’s abilities, knowledge, and motivations. Multiple easy questions are more predictive of a candidate's ability than fewer hard questions. Harder questions are often "trick" based questions, which do not provide any meaningful signal about the candidate's skillset.

Reason #6

1 click candidate invites

Email invites: You can send candidates an email invite to the PHP, Laravel & SQL Test from your dashboard by entering their email address.

Public link: You can create a public link for each test that you can share with candidates.

API or integrations: You can invite candidates directly from your ATS by using our pre-built integrations with popular ATS systems or building a custom integration with your in-house ATS.

invite candidates
Reason #7

Detailed scorecards & comparative results

Reason #8

High completion rate

Adaface tests are conversational, low-stress, and take just 25-40 mins to complete.

This is why Adaface has the highest test-completion rate (86%), which is more than 2x better than traditional assessments.

test completion rate
Reason #9

Advanced Proctoring


What topics are covered in the PHP, Laravel and SQL Online Test?

Syntaks
Operatører
Løkker
Variabler
Feilretting
Funksjoner
Objektorientert programmering (oops)
Klasser og gjenstander
Arv og polymorhisme
Globaler og omfang
Sikkerhet
Økt
Stikk
Matriser
Økter
Bekker
Sortering
Iterasjon
Unntak
XML/JSON
Funksjonell programmering
Ruter
Kontrollere
Utsikt

Rammeverket sendes med en offentlighet/. Htaccess -fil som brukes til å tillate URL -er uten indeks.php.

Blad
Migrasjoner
Orm

Database Query Builder gir et praktisk, flytende grensesnitt for å opprette og kjøre databasespørsmål.

Tinker
Skjemaer
Filer

En ressurskontroller brukes til å opprette en kontroller som håndterer alle HTTP -forespørsler som er lagret av applikasjonen din.

Middlewares
Økter

Hendelser gir en enkel implementering av observatørmønster, slik at en kan abonnere og lytte etter forskjellige hendelser som oppstår i applikasjonen.

Veltalende rå
Veltalende forhold

Cookie kan opprettes av Global Cookie Helper of Laravel.

N+1 spørringsproblem
Ivrig belastning
Filopplastinger

Laravel lar deg enkelt lage kø jobber som kan behandles i bakgrunnen.

Database Seeding
Databasefabrikker
Autorisasjon

Pakker er den viktigste måten å legge til funksjonalitet til Laravel.

Autentisering
Spørringsscopes
Hurtigbufring

API er en programvareformidler som lar to applikasjoner snakke med hverandre.

Observatører
arrangementer
Lyttere og abonnenter

Testdrevet utvikling er en kodingspraksis der du skriver en test først og deretter skriver koden for å bestå den testen, vanligvis i korte iterative sykluser.

Fasader

Laravel Dusk gir en uttrykksfull, brukervennlig nettleserautomatisering og testing API.

Skumring
Unntak
Den relasjonelle modellen
SQL Basics
SQL -funksjoner
Datamodifiseringsspråk
Data -spørringsspråk
Crud
SQL -filtrering / Hvor uttalelse
Underlag
Indekser
3 verdsatt logikk
SQL blir med
Vindusfunksjoner
Datofiltrering og tidsstempler
Samlede funksjoner
Operatørens forrang
REKKEFØLGE ETTER
GRUPPE AV
Top-down design
Bottom-up design
Enhetsforholdsdiagram
Normalisering
Databasetyper
Multi-table Select
Tillatelsesstyring
Sikkerhetskopieringsstrategier
Transaksjoner
Datatyper
Utsikt
Sharding
Replikasjon
Sikkerhetskopier
Vertikal + horisontal skalering
Distribuerte vs sentraliserte databaser
Databasesikkerhet
SQL -injeksjoner
Adgangskontroll
Computer Fundamentals
Brevkoding
Nummerkoding
Erstatning
Koding avkodende gåter
Ikke-verbal resonnement
SQL -konsepter
Forretningsanalyse
Koding avkoding
Programmerings språk
Datamaskinarkitektur
Grunnleggende DBMS -konsepter
Solide prinsipper
Automatiseringssystemer
Beslutningstaking
Ikke-verbal resonnement
Problemløsningstilnærming
Singapore government logo

Ansettelseslederne følte at de gjennom de tekniske spørsmålene de stilte under panelintervjuene, kunne fortelle hvilke kandidater som hadde bedre score, og differensierte med de som ikke scoret også. De er Svært fornøyd med kvaliteten på kandidatene på listen med adaface -screeningen.


85%
Reduksjon i screeningstid

Vanlige spørsmål

Kan jeg kombinere flere ferdigheter til en tilpasset vurdering?

Ja absolutt. Tilpassede vurderinger er satt opp basert på stillingsbeskrivelsen din, og vil inneholde spørsmål om alle må-ha ferdigheter du spesifiserer.

Har du noen anti-juksende eller proktoreringsfunksjoner på plass?

Vi har følgende anti-juksede funksjoner på plass:

  • Ikke-googlable spørsmål
  • IP Proctoring
  • Nettproctoring
  • Webcam Proctoring
  • Deteksjon av plagiering
  • Sikker nettleser

Les mer om Proctoring -funksjonene.

Hvordan tolker jeg testresultater?

Den viktigste tingen å huske på er at en vurdering er et eliminasjonsverktøy, ikke et seleksjonsverktøy. En ferdighetsvurdering er optimalisert for å hjelpe deg med å eliminere kandidater som ikke er teknisk kvalifisert for rollen, det er ikke optimalisert for å hjelpe deg med å finne den beste kandidaten for rollen. Så den ideelle måten å bruke en vurdering på er å bestemme en terskelpoeng (vanligvis 55%, vi hjelper deg med å benchmark) og invitere alle kandidater som scorer over terskelen for de neste rundene med intervjuet.

Hvilken opplevelsesnivå kan jeg bruke denne testen til?

Hver ADAFACE -vurdering er tilpasset din stillingsbeskrivelse/ ideell kandidatperson (våre fageksperter vil velge de riktige spørsmålene for din vurdering fra vårt bibliotek med 10000+ spørsmål). Denne vurderingen kan tilpasses for ethvert opplevelsesnivå.

Får hver kandidat de samme spørsmålene?

Ja, det gjør det mye lettere for deg å sammenligne kandidater. Alternativer for MCQ -spørsmål og rekkefølgen på spørsmål er randomisert. Vi har anti-juksing/proctoring funksjoner på plass. I vår bedriftsplan har vi også muligheten til å lage flere versjoner av den samme vurderingen med spørsmål med lignende vanskelighetsnivåer.

Jeg er en kandidat. Kan jeg prøve en praksisprøve?

Nei. Dessverre støtter vi ikke praksisprøver for øyeblikket. Du kan imidlertid bruke eksemplet spørsmål for praksis.

Hva koster ved å bruke denne testen?

Du kan sjekke ut prisplanene våre.

Kan jeg få en gratis prøveperiode?

Ja, du kan registrere deg gratis og forhåndsvise denne testen.

Jeg flyttet nettopp til en betalt plan. Hvordan kan jeg be om en tilpasset vurdering?

Her er en rask guide om Hvordan be om en tilpasset vurdering på adaface.

customers across world
Join 1200+ companies in 75+ countries.
Prøv det mest kandidatvennlige ferdighetsvurderingsverktøyet i dag.
g2 badges
Ready to use the Adaface PHP, Laravel & SQL Test?
Ready to use the Adaface PHP, Laravel & SQL Test?
snakk med oss
logo
40 min tests.
No trick questions.
Accurate shortlisting.
Vilkår Personvern Trust Guide

🌎 Velg språket ditt

English Norsk Dansk Deutsche Nederlands Svenska Français Español Chinese (简体中文) Italiano Japanese (日本語) Polskie Português Russian (русский)
ada
Ada
● Online
Previous
Score: NA
Next
✖️