Search Header Logo

Week 1 SEB72 Quiz, Javascript

Authored by Lay Jones

Instructional Technology

Professional Development

Used 3+ times

Week 1 SEB72 Quiz, Javascript
AI

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>

  1. <list>

  • <ul>

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What are the three components of a for loop?

start, stop, step
begin, end, step
setup, check, update
initialization, condition, increment/decrement

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do we get an Array's length?

size
count
dimension
length

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?