Explore Online Courses
Free Courses
Hire from us
Become an Instructor
Reviews
All Courses
Submit
Submit
Take the Free Practice Test
Free Practice Test
Instructions:
FREE test and can be attempted multiple times.
60 Minutes
30 Multiple Choice Questions
Fill in the Details to Get Started
Select your preference
Self-learning and knowledge validation
Completed a course & revising
Just curious
By providing your contact details, you agree to our
Terms of Use
&
Privacy Policy
Welcome to your Node Quiz
Is NodeJS asynchronous?
Yes
No
What does NPM stand for?
Node Process Manager
Node Proxy Manager
Node Package Manager
Node Program Manager
Which module in NodeJS is used to work with a file system?
filesystem
fs
file-module
fileio
Which keyword is used to export a module in a Nodejs file?
module.export
module.send
module.serialize
module.package
Which keyword is used to import a module in a Nodejs file?
require
install
getModule
include
Which of these is not a method to handle the asynchronous code?
Callbacks
Promise
Async-Await
Resolver
Which method do we use to pass a function that processes the result returned by a promise?
then
catch
try
exec
Which keyword is used inside an async function to wait for some task to complete?
await
wait
resolve
pasueFor
Which method do we use to pass a function that processes an error that occurs in a promise chain?
then
catch
try
exec
What is the major problem with the callback style approach while handling the asynchronous code?
Callback error
Callback hell
Callback propagation
Callback loop
Which method is used to read a file synchronously?
readFileSynchronously
readFileSync
readFS
readFile
Which method is used to read a file asynchronously?
readFileAsynchronously
readFileAsync
readFAS
readFile
Which constant in NodeJS is used to refer to the absolute path of the current file?
__filename
__dirname
__absoule_file_path
__abs_filename
Which constant in NodeJS is used to refer to the absolute path of the current directory?
__filename
__dirname
__absoule_dir_path
__abs_directory
Which property of the filestats object can be used to determine the time a file was last accessed?
access_timestamp
birthname
atime
uid
Which class in NodeJS are used to create objects which can fire or emit events?
EventBroadcaster
EventEmitter
EventDispenser
Eventer
Which method is used to emit/broadcast/dispense events in NodeJS?
emit
broadcast
dispense
None of the Above
Streams are used to process large files in small chunks to avoid the memory overhead.
True
False
Which of the following is not a type of stream?
Writable
Duplex
Simplex
Transform
Which of the following is not a stream event?
Data
End
Finish
Complete
Which HTTP response class indicates successful completion of request?
1xx
2xx
3xx
4xx
Which HTTP response class indicates the request is being processed?
1xx
2xx
3xx
4xx
Which HTTP response class indicates that further action must be taken?
1xx
2xx
3xx
4xx
Which HTTP response class indicates that there was a problem with your request?
1xx
2xx
3xx
4xx
Which Request Type is used to submit sensitive data to the server for furthur processing?
GET
POST
PUT
PATCH
Which of the following HTTP methods are suported by expressjs?
GET
POST
DELETE
All of the above
ExpressJS is unopinionated.
True
False
Which of the following HTTP Methods is used to describe the communication options?
GET
PUT
POST
OPTION
Which of the following HTTP Methods is used to get only the headers of the response?
GET
PUT
HEAD
POST
Which of the following is not a javascript templating engine?
EJS
NUNJUCKS
JINJA2
PUG
Time is Up!