Week 5.2

Week 5.2

Professional Development

10 Qs

quiz-placeholder

Similar activities

JavaScript

JavaScript

Professional Development

11 Qs

ASF quiz

ASF quiz

Professional Development

8 Qs

Full Stack Day 2

Full Stack Day 2

Professional Development

5 Qs

Datatypes and Flowcontrol

Datatypes and Flowcontrol

Professional Development

15 Qs

Technical Quiz - Level 2

Technical Quiz - Level 2

Professional Development

15 Qs

Curso de WordPress + Maquetación HTML/CSS (Sesión 1)

Curso de WordPress + Maquetación HTML/CSS (Sesión 1)

Professional Development

9 Qs

Javascript Quiz

Javascript Quiz

Professional Development

15 Qs

Cycle 4: Session 9 Review.

Cycle 4: Session 9 Review.

Professional Development

13 Qs

Week 5.2

Week 5.2

Assessment

Quiz

Computers

Professional Development

Hard

Created by

Poul Nichols

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a valid way to declare a global variable in JavaScript?

var myVar = "Hello";

let myVar = "Hello";

const myVar = "Hello";

None of the above

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the scope of a variable declared outside of any function in JavaScript?

Block Scope

Local Scope

Global Scope

None of the above

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the scope of a variable declared inside a block in JavaScript?

Block Scope

Local Scope

Global Scope

None of the above

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about the scope of variables declared with the keyword "let" in JavaScript?

They have block scope

They have local scope

They have global scope

None of the above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true about the scope of variables declared with the keyword "const" in JavaScript?

They have block scope

They have local scope

They have global scope

None of the above

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many numerical types are there in JavaScript?

1

2

3

4

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the escape character in JavaScript?

!

*

!=

/

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?