What is the name of Chrome's JS Interpreter Engine?
SpiderMonkey
Chakra
V8
Nitro
Q.5.
Which of the following JS engines have been used inside MongoDB for it to understand JSON commands?
SpiderMonkey, V8
V8, Chakra
Chakra, JavascriptCore
Omega, Nitro
Q.6.
What are the JS Engines corresponding to the Browsers?[IOS/Safari, Firefox, IE]
[JavascriptCore, SpiderMonkey, Chakra]
[Chakra, SpiderMonkey, V8]
[Nitro, V8, Chakra]
[SpiderMonkey, Chakra, Firebug]
Q.7.
Use gzip compression...
Gzip compressing can greatly increase the size of the response body and hence increase the speed of a web app
Gzip compressing can greatly decrease the size of the request body and hence increase the speed of a web app
Gzip compressing can greatly decrease the size of the response body and hence increase the speed of a web app
If I win this quiz, I'm going to ask for 10,000 GEMS
Q.8.
Why secure HTTP headers?
To add the X-Powered-By attribute informing the browser which server vendor and version you’re using
Hackers typically cross-reference this information with a list of publicly disclosed known vulnerabilities
To make the responses more faster and lightweight
For debugging and for logging app activity while running the application in production environments
Q.9.
PM2 is...
A simple command-line interface tool to ensure that a script runs continuously
A project manager above of a normal project managers (PM) and with a better salary
A fast and lightweight HTML-based templating engine that compiles templates to CommonJS modules and supports streaming, async rendering and custom tags. (render directly to the HTTP response stream)
A production process manager for Node.js applications that has a built-in load balancer
Q.10.
Which of these will make an outline or line thicker?
strokeWeight(3);
strokeWeight(6);
stroke(255, 255, 255);
Both A & B
Q.11.
Which are the division sign, multiplication sign, and comment sign in JavaScript? (In order)
÷, ×, *
/, *, //
//, ×, /
\, *, //
Q.12.
[a, b, ...rest] = [50];console.log(rest);
50
[30, 40, 50]
[10, 20]
Q.13.
Function checkFun(a, b, c){ console.log(this); console.log(a); console.log(b); console.log(c);}checkFun.apply(1,[2,3,4]);
1234
[Number: 1]234
this234
Q.14.
Var func = function() { console.log(this)}.bind(1);func();