This Node.js 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 Node.js online test assesses candidates' knowledge of programming in the JavaScript language running on the Node.js environment and their ability to solve asynchronous problems.

It's an ideal test for pre-employment screening. A good Node.js developer needs to be able to solve problems using JavaScript and solve asynchronous problems using various programming patterns.

This online test requires candidates to solve coding problems in the Node.js environment and to find and fix bugs in a Node.js program.

Sample public questions

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

A company hosts its website and a product API on same server using the code below:

let http = require("http");

let commonResponse = function(response){
  response.writeHead(200, { "Content-Type": "text/html" });
  response.write("Request Completed");
}

let handleApi = function(req, res){
  if(req.method == "POST"){
    commonResponse(res);
    res.end();
  }
}

let handleWeb = function(req, res){
  commonResponse(res)
  res.end();
}

http.createServer(handleApi).listen(4513);
http.createServer(handleWeb).listen(4514);

Select all the correct answers.

Node.js
Standard Library
Easy
5 min
mca
Public

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the Node.js 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

Skills and topics tested

  • Node.js
  • Modules
  • Events
  • Asynchronous Programming
  • Async-Await
  • Promise
  • JSON
  • Stream
  • NPM
  • Event Loop
  • Bug Fixing
  • Event Emitter
  • Exceptions

For job roles

  • Node.js 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?

Not exactly what you're looking for?

Related Node.js Programming Tests: