Node JS-1

Node JS-1

University

28 Qs

quiz-placeholder

Similar activities

System Development Life Cycle - 12CompSci

System Development Life Cycle - 12CompSci

10th Grade - University

25 Qs

UTS BAHASA PEMROGRAMAN

UTS BAHASA PEMROGRAMAN

University

23 Qs

Angular 4

Angular 4

University

25 Qs

WebComp

WebComp

University

30 Qs

IBP CAT 2 - DICT(MOD3)24M

IBP CAT 2 - DICT(MOD3)24M

University

24 Qs

JavaScript

JavaScript

University

30 Qs

AODV Protocol

AODV Protocol

University

23 Qs

Struktur data Tree

Struktur data Tree

University

30 Qs

Node JS-1

Node JS-1

Assessment

Quiz

Computers

University

Medium

Created by

E M

Used 8+ 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?