HONG KONG: PEOPLE CELEBRATE 1ST NEW YEAR UNDER CHINESE RULE

HONG KONG: PEOPLE CELEBRATE 1ST NEW YEAR UNDER CHINESE RULE

Assessment

Interactive Video

Other

1st - 2nd Grade

Hard

Created by

Quizizz Content

FREE Resource

The video provides a brief overview of how to use a particular concept or tool effectively.

Read more

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the primary role of 'this' in programming?

To refer to the current object

To end a loop

To declare a variable

To create a new function

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In which context does 'this' refer to the global object?

Inside a method

Inside an arrow function

Inside a class

Inside a function

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How does 'this' behave inside an arrow function?

It refers to the function itself

It creates a new object

It always refers to the global object

It retains the value of 'this' from the enclosing context

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is a common mistake when using 'this' in event handlers?

Using 'this' to call a global function

Using 'this' to declare variables

Expecting 'this' to be undefined

Assuming 'this' refers to the event target

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a method to explicitly set the value of 'this'?

Using call() or apply()

Declaring a new variable

Using a for loop

Using a switch statement