Space for google add

MCQ's On javascrip, Node js, MomgoDB

 Q1. The software in which the package manager is basically used for managing dependencies of various server-side dependencies is known as:

YARN

PNPM

NPM

NVM

Choose the benefit of using Visual Studio Code.

Options

Cost-Efficient

Difficult to Scale

Hard to migrate

Quick debugging

Identify the format in which Node documents are saved in Visual Studio Code.

Options

.py

.js

.c

.txt

Identify the number of types of documents in Node.

Options

6

2

5

3

Q6. Choose the statements related to JavaScript in Chrome browser. 1. JavaScript is sent to the V8 engine and the results are returned. 2. Chrome receives C++ bindings. 3. Allows browser to interact with DOM. 4. V8 runs in C++ and is sent to Chrome methods.

Options

Only 1 and 3

Only 1 and 2

Only 2 and 3

Only 3 and 4

 

Q7. Select the flag which uses a global node package nodemon.

Options

-d

-g

-n

-a

Q8. Identify the tool that helps develop applications by automatically restarting them when changes are detected in the directory.

Options

Express

MangoDB

REPL

Nodemon

 

It is possible to quickly implement essential application functions like CRUD with MongoDB. Select True or False.

Options

True                                                 False 

 

Q10. Choose the correct statement(s) related to 'CRUD'. 1. A fully functional application that runs a web application. 2. The front end web application can deny the database items through full CRUD interaction if it is connected to a MongoDB. 3. NodeJS allows you to build complex and powerful applications.

Options

Only 1

Only 1 and 2

Only 3

Only 2 and 3

 

Q11. __________ is a minimal and flexible Node.js web application framework that provides a robustic set of features for web and mobile applications.

Options

Spring

Laravel

Angular

Express

Q12. Select the command to add an element to stack.

Options

Peek()

Pop()

Push()

IsEmpty()

 

Q13. Select the correct option that is used in interface orders where the first element is removed first and the last element is removed at the end?

Options

LILO

LIFO

FILO

FIFO

Q14. Choose the benefit(s) of using event loops in JavaScript. 1. The Event loop sends new functions to track processing. 2. It is responsible for executing, collecting and processing the code events. 3. It uses multiple languages to execute loop events in JavaScript.

Options

Only 1 and 2 are Correct

Only 2 and 3 are Correct

Only 1 and 3 are Correct

Only 3 is Correct

Q15. An example of a recursion function in the Event Loop is:

Options

Push()

Pop()

Count()

Peek()

Q16. Identify the loop that continuously checks the call stack to see if there are any functions that need to be run.

Options

Promises

Event Loop

Job Queue

Object Terminal

Q18. A module that facilitates communication and interaction between objects is known as:

Options

Event Emitter

Promises

Job Queue

Job Function

 

Q20. Select the types of data types in JavaScript.

Options

4

5

7

3

Q21. In the code below, select the array command to store different elements in a single variable. Const arr=['hello','world',123,true]

Options

console.log(typeof)

console.log(arr)

console.log(myobj)

console.log(mystr)

 

 

Q23. Choose the correct command to add a modern function in JavaScript.

Options

const fun=(a,b,c){}

const fun=(a,b,c)=>{}

const fun=>(a,b,c){}

const fun>=(a,b,c){}

 

Q24. _____________ is a combination of a function with references to its surrounding state.

Options

Object

Operator

Closure

Datatype

 

Q25. ___________ is basically used to handle errors in JavaScript when you don't want an error in the script.

Options

Try and Catch

Asynchronous

Await

Promise

 

Q26. Choose the correct statement(s) related to 'Asynchronous function'. 1. An asynchronous function uses an implicit promise to return its result. 2.The structure of your code is very similar to standard synchronous functions. 3. Asynchronous loops are needed when operations within the loop are complex or small.

Options

Only 2 is Correct

Only 3 is Correct

Only 1 and 3 are Correct

Only 1 and 2 are Correct

Q27. Identify the database used to set up a cloud-based database.

Options

MySQLDB

MangoDB

CloudDB

Relational DB

Q28. Choose the correct statement(s) related to MongoDB. 1. NoSQL is used as an alternative to traditional relational databases. 2. MongoDB can be used to store, retrieve and manage information. 3. It stores data in JSON-like documents with a static schema.

Options

Only 1 and 2 are Correct

Only 2 and 3 are Correct

Only 1 and 3 are Correct

Only 3 is Correct

Q29. ________ is a web development technique that uses various web technologies on the client-side to create asynchronous web applications.

Options

Clouddata

Express

MangoDB

Ajax

Q36. Identify the local host port number to setup core modules in HTTP web server.

Options

8080

8050

8030

8020

 

Post a Comment

0 Comments