js Quiz

js Quiz

8th Grade

40 Qs

quiz-placeholder

Similar activities

Programming with Sphero (End-of-Year Review)

Programming with Sphero (End-of-Year Review)

KG - 12th Grade

40 Qs

hardest quizizz ever

hardest quizizz ever

KG - Professional Development

35 Qs

Drama Elements

Drama Elements

6th - 8th Grade

40 Qs

PPKn Kelas 8 - Sumpah Pemuda

PPKn Kelas 8 - Sumpah Pemuda

8th Grade

45 Qs

Gaming

Gaming

KG - Professional Development

36 Qs

Programação e Robótica - 8 Ano - Aula 2

Programação e Robótica - 8 Ano - Aula 2

8th Grade

40 Qs

Totally Random Trivia

Totally Random Trivia

5th - 8th Grade

35 Qs

js Quiz

js Quiz

Assessment

Quiz

Other

8th Grade

Hard

Created by

Ebulfez Seferov

Used 1+ times

FREE Resource

40 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Question: Do you know what will be the output of this code?

Sual: Bu kodun nəticəsinin nə olacağını bilirsinizmi?

console.log(typeof typeof 1 );

String

number

1

true

Answer explanation

This actually returns "string".

This expression is evaluated from right to left.

The first sub-expression evaluated actually is typeof 1 which will return "number".

Only after that the next sub-expression is evaluated which now is typeof "number" which returns "string".

2.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Question: Do you know what will be the output of this code?

let array=[1,2,3];

array[6]=9;

console.log(array[5]);

Sual: Bu kodun nəticəsinin nə olacağını bilirsin

undefined

1

2

9

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Question: Can you guess what will be the output of the code below?

console.log(typeof NaN);

Sual: Aşağıdakı kodun nəticəsinin nə olacağını təxmin edə bilərsinizmi?

NaN

number

null

undefined

4.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Question: Do you know what will be the output of this code?

console.log(false=='0');

Bu kodun nəticəsinin nə olacağını bilirsinizmi?

false

true

5.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Question: Do you know what will be the output of this code?

console.log("This is a string." instanceof String);

Bu kodun nəticəsinin nə olacağını bilirsinizmi

true

false

6.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

Question: Do you know what will be the output of this code?

const numbers = [33, 2, 8];

numbers.sort();

console.log(numbers[1])

Bu kodun nəticəsinin nə olacağını bilirsinizmi?

33

2

8

1

7.

MULTIPLE CHOICE QUESTION

10 sec • 1 pt

If you type the following code in the console window, what result will you get?

3 > 2 > 1 === false;

Konsol pəncərəsində aşağıdakı kodu yazsanız, hansı nəticəni əldə edəcəksiniz?

true

false

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?