NODE.JS MOCK TEST NODE.JS MOCK TEST I

Similar documents
NODE.JS MOCK TEST NODE.JS MOCK TEST IV

ANGULARJS - MOCK TEST ANGULARJS MOCK TEST II

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST III

HIBERNATE MOCK TEST HIBERNATE MOCK TEST I

JSP MOCK TEST JSP MOCK TEST III

MAVEN MOCK TEST MAVEN MOCK TEST I

HTML5 MOCK TEST HTML5 MOCK TEST I

MAVEN MOCK TEST MAVEN MOCK TEST IV

NODE.JS MOCK TEST NODE.JS MOCK TEST II

GWT MOCK TEST GWT MOCK TEST I

NODE.JS MOCK TEST NODE.JS MOCK TEST III

DB2 MOCK TEST DB2 MOCK TEST I

JAVA MOCK TEST JAVA MOCK TEST III

JAVA MOCK TEST JAVA MOCK TEST IV

MAVEN MOCK TEST MAVEN MOCK TEST III

C# MOCK TEST C# MOCK TEST II

Node.js. Node.js Overview. CS144: Web Applications

JAVASCRIPT MOCK TEST JAVASCRIPT MOCK TEST I

EJB MOCK TEST EJB MOCK TEST IV

JAVA MOCK TEST JAVA MOCK TEST II

DESIGN PATTERNS MOCK TEST DESIGN PATTERNS MOCK TEST II

PERL MOCK TEST PERL MOCK TEST II

JDBC MOCK TEST JDBC MOCK TEST IV

CICS MOCK TEST CICS MOCK TEST I

C# MOCK TEST C# MOCK TEST I

PYTHON MOCK TEST PYTHON MOCK TEST III

COBOL MOCK TEST COBOL MOCK TEST III

JS Event Loop, Promises, Async Await etc. Slava Kim

JSP MOCK TEST JSP MOCK TEST IV

Web Application Development

ANDROID MOCK TEST ANDROID MOCK TEST IV

GO MOCK TEST GO MOCK TEST I

HIVE MOCK TEST HIVE MOCK TEST III

VB.NET MOCK TEST VB.NET MOCK TEST III

Introduction to Express.js. CSC309 Feb. 6, 2015 Surya Nallu

CS 498RK FALL RESTFUL APIs

Lecture 2 Callbacks, Events, and Asynchronous Programming

Comet and WebSocket Web Applications How to Scale Server-Side Event-Driven Scenarios

HIBERNATE MOCK TEST HIBERNATE MOCK TEST IV

Microservices with Node.js

AWS Lambda + nodejs Hands-On Training

Adventures with BaseX and web applications. Andy Feb 2013

HIBERNATE MOCK TEST HIBERNATE MOCK TEST II

Node.js I Getting Started

Node.js. Mendel Rosenblum. CS142 Lecture Notes - Node.js

MEAN Stack. 1. Introduction. 2. Foundation a. The Node.js framework b. Installing Node.js c. Using Node.js to execute scripts

Need to Node: Profiling Node.js Applications

QC MOCK TEST QC MOCK TEST

NODE.JS SERVER SIDE JAVASCRIPT. Introduc)on Node.js

CONVERTIGO SDK THE ULTIMATE CLIENT MOBILE API FOR CONVERTIGO MBAAS

Module 6 Node.js and Socket.IO

Smashing Node.JS: JavaScript Everywhere

SERVLETS MOCK TEST SERVLETS MOCK TEST III

JCL MOCK TEST JCL MOCK TEST III

Advance Mobile& Web Application development using Angular and Native Script

QTP MOCK TEST QTP MOCK TEST II

Node.js With Steroids Make Better Node.js Application with Native Add-Ons

Java vs JavaScript. For Enterprise Web Applications. Chris Bailey IBM Runtime Technologies IBM Corporation

CSS MOCK TEST CSS MOCK TEST III

run your own search engine. today: Cablecar

SPRING MOCK TEST SPRING MOCK TEST I

Index. Bare-bones connect application, 125 Binary JSON (BSON), 171. Callback functions asynchronous code ifelse, 199 loops,

Corey Clark PhD Daniel Montgomery

JCL MOCK TEST JCL MOCK TEST IV

PL/SQL MOCK TEST PL/SQL MOCK TEST IV

HBASE MOCK TEST HBASE MOCK TEST III

Salvatore Rinzivillo VISUAL ANALYTICS

A practical introduction

Backend Development. SWE 432, Fall Web Application Development

JSON Evaluation. User Store

Node Js Mongodb And Angularjs Webydo

CS193X: Web Programming Fundamentals

Active Endpoints. ActiveVOS Platform Architecture Active Endpoints

STARCOUNTER. Technical Overview

DESIGN AND IMPLEMENTATION OF SAGE DISPLAY CONTROLLER PROJECT

Getting Started with IBM Bluemix Hands-On Workshop. Module 6a: Services

Indium Documentation. Release Nicolas Petton

MOdern Java(Script) Server Stack

A Sense of Time for JavaScript and Node.js

Full Stack Web Framework with BBG

Quick Desktop Application Development Using Electron

Performance Case Study

When learning coding, be brave

Reactive Web Programming

JavaScript on the Command Line & PRATIK PATEL CTO TripLingo Labs

INF5750. Introduction to JavaScript and Node.js

IERG 4080 Building Scalable Internet-based Services

Distributed Systems Project 4 Assigned: Friday March 20 Due: Friday April 3, 11:59pm

VB.NET MOCK TEST VB.NET MOCK TEST I


IBM Image-Analysis Node.js

Jquery.ajax Call Returns Status Code Of 200 But Fires Jquery Error

get() method, 119, 190 Google s V8 JavaScript engine, 1

CS193X: Web Programming Fundamentals

Oracle9iAS Unified Messaging

Enterprise Web Development

What is Node.js? Tim Davis Director, The Turtle Partnership Ltd

Arjen de Blok. Senior Technical Consultant bij ICT Groep ( sinds 1995 Programmeren sinds 1990 Technologiën. Links

CS371m - Mobile Computing. Persistence - Web Based Storage CHECK OUT g/sync-adapters/index.

NODE.JS - NET MODULE

Transcription:

http://www.tutorialspoint.com NODE.JS MOCK TEST Copyright tutorialspoint.com This section presents you various set of Mock Tests related to Node.js Framework. You can download these sample mock tests at your local machine and solve offline at your convenience. Every mock test is supplied with a mock test key to let you verify the final score and grade yourself. NODE.JS MOCK TEST I Q 1 - Which of the following is true about Node.JS? A - Node.js is a JavaScript based framework/platform built on Google Chrome's JavaScript V8 Engine. B - Node.JS is used to delevop I/O intensive web applications like video streaming sites, single page applications and other web application. C - Node.js is open source and is completely free to use. Q 2 - What is Node.JS? A - Node.js is a web server. B - Node.js is a JavaScript based framework/platform built on Google Chrome's JavaScript V8 Engine. C - Node.js is a java based framework. Q 3 - All APIs of Node.JS are. A - Asynchronous B - Synchronous C - Both of the above. Q 4 - Why code written in Node.JS is pretty fast although being written in JavaScript?

A - Node.JS internally converts JavaScript code to Java based code and then execute the same. B - Node.JS internally converts JavaScript code to C based code and then execute the same. C - Being built on Google Chrome's V8 JavaScript Engine. Q 5 - How Node based web servers are different from traditional web servers? A - Node based server process request much faster than traditional server. B - Node based server uses a single threaded model and can services much larger number of requests than traditional server like Apache HTTP Server. C - There is no much difference between the two. Q 6In which of the following areas, Node.js is perfect to use? A - I/O bound Applications B - Data Streaming Applications C - Data Intensive Realtime Applications DIRT Q 7 In which of the following areas, Node.js is not advised to be used? A - Single Page Applications B - JSON APIs based Applications C - CPU intensive applications D - Data Intensive Realtime Applications DIRT Q 8 Which of the following statement is valid to use a Node module http in a Node based application? C - package http; D - import http; Q 9 REPL stands for. A - Research Eval Program Learn B - Read Eval Print Loop C - Read Earn Point Learn D - Read Eval Point Loop Q 10Which of following command starts a REPL session?

A - $ node B - $ node start C - $ node repl D - $ node console Q 11 - What is use of Underscore Variable in REPL session? A - to get the last command used. B - to get the last result. C - to store the result. Q 12 -What npm stands for? A - Node Package Manager B - Node Project Manager C - New Project Manager D - New Package Manager Q 13 - Which of the following command will show version of Node? A - $ npm --version B - $ node --version C - $ npm getversion D - $ node getversion Explaination Executing $ node --version command will show the version of Node instance. Q 14 - Which of the following command will show version of npm? A - $ npm --version B - $ node --version C - $ npm getversion D - $ node getversion Q 15 - By default, npm installs any dependency in the local mode. A - true B - false

Q 16 - By default, npm installs any dependency in the global mode. A - true B - false Q 17 - Which of the following command will show all the modules installed globally? A - $ npm ls -g B - $ npm ls C - $ node ls -g D - $ node ls Q 18 - Which of the following command will show all the modules installed locally. A - $ npm ls -g B - $ npm ls C - $ node ls -g D - $ node ls Q 19 - Which of the following is true about package.json? A - package.json is present in the root directory of any Node application/module. B - package.json is used to define the properties of a package. C - package.json can be used to update dependencies of a Node application. Q 20 - What is Callback? A - Callback is an asynchronous equivalent for a function. B - Callback is a technique in which a method call back the caller method. C - Both of the above. Q 21 - Node js is a single threaded application but supports concurrency. A - true B - false Q 22 - Which of the following is true with respect to Node. A - Every API of Node js are asynchronous.

B - Node being a single thread, and uses async function calls to maintain the concurrency. C - Node thread keeps an event loop and whenever any task get completed, it fires the corresponding event which signals the event listener function to get executed. Q 23 - Which of the following provides in-built events. A - events B - callback C - throw D - handler Q 24 - Which of the following is true about EventEmitter.on property? A - on property is used to fire event. B - on property is used to bind a function with the event. C - on property is used to locate an event handler. Q 25 - Which of the following is true about EventEmitter.emit property? A - emit property is used to locate an event handler. B - emit property is used to bind a function with the event. C - emit property is used to fire an event. ANSWER SHEET Question Number Answer Key 1 D 2 B 3 A 4 C 5 B 6 D 7 C 8 A 9 B

10 A 11 B 12 A 13 B 14 A 15 A 16 B 17 A 18 B 19 D 20 A 21 A 22 B 23 A 24 B 25 C Loading [MathJax]/jax/output/HTML-CSS/jax.js