
Javascript
Authored by Emmanuelle Arroyo
Computers
10th - 12th Grade
Used 902+ 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 type of variable is apple?
var apple = " Fuji "
string
Boolean
array
number
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What type of variable is quantites?
var quantities = [2, 4, 10, 1]
string
Boolean
array
number
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What is first index value of an array?
2
-1
0
1
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code display?
8, 2, 1, 4, 7
82147
Myarray.length
5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code display?
Hello Emma
Hello user
Hello+user
nothing
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will this code display?
570
569
568
attendees
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would this piece of code do?
change the background color of the word demo to red
change the font color of the demo element to red
this is not correct
styles the element with the class demo
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?