HtmlCssMonk

JavaScript QUIZ – INTERMEDIATE (20 Questions)

31
Created by html-css-monk

JavaScript Quiz – Intermediate 20

Are you Ready ?

Alrighty then.

Good Luck !

Let’s see what you got.

1 / 20

A linkage of series of prototype objects is called as ________

2 / 20

What will be the output of the following JavaScript code?

const obj1 = { property1: ’10’};

const obj2 = Object.freeze(obj1);

obj2.property1 = ’20’;

console.log(obj2.property1);

3 / 20

What will be the output of the following JavaScript code?

(function(x){

delete x;

return x;

}) (1);

4 / 20

What is the end value of myAddedVar with the following code:

var myVar = ‘5’;

var myAddedVar = myVar + 10;

5 / 20

How do you read the first character in a string?

6 / 20

To set up the window to capture all Click events, we use which of the following statement?

7 / 20

To what type are values converted internally when evaluating a conditional statement?

8 / 20

What is the result of the following statement: typeof “x”;

9 / 20

______ attribute is used to specify the character encoding used in an external script file.

10 / 20

What is meant by “this” keyword in javascript?

11 / 20

What does the following expression return?

 1 + 5 + ” bottles of milk”;

12 / 20

JavaScript is designed for following purpose –

13 / 20

The basic purpose of the toLocaleString() is to _________

14 / 20

How do you create an object in JavaScript?

15 / 20

Which String prototype method is capable of removing a character from a string?

16 / 20

What will be the output of the following JavaScript code?

function range(int length) {

int a=5;

for(int i=0;i<length;i++)

{ console.log(a);

} }

range(3);

17 / 20

What will be the output of the following JavaScript code?

var a=3.7;

var b=2;

a=ciel(a);

document.writeIn(a*b);

18 / 20

Which was the first browser to support JavaScript ?

19 / 20

What will be the role of the continue keyword in the following JavaScript code snippet?

while (a != 0) {

if (a == 1) continue;

else a++;

}

20 / 20

What will be the output of the following JavaScript code?

var a = 10; do {

a += 1;

console.log(a);

} while (a < 5);

Your score is

The average score is 56%

0%

Exit

About JavaScript Intermediate Quiz

  • This Intermediate JavaScript Quiz is designed specially for those scholars who already have some good knowledge of JavaScript.
  • You are given 20 MCQ type JavaScript questions in this Quiz.
  • There is no time Limit, so just keep calm and test your Intermediate JavaScript knowledge without any rush !
  •  At the end of the Quiz, your total score will be displayed out of 100% maximum score.
  • You need to score atleast 70% (14 correct answers ) to PASS the Quiz.

Answers will not be shown after the quiz. If you really got what it takes , then learn until you can score 100% without seeing answers.


Do you have the courage to go on !!!!


Leave a Comment

Your email address will not be published. Required fields are marked *