Q(1). Where does the Javascript code run?
(a) Command Line
(b) Ruby
(c) Java SDK
(d) Browser
Ans: (d)
Time(sec): 10 | Complexity: Easy
Q(2). What can be do with JavaScript code
(a) Read From or Write to Files in the Client
(b) Access Web Pages Hosted on Another Domain
(c) Protect Your Page Source or Images
(d) Real-time Networking Apps
Ans: (d)
Time(sec): 10 | Complexity: Easy
Q(3). What are possible work through the Javascript code
(A) Web/Mobile Apps
(B) Gaming
(C) Command line tools
(D) Video streaming
(a) Only
(b) A & D
(c) A, B & D
(d) All
Ans: (d)
Time(sec): 10 | Complexity: Easy
Q(4). Node is combination of _______________ Technology which
helps Javascript to run outside of Browser.
(a) C# and SpiderMonkey
(b) v8 and C++
(c) SpiderMonkey and v8
(d) JVM and Javascript Engine
Ans: (b)
Time(sec): 20 | Complexity: Medium
Q(5). When ECMA script version 6 (ES6 ) Released
(a) 2010
(b) 1996
(c) 2015
(d) 2020
Ans: (c)
Time(sec): 10 | Complexity: Medium
Q(6). which are the invalid variable assignment in Javascript
(a) var xor = "javaScript";
(b) let for = "function";
(c) const ifelse = "loop";
(d) var lets = "while";
Ans: (b)
Time(sec): 20 | Complexity: Easy
Q(7). which are the valid variable assignment in Javascript
(a) var x y = "javaScript";
(b) let new-javascript = "function";
(c) var 2Count = "loop";
(d) var my_name = "Joe";
Ans: (d)
Time(sec): 20 | Complexity: Easy
Q(8). What will be the output
var x;
console.log(x);
x = 23;
(a) 23
(b) null
(c) undefined
(d) “”
Ans: (c)
Time(sec): 20 | Complexity: Easy
Q(9). What is output
"use strict";
x = 23;
var x;
(a) 23
(b) null
(c) undefined
(d) Error : 'x' is not declared
Ans: (d)
Time(sec): 10 | Complexity: Medium
Q(10). Question On Variables declared with following which syntax
(a) int num;
(b) Integer num;
(c) integer num;
(d) var num;
Ans: (d)
Time(sec): 10 | Complexity: Easy
Q(11). javaScript variable is a Case__________________
(a) Non Sensetive
(b) Sensetive
(c) A and B
(d) None of above
Ans: (b)
Time(sec): 10 | Complexity: Easy
Q(12). Multiple Declaration of variables are separated by
__________________
(a) Comma
(b) SemiColon
(c) Astrisk
(d) Colon
Ans: (a)
Time(sec): 10 | Complexity: Easy
Q(13). We can declare ___________________ at a time. Select most
appropriate option
(a) One or More Variables
(b) More than one variable
(c) One Variable Only
(d) None of these
Ans: (a)
Time(sec): 10 | Complexity: Medium
Q(14). Which type of JavaScript language is ___
(a) Object-Oriented
(b) Object-Based
(c) Assembly-language
(d) High-level
Ans: (b)
Time(sec): 10 | Complexity: Easy