Are you a candidate looking to sharpen your skills? Try our practice tests or view sample interview questions & Get hired by the best. Click Here×

Express JS Online Assessment Test

Topics Covered

  • Local Storage
  • Form Data
  • Server and PortsTemplate Engines
  • Express JS Basics
  • Building APIs and Routing
  • Functions
  • Rendering Template
  • Databases
  • ES6 and Logic

Useful for hiring

  • Express.JS Developer

Start hiring job-fit candidates using this assessment

GET A DEMO

"Finding quality talent is a challenge more so when you consider the sheer number of resumes we get each year. To top this, the time we spent on our recruitment process was humongous. Interview Mocha helped us to cut down on our candidate filtration time by 40%, making it our preferred assessment tool."

Pedro Furtado, Altran,
Capacity Manager
Question

Imagine that you sent following ajax request:
$.post("/process", {name:'john'}, function(data){
    // Do some stuff
});
 
What will be the answer from the server?
Tip: On server side, we have the code which is given below
 
Code:
app.post('/process', function(req, res){
    var data = '';
 
    if(req.xhr){
        data += 'One';
    }
 
    if(req.body.name){
        data += 'Two';
    }
 
    res.send(data);
});

Answer
    • 'OneTwo'

    • 'One'

    • 'Two'

    • ' '

Question

Which of the following codes have smallest error probability?
 
Code 1:
fs.rename('/tmp/hello', '/tmp/world', (err) => {
  if (err) throw err;
  console.log('renamed complete');
});
fs.stat('/tmp/world', (err, stats) => {
  if (err) throw err;
  console.log(`stats: ${JSON.stringify(stats)}`);
});
 
Code 2:
fs.rename('/tmp/hello', '/tmp/world', (err) => {
  if (err) throw err;
  fs.stat('/tmp/world', (err, stats) => {
    if (err) throw err;
    console.log(`stats: ${JSON.stringify(stats)}`);
  });
});
 
Code 3:
fs.rename('/tmp/hello', '/tmp/world', (err) => {
  if (err) throw err;
  var fs = 'fs';
  fs.stat('/tmp/world', (err, stats) => {
    if (err) throw err;
    console.log(`stats: ${JSON.stringify(stats)}`);
  });
});

Note: There can be multiple correct answers to this question.

Answer
    • Code 1

    • Code 2

    • Code 3

    • None of the mentioned

Question

What will be the output of the below code in the console?
 
File: my_module.js
exports.name = 'Zeus';
 
Code:
var my_module = require('./mymodule');
console.log((function(settings){
    return settings.split('').reverse().join('')
})(my_module.name));

Answer
    • Error

    • Zeus

    • undefined

    • sueZ

Test details:

This Express interview Test enables employers and recruiters to identify & hire Express JS Developer by evaluating working skills and job readiness. For this reason, the emphasis is laid upon evaluating the knowledge of applied skills gained through real work experience, rather than theoretical knowledge.

Test Details: 30 minutes

20 Application Questions


The combination of Application questions helps to evaluate Technical as well as practical Skills of Candidates.

Test description:

Express Test helps Recruiters & Hiring Managers to effectively assess the skills of the Express JS developer before an interview. Express.JS or simply Express is a web application which provides a robust set of features for the web and mobile applications. It is an open source framework developed and maintained by the Node.js foundation. This Express JS online test is designed to check the development and programming skills of Express JS Developer - As per Industry Standards.

Express.JS Assessment Test contains questions on following Topics:
 

  • Local Storage

  • Form Data

  • Server and PortsTemplate Engines

  • Express JS Basics

  • Building APIs and Routing

  • Functions

  • Rendering Template

  • Databases

  • ES6 and Logic


Express JS development Test is designed by our subject matter experts to gauge the knowledge of Express JS consultant & developers about Express JS web application framework for Node.JS before hiring. Using powerful reporting, you can have a detailed analysis of the test results to help you make a better hiring decision and predict the candidate’s performance.

The test contains MCQ's (Multiple Choice Questions), MAQ's (Multiple Answer Questions), Fill in the Blank, Descriptive, True or False.

Good News! You can customize this test as per your requirement

  • Choose and add questions from Interview Mocha question libraries

  • Add your own set of questions

  • Customize test settings like duration, number of questions, passing score, web proctoring and much more

  • Mail us at support@interviewmocha.com to create a custom test

Looking for a tailor-made test, to suit your assessment needs?

Get in touch

Global companies using Mocha assessments

  • altran
  • credit suisse
  • sephora
  • nielsen
  • capgemini
  • akamai

How Mocha assessments are brewed

Speed up your IT recruitment with Interview Mocha

  • 500+ IT skill tests
  • 20+ coding languages
  • 50+ domain knowledge tests
  • 100+ digital 2.0 skill tests
  • Customer focus aptitude tests
  • Enterprise ready features & more...
GET A DEMO

Why hiring managers and recruiters across the globe love Interview Mocha

Take your first step to hire job fit candidates

GET A DEMO