
Week 1 SEB72 Quiz, Javascript
Authored by Lay Jones
Instructional Technology
Professional Development
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the right syntax for including a Javascript file to your HTML file?
<script type="main.js"></script>
<script src="main.js"></script>
<script type = "main.js"></script>
<script src="main.js">
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct way to write a Javascript Array?
const colors = "red", "green", "blue";
const colors = 1 = ("red"), 2 = ("green"), 3 = ("blue");
const colors = ["red", "green", "blue"];
const colors = (1: "red", 2: "green", 3: "blue");
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do we comment out code in Javascript?
<!-- some code -->
..some code
_some code_
// some code
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is the correct name for Javascript's variable syntax?
camelCase
snake_case
PascalCase
kebab-case
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What tag do you use to create a unordered list?
<ol>
<li>
<list>
<ul>
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What are the three components of a for loop?
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How do we get an Array's length?
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?