Web Development Online Assessment Questions & Answers
40 questions for the online assessment stage — 19 easy, 21 medium.
About the online assessment round
Most companies start with an online test: aptitude and reasoning, a few MCQs on core Web Development concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
Tips for the online assessment round
- Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task.
- Read every option before answering; tests often include two nearly correct choices.
- Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
- Attempt the questions you are sure about first, then return to the harder ones.
What is the difference between DOMContentLoaded and the load event?
Show answer
What is the difference between GET and POST methods in an HTML form?
Show answer
Explain INNER JOIN, LEFT JOIN and RIGHT JOIN.
Show answer
What is PHP and how does a PHP page get processed?
Show answer
What is the difference between sessions and cookies in PHP?
Show answer
What are data-* attributes and when do you use them?
Show answer
Create a responsive card grid that needs no media queries.
Show answer
What is MVC and how does Laravel follow it?
Show answer
What are custom events and when would you use them?
Show answer
What is the difference between innerHTML, textContent and innerText?
Show answer
When would you choose Flexbox and when CSS Grid?
Show answer
What is AJAX and how is it done today?
Show answer
Open and close an accessible modal using the native dialog element.
Show answer
How should passwords be stored in PHP?
Show answer
Write an accessible login form with proper labels.
Show answer
Emails sent from your website contact form land in spam. How do you fix it?
Show answer
What is the difference between WHERE and HAVING?
Show answer
What is the difference between preventDefault and stopPropagation?
Show answer
Center a div horizontally and vertically using Flexbox and Grid.
Show answer
What is the DOM?
Show answer
Build a todo list where items can be added and deleted using event delegation.
Show answer
What is the difference between px, em and rem units?
Show answer
Explain closures with an example.
Show answer
Should you use PDO or mysqli to connect to MySQL?
Show answer
How is querySelector different from getElementById and getElementsByClassName?
Show answer
What is Composer and how does PSR-4 autoloading work?
Show answer
What is the difference between id and class attributes?
Show answer
Validate and sanitise different types of input in PHP.
Show answer
What are PHP superglobals?
Show answer
The server's disk is full and the site has stopped saving data. What do you do?
Show answer
Write a debounce function and explain where it is used.
Show answer
What is the difference between DELETE, TRUNCATE and DROP?
Show answer
What is the difference between InnoDB and MyISAM?
Show answer
Explain database normalization up to third normal form.
Show answer
What is semantic HTML and why does it matter?
Show answer
Write a PHP login script using password_verify and sessions.
Show answer
Explain event bubbling and capturing.
Show answer
Explain include, require, include_once and require_once.
Show answer
Insert a record into MySQL securely using PDO.
Show answer
Frequently asked questions
What happens in the Web Development online assessment round?
Most companies start with an online test: aptitude and reasoning, a few MCQs on core Web Development concepts, and one or two short hands-on tasks. It filters a large number of applicants, so speed and accuracy both count.
How do I clear the online assessment round?
Practise under a timer: about one minute per MCQ and 15-20 minutes per hands-on task. Read every option before answering; tests often include two nearly correct choices. Use a stable internet connection, keep your camera on and avoid switching tabs in proctored tests.
Which round comes next?
A typical order is online assessment, telephonic screening, one or two technical rounds, a managerial round and HR. Use the other round pages to practise each stage.