/  JavaScript-Quiz-8

This Quiz contains totally 10 Questions each carry 1 point for you.

1. var x = 3 + 4 + "7"


The value of x is :
14
"77"
77
"347"

Correct!

Wrong!

2. What is the result of the comparison?





var x = "Ted";
var y = new String("Ted");
x === y


true
false

Correct!

Wrong!

3. What will be the variable lastNum?





varnum=[1,2,3];
varlastNum=num[num.length];



 
1
2
3
undefined

Correct!

Wrong!

4. Which JavaScript event occurs when the user clicks an HTML element?

onclick
onmouseclick

Correct!

Wrong!

5. What is the intruder?

mouseover
mouseout
mousein
mousemove

Correct!

Wrong!

6. Can you test JavaScript code inside web browsers like Firefox, Chrome, Microsoft Edge?

yes
No

Correct!

Wrong!

7. What is the return of the next comparison:





null === undefined


true
false

Correct!

Wrong!

8. Is this correct?





var int number = 12;


yes
No

Correct!

Wrong!

9. Are semicolons required at the end of the JavaScript line?

yes
No

Correct!

Wrong!

10. To add an element to the end of an array you use:

pop()
add()
push()
addToEnd()

Correct!

Wrong!

Share the quiz to show your results !

Subscribe to see your results

Ignore & go to results

JavaScript-Quiz-8

You got %%score%% of %%total%% right

%%description%%

%%description%%

Where to go ?

Quizzes

Loading...