NEW
Font size
WorksheetsNode JS
Total questions: 25
Worksheet time: 10mins
Which programming language is the Google V8 Engine designed for?
Java
JavaScript
Python
R
Which JavaScript library is used to create Desktop apps in Node.js?
React.js
React Native
Electron.js
Express.js
Which JavaScript library is used to create Progressive Web apps in Node.js?
React.js
React Native
Electron.js
Express.js
Node.js is a Closed-source Technology. True or False?
True
False
JavaScript used which of the following I/O model?
Non-Blocking I/O Model
Blocking I/O Model
None.
Node.js is ____________Threaded language
Single
Multi
Dual
Which of the following command is used to run a node.js program?
node run main.js
node start main.js
start main.js
node main.js
Which of the following code will print "Hello" on the output screen?
print("Hello");
console.log(Hello);
console.log("Hello");
printf("%s","Hello");
________ is a back end web application framework for Node.js, it is fast, unopinionated and minimalist framework.
Emotional.js
Express.js
Nodemon
Doraemon
What is the right syntax for importing a module?
require()
function()
import()
module.import()
What JavaScript Engine is used by Google Chrome?
Y8
Adobe Flash Player
Friv
V8
Which of the module used for Buffer
node module
No module required for Buffer
npm i buffer
node main.js
Which of the following core module is used for file system operations in Node.js?
A) http
B) fs
C) path
D) querystring
D) querystring
Which of the following is NOT a core module in Node.js?
A) http
B) fs
C) express
D) os
To listen for connections, what function would you use?
app.listen
app.serve
app.connect
app.start
Which of the following methods is used to create a server in Node.js?
A) createServer()
B) startServer()
C) initServer()
D) runServer()
What is the purpose of the npm command in Node.js?
A) To manage global Node.js installations
B) To create a new Node.js project
C) To install and manage packages/modules for a Node.js project
D) To execute JavaScript code directly from the command line
Which is the most famous backend technology which is based on JavaScript?
Springboot
Flask
Django
