Check our public questions below
Solve questions to get feedback or
take a practice test and get a free certificate.
Solve questions to get feedback or
take a practice test and get a free certificate.
Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.
The PHP and SQL online test assesses candidates' knowledge of programming in the PHP language as well as their ability to use SQL.
It's an ideal test for pre-employment screening. A good PHP developer needs to not only solve problems using PHP but also write and analyze SQL queries used for communication with the database.
This online test requires candidates to solve coding problems in PHP and to write SQL queries that extract, combine, and manipulate data.
You're maintaining the PHP back-end of a Tree Planting website.
The registerForEvent function is called by the server when interested people fill a form to register for a tree planting event.
The register function it calls performs the registration logic.
Consider the code for the registerForEvent function:
function registerForEvent($name, $seedBagsNeeded)
{
$sanitizedName = filter_var($name, FILTER_SANITIZE_SPECIAL_CHARS);
$filteredBagsNeeded = filter_var($seedBagsNeeded, FILTER_VALIDATE_INT);
register($sanitizedName, $filteredBagsNeeded);
}
What is correct about the filtering and sanitization done in the code above?
Given the following data definition, write a query that returns the number of students whose first name is John.
TABLE students id INTEGER PRIMARY KEY, firstName VARCHAR(30) NOT NULL, lastName VARCHAR(30) NOT NULL
Earn a free certificate by achieving top 25% on the PHP and SQL test with public questions.
Take a Certification TestPeter Gibbons
Java and SQL
TestDome
Certificate
Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.
Greeter, Last Key, Height, Shipping, Numbers to Text, Array Sum, Category Tree, Chain Link, Hobbies, Paragraph, Products, Username, View Count, Language Teacher, Crop Ratio, Log Parser, Kilometer Converter, String Occurrence, Special Actions, Array Search, Roads, Authors, Autocomplete, Ban Users, Bank Branches, Cheapest Product, Countries, Developers, Hospital Patients, Index Performance, Menu Items, Movies, Projects, Rectangles, Restaurant Menu, Retirees, SMS Messages, Poll, Users and Accounts, Matching Clothes, Agents, Sales, Employee Manager, Auto Show, Delete Orders, Welfare Organization, Tasks, Manager Sales, Student Rankings, Student Activities, Youngest Child, Movies Live, Department Report, Ingredients, Average Salary, Movie Genres, Segment, River Discharge, Vectors, ATM Locations, Cookie, Read Write Execute, Read First Line, Filter, Transactions, Fire Dragon, Unique Numbers, Shipping Service, Action Stack, Flower Shop, PC Parts Seller, Merge Stock Index, Date Transform.
From web development and database administration to project management and customer support. See all pre-made tests.
From JavaScript and SQL to English and customer support. See all questions to filter by skill.
Mix questions for different skills or even custom questions in one test. See an example.