Node JS-1

Node JS-1

University

28 Qs

quiz-placeholder

Similar activities

Webgators(PRELIMS) - MCQ

Webgators(PRELIMS) - MCQ

University

30 Qs

Node Js Basics

Node Js Basics

University

25 Qs

[IT HOUSE] Final Test - Nodejs - 02042022

[IT HOUSE] Final Test - Nodejs - 02042022

University - Professional Development

30 Qs

Javascript Quiz

Javascript Quiz

University

30 Qs

TexLR8 workshop

TexLR8 workshop

University

28 Qs

Java Basics

Java Basics

University

23 Qs

IT 120 FFGG GROUP

IT 120 FFGG GROUP

University

25 Qs

Grand Finale Quiz

Grand Finale Quiz

University

30 Qs

Node JS-1

Node JS-1

Assessment

Quiz

Computers

University

Medium

Created by

E M

Used 6+ times

FREE Resource

28 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which file is used to manage the dependencies of a JavaScript project?

index.html file

style.css file

package.json file

script.js file

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is created from schema in NodeJS?

Controllers
Routes
Models
Views

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are parameters in the HTTP request?

The type of data used for the request

The data of the requested file

Document that is sent from the client to the server

Input data or execution context sent from the client to the server

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module is used for asynchronous event-driven architecture in JavaScript?

npm node core

nodemon module

event emitter module

fs module

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is used to parse incoming request bodies in Express framework?

params vs body

app.use(express.json())

asynchandler module

environment variable

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which module is used to interact with MongoDB in JavaScript?

express framework

.env file

require

mongoose

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does controller do in NodeJS?

Creates model

Manages database connections
Handles incoming requests, processes data, and returns response

Describes routes

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?