Search Header Logo

Java Script

Authored by sana stihi

Other, Computers

10th - 12th Grade

Used 298+ times

Java Script
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the data type used for the following variable var answer1 = "It's alright";

String

Boolean

Integers

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"Else IF" is not a condition in JavaScript

True

False

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the code that could be used to count the number of characters in a value of a variable ?

.count

.length

.total

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

"Else IF" could be used multiple times.

True

False

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the code used to allow user input as a value to a variable in JavaScript?

Prompt

Input

==

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An "ID" can be a word or a number.

True

False

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the codes that allow you to write into a <p> or a <h1>.

document.getElementById

document.write

alert

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?