Node JS Interview Questions 2018

0
106
views

1. What is Node js?

Node Js is one of the most popular and powerful server technologies today.
It allows you built the entire website only in one programming Language i.e Javascript. Node js is free and open source server technology that uses Javascript to create complete web software.
It runs on various platforms like Windows, Linux, Unix, Mac OS X, etc.

2. Explain CLI.

CLI stands for Command Line Interface. It is a utility or program on your computer where users type commands to perform some action or run some script rather than clicking on the screen.
There are different types of command line interfaces depending on which operating system you are using. We have listed some of them below.

  • Bash on Linux.
  • Terminal of Mac.
  • Command Prompt or Powershell on Windows
  • Shell/ Command line/terminal on Unix and Ubuntu

3. In which Language Node Js is written?

Node js is written in C, C++,JavaScript.It uses Google’s open source V8 Javascript Engine to convert Javascript code to C++.

4. Who is the author of Node Js?

Node Js is written by Ryan Dahl.

5. Explain What is a Javascript Engine?

A Javascript Engine is a program that converts code written in Javascript to something that computer processor understands.

6. Explain V8 Engine?

V8 is Google’s open source high-performance JavaScript engine, written in C++ and used in Google Chrome, the open source browser from Google, and in Node.js, among others. It implements ECMAScript as specified in ECMA-262, and runs on Windows 7 or later, macOS 10.5+, and Linux systems that use IA-32, ARM, or MIPS processors. V8 can run standalone or can be embedded into any C++ application.
Source: https://developers.google.com/v8/

7. What is ECMAScript?

ECMAScript is the standard on which Javascript is based on. It was created to standardize Javascript. It is commonly used for client-side scripting on the World Wide Web and used by Node Js for writing server applications and services.

8. How can you check the installed version of Node Js?

Use node -v command to check the installed version of Node Js.

Aslo Read Express js interview questions

9. Explain What is NPM?

NPM stands for node package manager. It is default Package Manager for JavaScript programming language. NPM is used for installing/updating packages and modules of Javascript.

10. Explain Modules in Node Js?

Modules are reusable block of code whose existence does not impact other code in any way. It is not supported by Javascript. Modules are introduced in ES6. Modules are important for Maintainability, Reusability, and Namespacing of Code.

Read More Questions From

Node JS Interview Questions

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here