NEW
Font size
WorksheetsIntroduction to Nodejs
Total questions: 15
Worksheet time: 8mins
Which of the following is does NOT describe Nodejs
NodeJs is a JavaScript runtime engine
Nodejs has a large and active community that provides extensive support and libraries.
NodeJs uses an event-driven, non-blocking I/O model that makes it lightweight and efficient.
Nodejs is NOT a crossplatform software
One of the following is NOT a runtime?
Nodejs
Django
JVM
.NET
A runtime environment is _____
the environment in which a program is executed
the environment in which a program is built
the environment in which a program is assembled
the environment in which a program is debugged
A runtime does NOT do which of the following?
Manage Thread
Compile/Interpret
UI rendering
Manage IO
What is NOT a key feature in Nodejs?
Asynchronous
Multithreaded
Event-driven
Crossplatform
Pick the correct statement as regarding Nodejs Event
Events can be anything from an incoming HTTP request to reading data from a file or a database.
Events can be anything from a button click or a mouse hover.
Events can be anything from a terminal opened or closed
Events can be anything from browser window open or closed
When an event is triggered, Node.js executes a corresponding _____ to handle the event's response.
built-in function
callback function
recursive function
trigger function
Even though Nodejs is single threaded, what make concurrent connections and I/O operations
event machine
event system
event handler
event loop
Nodejs is Cross-platform. "Cross-platform" refers to the ability of a software application or system to ___
run on multiple operating systems or platforms
run with multiple frameworks and programming languages
run on multiple channels and services
run on multiple consoles
What is the package manage for Nodejs?
NPM
Yarn
JSM
NM
Which of the following can we NOT use Nodejs for?
Restful APIs
Streaming apps
Real time apps
High Definition Games
Which programming language is primarily used in Node.js development?
Python
Java
JavaScript
Ruby
What does the term "non-blocking" refer to in the context of Node.js?
Node.js does not support blocking operations
Node.js can only handle one request at a time
Node.js can handle multiple requests simultaneously
Node.js does not allow concurrent connections
Which of the following is NOT a benefit of using NPM packages in Node.js projects?
Accelerating development speed with pre-built solutions
Improving code maintainability through code encapsulation
Ensuring compatibility across different programming languages
Enhancing functionality with third-party libraries
Which Node.js framework is commonly used for building RESTful APIs?
Angular.js
React.js
Express.js
Vue.js
