This JavaScript, Node.js, and SQL Online Test Separates Good From Bad Hires

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 JavaScript, Node.js, and SQL online test assesses candidates' knowledge of programming in the JavaScript language, specific Node.js features, and their ability to use SQL.

It's an ideal test for pre-employment screening. A good Node.js developer needs to be able not only to solve problems using Node.js but also to write and analyze SQL queries to access a database.

This online test requires candidates to solve coding problems and find and fix bugs in multiple technologies.

Sample public questions

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.

JavaScript
Error Handling
Language
Easy
3 min
code
Public

Consider the following package.json for a Node.js application:

{
  "name": "skill-measure-app",
  "private": true,
  "version": "1.0.0",
  "main": "lib/main.js",
  "scripts": {
    "build": "npm run cleanup & npm run test & npm run publish",
    "cleanup": "rm -fr ./lib",
    "test": "jest",
    "publish": "npm publish lib"
  },
  "dependencies": {
     "jest": "^23.0.1",
     "custom-package": "file:../custom-package"
  }
}

Select all the correct statements.

Node.js
NPM
Easy
3 min
mca
Public

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
SQL
Aggregation
Select
Easy
3 min
code
Public

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the JavaScript, Node.js, and SQL test with public questions.

Take a Certification Test

Sample silver certificate

Peter Gibbons

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

95 more premium JavaScript, Node.js, and SQL questions

  Positive Numbers,   Truthy Expressions,   Fahrenheit Converter,   Shopping Cart,   Weather Data,   File Exists,   Retry Request,   Run Sequentially,   Max Sum,   Launch Time,   Stream Transform,   Function Wrapper,   Package Declaration,   Add Id,   Hash Bug,   Game Action,   Arrange Promises,   Log Parser,   Unique Numbers,   Load URL,   Photon Frequency,   Trading Data Paging,   Color Codes,   Tax Calculator,   Confirm,   Friend,   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,   Memory Game,   River Discharge,   ATM Locations,   New Folder,   Post Comment,   Row Appender,   Vectors,   Segment,   Special Actions,   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,   Merge Stock Index,   Date Transform.

Skills and topics tested

  • JavaScript
  • Closures
  • Language
  • Node.js
  • Modules
  • Events
  • Asynchronous Programming
  • Async-Await
  • Promise
  • Algorithmic Thinking
  • Timing Events
  • JSON
  • Stream
  • Exceptions
  • NPM
  • Event Loop
  • Bug Fixing
  • Event Emitter
  • Serialization
  • XML
  • Dictionary
  • Ajax
  • HTTP
  • Arrays
  • Pagination
  • Sorting
  • Associative Arrays
  • Classes
  • Objects
  • Dialog Box
  • Event Handling
  • Graphs
  • SQL
  • Conditions
  • Views
  • Select
  • Create Index
  • Database Schema
  • Performance Tuning
  • Alter Table
  • Constraints
  • Create Table
  • Aggregation
  • Subqueries
  • Ordering
  • Indexes
  • Group by
  • Update
  • Insert
  • Joins
  • Left Join
  • Right Join
  • Delete
  • SQL CASE
  • Union
  • CTE
  • Strings
  • Database Normalization
  • Content Manipulation
  • DOM Manipulation
  • Arithmetic
  • Iteration
  • Attribute Manipulation
  • Forms
  • Recursion
  • ECMAScript 2015
  • Asynchronous Calls
  • Callback
  • Regex
  • Styling
  • HTML5
  • Monkey Patching

For job roles

  • Back-End Developer
  • JavaScript Developer
  • Node.js Developer
  • SQL Developer

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.

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?