JavaScript

Quiz
•
Computers
•
Professional Development
•
Medium

Satinder Sohal
Used 121+ times
FREE Resource
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
Similar Resources on Wayground
13 questions
HTML 4

Quiz
•
Professional Development
10 questions
Week 10.1

Quiz
•
Professional Development
16 questions
Trắc nghiệm kiểu xâu

Quiz
•
Professional Development
10 questions
Introdução JavaScript

Quiz
•
Professional Development
15 questions
Day 1 PHP

Quiz
•
Professional Development
10 questions
HTML Introduction

Quiz
•
3rd Grade - Professio...
10 questions
Segunda competencia Taller R

Quiz
•
Professional Development
10 questions
Semantic HTML

Quiz
•
Professional Development
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade