JavaScript

JavaScript

Professional Development

12 Qs

quiz-placeholder

Similar activities

Probas de calidade en páxinas web

Probas de calidade en páxinas web

Professional Development

14 Qs

ArcGIS

ArcGIS

University - Professional Development

17 Qs

HTML теги для оформления текста.

HTML теги для оформления текста.

Professional Development

10 Qs

ABC

ABC

Professional Development

10 Qs

Latihan Microsoft Word by Kisron

Latihan Microsoft Word by Kisron

Professional Development

10 Qs

Web Basic

Web Basic

Professional Development

14 Qs

PTVA HR Analytics Challenges

PTVA HR Analytics Challenges

Professional Development

14 Qs

SENZ AIOT SAVANTS - JV & JS

SENZ AIOT SAVANTS - JV & JS

Professional Development

10 Qs

JavaScript

JavaScript

Assessment

Quiz

Computers

Professional Development

Practice Problem

Medium

Created by

Satinder Sohal

Used 121+ 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

30 sec • 1 pt

What other languages are typically used with JavaScript?

Python

Ruby

HTML & CSS

SQL

2.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

What are the different ways to include JavaScript in your application? Choose all that apply.

<script> alert('Hello'); </script>

<link src='myjavascript.js'></link>

<link href="myjavascript.js></link>

<script src="myjavascript.js"></script>

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How would you declare a variable in JavaScript?

var myName = "Sally"

myName = "Sally"

myName var = "Sally"

var myName = Sally

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the difference between var and let in JavaScript?

There are no differences, they are both the same.

let is visible through blocks and accessed globally, var isn't.

var is visible through blocks and accessed globally, let isn't.

let is used more frequently, var isn't.

5.

MULTIPLE SELECT QUESTION

45 sec • 1 pt

When would you use the const declaration in JavaScript? Choose all that apply.

When you're creating a variable.

When a variable has a constant value that won't change.

When creating a temporary variable.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would alert(6 + '2') show?

8

62

6+'2'

6'2'

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What would alert('6'-2) show:

An error Message

62

'6'-2

4

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?