Introduction to JavaScript Quiz

Introduction to JavaScript Quiz

11th Grade

12 Qs

quiz-placeholder

Similar activities

Java Script Pro

Java Script Pro

3rd Grade - University

12 Qs

Folktro och skrock

Folktro och skrock

7th Grade - University

13 Qs

AMONG US

AMONG US

3rd Grade - Professional Development

10 Qs

Java Arrays

Java Arrays

5th Grade - University

10 Qs

raffel's kleines Minecraft Quiz

raffel's kleines Minecraft Quiz

1st - 12th Grade

16 Qs

Who is Emma

Who is Emma

KG - University

10 Qs

Ordföljden i huvudsatsen. Päälauseen sanajärjestys

Ordföljden i huvudsatsen. Päälauseen sanajärjestys

6th - 12th Grade

10 Qs

Foreign Language Test Review

Foreign Language Test Review

KG - Professional Development

12 Qs

Introduction to JavaScript Quiz

Introduction to JavaScript Quiz

Assessment

Quiz

Other

11th Grade

Practice Problem

Hard

DOK Level 1: Recall

Standards-aligned

Created by

Johnnie Rascoe

Used 16+ times

FREE Resource

AI

Enhance your content in a minute

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

12 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 15 pts

What is the correct syntax to output "Hello World" in JavaScript?

`print("Hello World")`

`console.log("Hello World")`

`echo "Hello World"`

`System.out.println("Hello World")`

Tags

DOK Level 1: Recall

2.

MULTIPLE CHOICE QUESTION

1 min • 15 pts

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

`var myVar;`

`variable myVar;`

`v myVar;`

`declare myVar;`

Tags

DOK Level 1: Recall

3.

MULTIPLE CHOICE QUESTION

1 min • 15 pts

What is the output of the following code? ```javascript var x = 5; var y = 10; console.log(x + y); ```

`15`

`510`

`undefined`

`NaN`

Tags

DOK Level 1: Recall

4.

MULTIPLE CHOICE QUESTION

1 min • 15 pts

Which of the following is NOT a data type in JavaScript?

`String`

`Number`

`Boolean`

`Character`

Tags

DOK Level 1: Recall

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What is the value of `typeof null` in JavaScript?

`null`

`object`

`undefined`

`boolean`

Tags

DOK Level 1: Recall

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Which of the following is used to declare a constant in JavaScript?

`var`

`let`

`const`

`constant`

Tags

DOK Level 1: Recall

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

What will be the output of the following code? ```javascript let a = 10; a = 20; console.log(a); ```

`10`

`20`

`undefined`

`Error`

Tags

DOK Level 1: Recall

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?