JavaScript

JavaScript

1st - 12th Grade

10 Qs

quiz-placeholder

Similar activities

lat Bangun ruang kelas 5 (1)

lat Bangun ruang kelas 5 (1)

5th Grade

15 Qs

Kata perintah tahun 2

Kata perintah tahun 2

2nd Grade

15 Qs

Lập trình Pascal cơ bản

Lập trình Pascal cơ bản

8th Grade

10 Qs

Ôn tập HKI - V1

Ôn tập HKI - V1

8th Grade

10 Qs

Quiz Pemuda itu Berperan Not Baperan

Quiz Pemuda itu Berperan Not Baperan

9th - 12th Grade

10 Qs

2-dars

2-dars

1st Grade

15 Qs

Case Studies and Application of Javascript

Case Studies and Application of Javascript

10th Grade

9 Qs

TÍNH CHÁT DÃY TỈ SỐ BẰNG NHAU

TÍNH CHÁT DÃY TỈ SỐ BẰNG NHAU

1st Grade

10 Qs

JavaScript

JavaScript

Assessment

Quiz

Education

1st - 12th Grade

Hard

Created by

Богдан Левантович

Used 5+ times

FREE Resource

AI

Enhance your content

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

How to get access to number 8 in the following array?

const arr = [[1, 2, 3], [[5, 6, 7, 8], 9]]

arr[[[1,0,3]]]

arr[1][0][3]

arr[1,0,3]

arr[1[0[3]]

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would be the result of this?

const a = 20;

a = 10;

console.log(a)

10

20

it would throw an error

undefined

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

function getSum(a, b) {

console.log(a + b);

}

const result = getSum(10, 20);

console.log(result);

30

undefined

0

10

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does map function return?

undefined

number

string

array

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

How to access property name on the object?

const country = {

name: 'Italy',

population: 59550000

};

country,name

country.name

country['name']

country{name}

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would the following comparison produce?

2 == "2"

true

false

undefined

error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Guess the result of this:

{foo: 'bar'} === {foo: 'bar'}

true

false

I haven't learned it yet!

undefined

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?