This HTML/CSS, JavaScript, Python Algorithms, and SQL Online Test Separates Good From Bad Hires

Check our public questions below

Solve questions to get feedback or
take a practice test and get a free certificate.

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The HTML/CSS, JavaScript, Python Algorithms, and SQL online test assesses candidates' knowledge across the whole Web stack. HTML, CSS, and JavaScript on the Web front-end, algorithmic-thinking skills in Python, and SQL on the back-end for data access.

It's an ideal test for pre-employment screening. A good full stack Python developer needs to be able to use a wide range of technologies, including solving back-end problems of a significant computational complexity.

This online test requires candidates to solve coding problems, find and fix bugs in multiple technologies, and analyze or design an algorithm using Python as the programming language.

Sample public questions

Easy
7 min
code
Public
HTML/CSS
Borders
Element Size
Styling

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

Easy
15 min
code
Public
Python
Algorithmic Thinking
Recursion
Tree

A three-node binary tree.Binary search tree (BST) is a binary tree where the value of each node is larger or equal to the values in all the nodes in that node's left subtree and is smaller than the values in all the nodes in that node's right subtree.

Write a function that, efficiently with respect to time used, checks if a given binary search tree contains a given value.

For example, for the following tree:

  • n1 (Value: 1, Left: null, Right: null)
  • n2 (Value: 2, Left: n1, Right: n3)
  • n3 (Value: 3, Left: null, Right: null)

Call to contains(n2, 3) should return True since a tree with root at n2 contains number 3.

Easy
3 min
code
Public
JavaScript
Error Handling
Language

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.

Easy
7 min
code
Public
SQL
Aggregation
Group by
Select

App usage data are kept in the following table:

TABLE sessions
  id INTEGER PRIMARY KEY,
  userId INTEGER NOT NULL,
  duration DECIMAL NOT NULL

Write a query that selects userId and average session duration for each user who has more than one session.

See the example case for more details.

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the HTML/CSS, JavaScript, Python Algorithms, and SQL test with public questions.

Take a Certification Test

Sample silver certificate

Sunshine Caprio

Java and SQL

TestDome
Certificate

TestDome logo on certificate

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

135 more premium HTML/CSS, JavaScript, Python Algorithms, and SQL questions

Positive Numbers, Links, Truthy Expressions, Ad, Article Style, Baby Names, Cities, Editor, Format Table, Keywords, Label Color, Loading, Logo, Shirts, Upload, Warehouse, Widgets, iframe, Max Sum, Launch Time, Function Wrapper, Link, Log Parser, Unique Numbers, Load URL, Photon Frequency, Addition, Color Codes, Tax Calculator, Bookmark, Screen Reader, Game Offer, Bicycle Report, Curious Leaf, Gaming Console, Travel Blog, Confirm, Blog, Friend, Roads, Authors, Autocomplete, 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, Christmas Tree, Timesheet, Email Tables, Data Entry, Price List, Ice Cream Flavors, Memory Game, TestDome Logo, River Discharge, ATM Locations, Post Comment, Row Appender, Segment, Height, Product Rating, Validation, Cards, Array Search, Screen, Timer, Username, Snapshot, Scale Font Size, Products, Paragraph, Hide Button, A Tag, Hobbies, Loading Bar, Log Patch, Double, Table of Names, Filter, Transactions, Reorder, Share Button, Book Sale, Unique Numbers, Moving Total, Max Sum, Internal Nodes, Friend, Merge Stock Index, Date Transform, Ban Users, Trading Data Paging, New Folder, Shipping, Chain Link, Node, Read Write Execute, Veterinarian, Numbers To Text, Chinese Box, Stories, Car Rental, Paper Strip, Paper Strip, Flight Connections, Vectors, Special Actions.

Skills and topics tested

  • JavaScript
  • Closures
  • HTML/CSS
  • CSS Selectors
  • Styling
  • Language
  • Element Spacing
  • Flexbox
  • Positioning
  • Fonts
  • Elements and Attributes
  • HTML5
  • Animation
  • Forms
  • Hyperlink
  • IFrame
  • Algorithmic Thinking
  • Timing Events
  • Exceptions
  • Serialization
  • XML
  • Dictionary
  • Ajax
  • HTTP
  • Promise
  • Arrays
  • CSS Advanced
  • Element Size
  • Associative Arrays
  • Classes
  • Objects
  • Bookmarks
  • Accessibility
  • CSS Basics
  • Tables
  • Responsive Design
  • UI
  • Dialog Box
  • Event Handling
  • Semantic Tags
  • Graphs
  • SQL
  • Conditions
  • Views
  • Select
  • Create Index
  • Database Schema
  • Performance Tuning
  • Constraints
  • Create Table
  • Aggregation
  • Subqueries
  • Ordering
  • Bug Fixing
  • Indexes
  • Alter Table
  • Group by
  • Update
  • Insert
  • Joins
  • Left Join
  • Right Join
  • Delete
  • SQL CASE
  • Union
  • CTE
  • Borders
  • Inline Styles
  • Selectors
  • Strings
  • CSS Layout
  • Database Normalization
  • Content Manipulation
  • DOM Manipulation
  • Arithmetic
  • Attribute Manipulation
  • Recursion
  • ECMAScript 2015
  • Asynchronous Calls
  • Callback
  • Regex
  • JSON
  • Sorting
  • Iteration
  • Monkey Patching
  • Python
  • Set
  • Lists
  • Tree
  • Pagination
  • Linked List
  • Queue
  • Data Structures
  • Dynamic Programming

For job roles

  • Data Analyst
  • Full-Stack Developer
  • JavaScript Developer
  • Python Developer
  • SQL Developer
  • Web Developer

Sample candidate report

What others say

Decorative quote

Simple, straight-forward technical testing

TestDome is simple, provides a reasonable (though not extensive) battery of tests to choose from, and doesn't take the candidate an inordinate amount of time. It also simulates working pressure with the time limits.

Jan Opperman, Grindrod Bank

Product reviews

G2 High Performer 2022G2 Read Our Reviews

Used by

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

90+ skills

From JavaScript and SQL to English and customer support. See all questions to filter by skill.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL, or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Not exactly what you're looking for?

Related HTML/CSS, JavaScript, Python Algorithms, and SQL Programming Tests: