1.
Given x = new Date(), how do you represent x as a String in universal time (time zone +0000)?
2.
Where the < script > tag can be used
A. 
B. 
C. 
Both < head > and < body > tags
3.
What does JSON stand for?
A. 
JavaScript Oriented Notation
B. 
JavaScript Object Notation
C. 
JavaScript Online Notation
4.
Given the following, what is the value of x?
var x = typeof "abc";
A. 
B. 
C. 
D. 
5.
Variable x has a value of 5. Variable y has a value of 7
x < 7 && y > 6
6.
Is javascript case sensitive ?
7.
To convert string to number, which function do we use ?
A. 
B. 
C. 
D. 
8.
In javascript, is it required having semi-colon " ; " at the end of the statement ?
9.
How do you check what the type of a value in variable x is?
A. 
B. 
C. 
D. 
10.
What is the value of the following express: 8 % 3
A. 
B. 
C. 
D. 
11.
You need to update the content of a <div> using the following code, complete the missing part
<div id="myDiv"></div>
<script>
document.getElementById('myDiv').MISSING_PART = "new content"
</script>
A. 
B. 
C. 
D. 
12.
What's the output of the following code
var name = 'John',
age = 20
console.log(`Hi, my name is ${name.toUpperCase()} and I'm ${++age} years old`)
A. 
Hi, my name is John and I'm 20 years old
B. 
Hi, my name is John and I'm 21 years old
C. 
Hi, my name is JOHN and I'm 20 years old
D. 
Hi, my name is JOHN and I'm 21 years old
13.
How to access the current element using DOM
<input type="radio" name="gender" value="Male">
A. 
B. 
Document.getElementByName
C. 
Document.getElementsByName
D. 
14.
Which of these is not a logical operator?
A. 
B. 
C. 
D. 
15.
What is the value of the variable a?
var a = "cat".length * 2;
A. 
B. 
C. 
D. 
16.
What is the value of x ?
var a = false;
var x = a ? “A” : “B”;
A. 
B. 
C. 
D. 
17.
How would one declare a string variable?
A. 
B. 
C. 
Var firstname = new String("John")
D. 
18.
Dvising a number by zero in JavaScript returns
19.
How do you round the number 11.25, to the nearest whole number?
A. 
B. 
C. 
D. 
20.
What is the value of "b"
var a = "A";
var b = a.concat("B");
A. 
B. 
C. 
D. 
21.
Which event fires whenever a control loses focus?
A. 
B. 
C. 
D. 
22.
Which of the following is the equivalent of the following snippet
if (a) { x = b; } else { x = c; }
A. 
B. 
C. 
D. 
23.
Which of the following events is used to handle the user click action
24.
Which message does the following log to the console?
bar();
function bar() { console.log('bar'); }
A. 
B. 
C. 
D. 
25.
What is the value of x?
var x = '1'+2+3;
A. 
B. 
C. 
D. 
The statement generates an error