web 2 JS

web 2 JS

15 Qs

quiz-placeholder

Similar activities

Phrasals Unit 5 - 2nd bto

Phrasals Unit 5 - 2nd bto

12th Grade

16 Qs

HOTS Quiz

HOTS Quiz

9th Grade

11 Qs

F.R.I.E.N.D.S Quiz

F.R.I.E.N.D.S Quiz

KG - University

20 Qs

Quiz: Sein im Präteritum (SV-DE)

Quiz: Sein im Präteritum (SV-DE)

KG - University

10 Qs

QUIZ LEVEL III

QUIZ LEVEL III

KG - University

18 Qs

Polymorphism - Objective Exercises

Polymorphism - Objective Exercises

University

11 Qs

Introducing TEEL structure

Introducing TEEL structure

KG - University

12 Qs

6-3  Sample #5 - III Period

6-3 Sample #5 - III Period

KG - University

16 Qs

web 2 JS

web 2 JS

Assessment

Quiz

others

Practice Problem

Hard

Created by

Rajad Shakya

Used 5+ times

FREE Resource

AI

Enhance your content in a minute

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

15 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to declare a variable in JavaScript?

int myVar;
var myVar;
let = myVar;
dim myVar;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you write a comment in JavaScript?

/* comment */
// comment
# comment

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the output of: 2 + '2' in JavaScript?

4
'4'
NaN
22

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which keyword is used to define a constant in JavaScript?

let
var
define
const

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does NaN stand for?

Not a Number
No assigned Name
Negative and Null
New assigned Name

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following comparisons is true?

'5' == 5
'5' === 5
5 = '5'
5 != 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you define a function in JavaScript?

fun myFunc()
function myFunc() {}
function = myFunc()
def myFunc()

Access all questions and much more by creating a free account

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

Already have an account?