wayground logo

Free Printable Worksheets

NEW

Font size

S
M
L
XL
Worksheets

Introduction to Nodejs

Total questions: 15

Worksheet time: 8mins

Name
Class
Date
1.

Which of the following is does NOT describe Nodejs

a)

NodeJs is a JavaScript runtime engine

b)

Nodejs has a large and active community that provides extensive support and libraries.

c)

NodeJs uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.

d)

Nodejs is NOT a crossplatform software

2.

One of the following is NOT a runtime?

a)

Nodejs

b)

Django

c)

JVM

d)

.NET

3.

A runtime environment is _____

a)

the environment in which a program is executed

b)

the environment in which a program is built

c)

the environment in which a program is assembled

d)

the environment in which a program is debugged

4.

A runtime does NOT do which of the following?

a)

Manage Thread

b)

Compile/Interpret

c)

UI rendering

d)

Manage IO

5.

What is NOT a key feature in Nodejs?

a)

Asynchronous

b)

Multithreaded

c)

Event-driven

d)

Crossplatform

6.

Pick the correct statement as regarding Nodejs Event

a)

Events can be anything from an incoming HTTP request to reading data from a file or a database.

b)

Events can be anything from a button click or a mouse hover.

c)

Events can be anything from a terminal opened or closed

d)

Events can be anything from browser window open or closed

7.

When an event is triggered, Node.js executes a corresponding _____ to handle the event's response.

a)

built-in function

b)

callback function

c)

recursive function

d)

trigger function

8.

Even though Nodejs is single threaded, what make concurrent connections and I/O operations

a)

event machine

b)

event system

c)

event handler

d)

event loop

9.

Nodejs is Cross-platform. "Cross-platform" refers to the ability of a software application or system to ___

a)

run on multiple operating systems or platforms

b)

run with multiple frameworks and programming languages

c)

run on multiple channels and services

d)

run on multiple consoles

10.

What is the package manage for Nodejs?

a)

NPM

b)

Yarn

c)

JSM

d)

NM

11.

Which of the following can we NOT use Nodejs for?

a)

Restful APIs

b)

Streaming apps

c)

Real time apps

d)

High Definition Games

12.

Which programming language is primarily used in Node.js development?

a)

Python

b)

Java

c)

JavaScript

d)

Ruby

13.

What does the term "non-blocking" refer to in the context of Node.js?

a)

Node.js does not support blocking operations

b)

Node.js can only handle one request at a time

c)

Node.js can handle multiple requests simultaneously

d)

Node.js does not allow concurrent connections

14.

Which of the following is NOT a benefit of using NPM packages in Node.js projects?

a)

Accelerating development speed with pre-built solutions

b)

Improving code maintainability through code encapsulation

c)

Ensuring compatibility across different programming languages

d)

Enhancing functionality with third-party libraries

15.

Which Node.js framework is commonly used for building RESTful APIs?

a)

Angular.js

b)

React.js

c)

Express.js

d)

Vue.js