Q.1
Does V8 have a REPL mode?
  • Yes
  • No
Q.2
What type of application is V8?
  • Standalone
  • Plugin
  • Extension
  • Console
Q.3
What is the name of the first JS Engine?
  • SpiderMonkey
  • Chakra
  • V8
  • JavascriptCore
Q.4
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();
  • Number {1}
  • 1
  • window
Q.15
Const o = {p:q: true};const {p: foo, q: bar} = o;console.log(foo);
  • undefined
  • 42
  • p
Q.16
Const arr = [1,2,3];[arr[2], arr[1]] = [arr[1], arr[2]];console.log(arr);
  • [3,1,2]
  • [1,3,2]
  • [1,2,3]
Q.17
What is a brief description of JS?
  • JS is a programming language used to animate webpages, and make drawing and animations. This language has many types of different primitives.
  • JS is where we create our basic webpage plan, and can also be used for simple decorating.
  • JS is used for decorating basic webpages.
  • JS can be a great language for Microsoft Workers.
Q.18
Let a = 1;let b = 3;[a, b] = [b, a];console.log(a);
  • 1
  • 3
Q.19
If I wanted to stop a shape at the end of thepixel wide canvas, which would be the correct code?
  • if(x > 400) { speed = 0;}
  • if(x < 400) {speed = 0;}
  • while(x > 400) {speed -= 0;}
  • ellipse(speed = 0;);
Q.20
Let a, b;[a=b== [1];console.log(a); console.log(b)
  • 1 7
  • 5 7
  • 1 1
  • 5 1
0 h : 0 m : 1 s