WorksheetsFbW43-2
Total questions: 24
Worksheet time: 24mins
Which one of these is a JavaScript package manager?
Node.js
TypeScript
npm
What is the HTML tag under which one can write the JavaScript code?
<javascript>
<scripted>
<script>
<js>
MongoDB has been adopted as ________ software by a number of major websites and services.
frontend
backend
proprietary
all of the mentioned
Which of the following is a NoSQL Database Type ?
SQL
Document databases
JSON
All of the mentioned
How Node.js modules are available externally
module.exports
module.spread
module.expose
none of these
React considers everything as _______.
User interface
elements
components
Objects
React is mainly for building _____________.
Database
Connectivity
User interface
Design platform
To connect Mongo dB Database from NodeJS which middleware we require?
Body-parser
Mongoose
Express
None of these
How to create a model?
Using Schema
Using model
Both Schema & model
None of these
Where we should specify the MongoDB collection name in NodeJS Code?
Anywhere in the NodeJS code
When we create Models Object in NodeJS
When we create the Model
Create Manually
Status Code 404 means resource not found
True
False
As soon as the state of react component is changed, component will
Do nothing , you have to call render method to render the component again
re-render the component
be created again from scratch
None of the above
Which of the following is a correct definition of state in react?
A persistent storage
An internal data store (object) of component
Both
None
What is MongoDB?
A file system.
A SQL database.
A NoSQL database.
An Access database.
Which syntax returns the first matching result in a Mongo database?
db.find()
db.Find()
db.findone()
db.findOne()
What is the name of the group of related data stored in a Mongo database?
A cell.
A document.
A spreadsheet.
A table.
Which of these is a loop?
if(x<10)
while(x<10)
var x=10;
text(x,10;10)
Which of these will increase the value of the variable X?
increment (x)
x++;
x=x;
x+1;
Which of the following will decrease the value of x?
x--;
x-1;
x=x;
x=-x;
Greater than or equal to
> or =
> || =
>=
<=
Repeat something 10 times
repeat 10
for (var i=0; i<10; i++)
repeat { } until 10;
while (i = 10)
Who is the creator of Linux ?💻
Linus Torvalds
Charles Babbage
Dennis Ritchie
What is the name of the Linux Penguin?
Tux
Pingu
Linus
Fin
