HTML/CSS, JavaScript, Scala, and SQL Online Test

TestDome skill assessments are used by more than 5,000 companies and 450,000 individual test takers.

Jobseekers: Get a Certificate

Take a Practice Test

Companies: Try First, Pay Later

Sign Up To Use This Test

The HTML/CSS, JavaScript, Scala, and SQL online test assesses candidates' knowledge across the whole Web stack from HTML, CSS, and JavaScript on the Web front-end over Scala on the back-end to SQL for data access.

It's an ideal test for pre-employment screening. A good full stack Scala developer needs to be able to use a wide range of technologies.

This online test requires candidates to solve coding problems, find and fix bugs in multiple technologies using Scala as the programming language.

Recommended Job Roles
Full-Stack Developer
JavaScript Developer
Scala Developer
SQL Developer
Web Developer
Sample Candidate Report

Sample Free Questions

Ensure

3min
  -  
Easy 
  -  
CODE

JavaScript Error handling Language Public

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.

Students

3min
  -  
Easy 
  -  
CODE

SQL Aggregation Select Public

Given the following data definition, write a query that returns the number of students whose first name is John. String comparisons should be case sensitive.

TABLE students
   id INTEGER PRIMARY KEY,
   firstName VARCHAR(30) NOT NULL,
   lastName VARCHAR(30) NOT NULL

Avatar

7min
  -  
Easy 
  -  
CODE

HTML/CSS Borders Element size Styling Public

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

Merge Names

10min
  -  
Easy 
  -  
CODE

Scala Vector Public New

Implement the uniqueNames function. When passed two vectors of names, it will return a vector containing the names that appear in either or both input vectors. The returned vector should have no duplicates.

For example, calling MergeNames.uniqueNames(Vector("Ava", "Emma", "Olivia"), Vector("Olivia", "Sophia", "Emma")) should return a vector containing Ava, Emma, Olivia, and Sophia in any order.

Use Free Questions On a Trial Plan

Premium Questions

The premium question library contains our unique, hand-crafted questions. We offer a refund if you find any of them answered online.

Questions
Filter, Positive Numbers, Links, Function Wrapper, Double, Truthy Expressions, Delete Orders, Roads, Table of Names, Word Count, Cards, New Folder, Log Patch, Loading Bar, Ingredients, Array Search, Reorder, Screen, Segment, Hobbies, Read First Line, Numbers To Text, A Tag, Ad, Addition, Article Style, ATM Locations, Authors, Autocomplete, Baby Names, Ban Users, Bank Branches, Blog, Bookmark, Breakfast Menu, Cheapest Product, Christmas Tree, Cities, Confirm, Countries, Data Entry, Date Transform, Department Report, Developers, Editor, Email Tables, Employee Manager, Format Table, Height, Hide Button, Hospital Patients, Index Performance, Menu Items, Merge Stock Index, Movies, Movies Live, Poll, Projects, Rectangles, Restaurant Menu, Retirees, Sales, SMS Messages, Student Activities, Student Max Score, Tasks, Transactions, Youngest Child, Ice Cream Flavors, iframe, Keywords, Label Color, Link, Loading, Log Parser, Logo, Paragraph, Post Comment, Prefix, Product Rating, Products, Row Appender, Scale Font Size, Screen Reader, Share Button, Shirts, Snapshot, Stopwatch, TestDome Logo, Timesheet, Upload, Username, Validation, Vectors, Warehouse, Weighted Average, Widgets, Language Teaching, Student Rankings, Average Salary, Welfare Organization, Auto Show, Movie Genres, Manager Sales
Skills
JavaScript Arrays Closures HTML/CSS CSS selectors Styling Exceptions DOM manipulation Event handling Language SQL Delete Subqueries Conditions Views Strings Monkey patching HTML5 Update Recursion Bug fixing Classes ECMAScript 2015 Arithmetic Iteration Scala Attribute manipulation Element spacing CSS advanced Element size Constraints Create table Database schema Select Create index Performance tuning Flexbox Positioning Alter table Elements and attributes Semantic tags Bookmarks Selectors Aggregation Fonts Dialog box Ordering Forms Regex Insert Left join Borders Inline styles Objects Asynchronous calls Indexes Union Group by Joins Responsive design Hyperlink IFrame Animation Serialization XML Content manipulation Lazy Evaluation LazyList JSON Sorting Accessibility Callback CSS layout Tables Inheritance OOP SQL CASE CTE
Score Distribution
Loading...
Pricing For Premium Questions