
JavaScript
Authored by Satinder Sohal
Computers
Professional Development
Used 121+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
12 questions
DBMS-Transactions-Revision
Quiz
•
Professional Development
15 questions
coding
Quiz
•
KG - Professional Dev...
10 questions
TREINAMENTO - POWER BI - AULA 1
Quiz
•
Professional Development
10 questions
Who developed C language
Quiz
•
Professional Development
10 questions
Android Application
Quiz
•
Professional Development
10 questions
IOS Basic Commands
Quiz
•
Professional Development
13 questions
minecraft : )
Quiz
•
1st Grade - Professio...
10 questions
BÀI KIỂM TRA 10 PHÚT
Quiz
•
Professional Development
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Computers
10 questions
How to Email your Teacher
Quiz
•
Professional Development
6 questions
3RD GRADE DECLARATION OF INDEPENDENCE EXIT TICKET
Quiz
•
Professional Development
19 questions
Black History Month Trivia
Quiz
•
6th Grade - Professio...
22 questions
Multiplying Exponents with the Same Base
Quiz
•
9th Grade - Professio...
40 questions
Flags of the World
Quiz
•
KG - Professional Dev...