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, Roads, Table of Names, Word Count, Cards, New Folder, Log Patch, Loading Bar, Ingredients, Array Search, Reorder, 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, Cheapest Product, Christmas Tree, Cities, Confirm, Countries, Date Transform, Department Report, Developers, Editor, Employee Manager, Format Table, Height, Hide Button, Hospital Patients, Index Performance, Menu Items, Merge Stock Index, Movies, Movies Live, Projects, Rectangles, Restaurant Menu, Retirees, Sales, SMS Messages, Student Activities, Tasks, Transactions, Youngest Child, iframe, Keywords, Label Color, Link, Loading, Log Parser, Logo, Paragraph, Post Comment, Product Rating, Products, Row Appender, Scale Font Size, Screen Reader, Share Button, Shirts, Snapshot, TestDome Logo, Timesheet, Upload, Username, Vectors, Warehouse, Weighted Average, Widgets, Language Teaching, Welfare Organization, Manager Sales, Delete Orders, Validation, Timer, Prefix, Screen, Data Entry, Email Tables, Student Max Score, Average Salary, Movie Genres, Student Rankings, Auto Show, Ice Cream Flavors, Poll, Breakfast Menu
Skills
JavaScript Arrays Closures HTML/CSS CSS selectors Styling Exceptions DOM manipulation Event handling Language SQL Conditions Views Strings Monkey patching HTML5 Subqueries Update Recursion 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 Aggregation Fonts Dialog box Ordering Regex Insert Left join Bug fixing Objects Asynchronous calls Indexes Union Group by Joins Hyperlink IFrame Animation Serialization XML Content manipulation JSON Sorting Accessibility Forms CSS layout Tables Inheritance OOP SQL CASE CTE Delete Callback Lazy Evaluation LazyList Classes ECMAScript 2015 Borders Inline styles Responsive design Selectors
Score Distribution
# of candidates
0-33%
34-66%
67-100%
Score
Pricing For Premium Questions