Wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

FbW43-2

Total questions: 24

Worksheet time: 24mins

Name
Class
Date
1.

Which one of these is a JavaScript package manager?

a)

Node.js

b)

TypeScript

c)

npm

2.

What is the HTML tag under which one can write the JavaScript code?

a)

<javascript>


b)

<scripted>

c)

<script>

d)

<js>

3.

MongoDB has been adopted as ________ software by a number of major websites and services.

a)

frontend

b)

backend

c)

proprietary

d)

all of the mentioned

4.

Which of the following is a NoSQL Database Type ?

a)

SQL

b)

Document databases

c)

JSON

d)

All of the mentioned

5.

How Node.js modules are available externally

a)

module.exports

b)

module.spread

c)

module.expose

d)

none of these

6.

React considers everything as _______.

a)

User interface

b)

elements

c)

components

d)

Objects

7.

React is mainly for building _____________.

a)

Database

b)

Connectivity

c)

User interface

d)

Design platform

8.

To connect Mongo dB Database from NodeJS which middleware we require?

a)

Body-parser

b)

Mongoose

c)

Express

d)

None of these

9.

How to create a model?

a)

Using Schema

b)

Using model

c)

Both Schema & model

d)

None of these

10.

Where we should specify the MongoDB collection name in NodeJS Code?

a)

Anywhere in the NodeJS code

b)

When we create Models Object in NodeJS

c)

When we create the Model

d)

Create Manually

11.

Status Code 404 means resource not found

a)

True

b)

False

12.

As soon as the state of react component is changed, component will

a)

Do nothing , you have to call render method to render the component again

b)

re-render the component

c)

be created again from scratch

d)

None of the above

13.

Which of the following is a correct definition of state in react?

a)

A persistent storage

b)

An internal data store (object) of component

c)

Both

d)

None

14.

What is MongoDB?

a)

A file system.

b)

A SQL database.

c)

A NoSQL database.

d)

An Access database.

15.

Which syntax returns the first matching result in a Mongo database?

a)

db.find()

b)

db.Find()

c)

db.findone()

d)

db.findOne()

16.

What is the name of the group of related data stored in a Mongo database?

a)

A cell.

b)

A document.

c)

A spreadsheet.

d)

A table.

17.
A boolean;
a)
Expresses a true false statement
b)
can contain letters, numbers, spaces, and symbols.
c)
takes in an input, does something with it, and then returns an output.
d)
Runs a boolean (true/false) statement based on data entered
18.

Which of these is a loop?

a)

if(x<10)

b)

while(x<10)

c)

var x=10;

d)

text(x,10;10)

19.

Which of these will increase the value of the variable X?

a)

increment (x)

b)

x++;

c)

x=x;

d)

x+1;

20.

Which of the following will decrease the value of x?

a)

x--;

b)

x-1;

c)

x=x;

d)

x=-x;

21.

Greater than or equal to

a)

> or =

b)

> || =

c)

>=

d)

<=

22.

Repeat something 10 times

a)

repeat 10

b)

for (var i=0; i<10; i++)

c)

repeat { } until 10;

d)

while (i = 10)

23.

Who is the creator of Linux ?💻

a)

Linus Torvalds

b)

Charles Babbage

c)

Dennis Ritchie

24.

What is the name of the Linux Penguin?

a)

Tux

b)

Pingu

c)

Linus

d)

Fin