Welcome to Tekiana Quiz



1. NodeJS is a

Language
Framework
Javascript Runtime
None of the above


2. What is the command to save a dependency x to package.json

npm install x --save
npm install x --savetopackage
npm update
None of the above


3. Where do you search for a npm module

npm registry
Google
Github
None of the above


4. What does tilde do in package.json

It matches all Patch versions
It matches Major versions
It matches all Minor versions
None of the above


5. REPL stands for

Read-Eval-Print-Loop
Read-Evaluate-Program-Loop
Run-Evaluate-Print-Logic
None of the above


6. What is the output of following code?
console.log(1);
setTimeout(function(){console.log(2)},0);
console.log(3)

1,3,2
1,2,3
1,3
Runtime Error


7. How can you avoid devDependencies

npm install --only=prod
npm install not=dev
npm install
None of the above


8. MochaJS should be part of

devDependencies
dependencies
Both of the above
None of the above


9. NodeJS supports

Synchronous Processing
Asynchronous Processing
Both of the above
None of the above


10. How do you invoke middleware in a NodeJS application?

app.use
app.middleware
app.setMiddleWare
None of the above