Nodejs Beginner Questions
Nodejs Beginner Questions
A) npm init
B) npm start
C) npm create
D) npm setup
A) handleError()
B) try...catch
C) errorHandler()
D) catchError()
A) fs.createFile()
B) fs.newFile()
C) fs.writeFile()
D) fs.addFile()
A) To install Node.js
B) To execute a JavaScript file with Node.js
C) To start a web server
D) To initialize a new project
What is the term for a computer that provides resources to other computers?
Server
Which of the following is NOT a common type of client-server application?
Email Online banking File sharing Word processing
When a client sends a request to a server, the first thing the server typically does is:
Process the request. Send a response. Establish a connection. Store the request
data.
The part of a web server that processes incoming requests is called:
Web browser. Web application. Web server software. Web page.
What is the term for the process of breaking down a large task into smaller subtasks that can
be executed concurrently?
Load balancing. Threading. Caching Multiplexing.
A) Front-end development
B) Backend development
C) Database management
D) Desktop applications
A) Python
B) JavaScript
C) Java
D) Ruby
A) fs
B) path
C) http
D) url
A) fs.readFile()
B) fs.openFile()
C) fs.loadFile()
D) fs.getFile()
A) res.send()
B) res.write()
C) res.response()
D) res.finish()
A) import <module-name>
B) require(<module-name>)
C) load(<module-name>)
D) include(<module-name>)