
JWD JS Test Bank 11-20

Quiz
•
Computers
•
Professional Development
•
Medium
Lazaro Alsina
Used 33+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
11. With JavaScript, which method is used to search for a substring?
stringVariable.substring(subString)
stringVariable.find(subString)
stringVariable.indexOf(subString)
stringVariable.indexOf(charAt(0))
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
12. With JavaScript, what does = do?
Compares two values
Exchanges two values
Makes the right value equal to the left
Makes the left value equal to the right
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
13. With JavaScript, which of these is not a valid parameter?
text
number
variable
operator
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
14. With JavaScript, how do you create a function?
function=myFunction()
function myFunction()
function:myFunction()
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
15. A JavaScript statement should end with what?
comma
semicolon
colon
bracket
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
16. With JavaScript, how would you change the date to one week later?
myDate.setDate(+7)
myDate.setDate(myDate.getDate()+7)
myDate.chgDate(myDate.getDate()+7)
myDate.chgDate(+7)
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
17. Which best describes JavaScript?
a server-side scripting language
a scripting language precompiled in the browser
an object-oriented scripting language
Create a free account and access millions of resources
Similar Resources on Wayground
11 questions
Javascript Function Quiz

Quiz
•
Professional Development
9 questions
PreTrainingJavaScript

Quiz
•
Professional Development
10 questions
Chapter 2 - FSW

Quiz
•
Professional Development
15 questions
JS

Quiz
•
Professional Development
15 questions
24/01/2024

Quiz
•
Professional Development
11 questions
JavaScript

Quiz
•
Professional Development
13 questions
Javascript HTML CSS

Quiz
•
Professional Development
11 questions
JavaScript

Quiz
•
Professional Development
Popular Resources on Wayground
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
20 questions
PBIS-HGMS

Quiz
•
6th - 8th Grade
10 questions
"LAST STOP ON MARKET STREET" Vocabulary Quiz

Quiz
•
3rd Grade
19 questions
Fractions to Decimals and Decimals to Fractions

Quiz
•
6th Grade
16 questions
Logic and Venn Diagrams

Quiz
•
12th Grade
15 questions
Compare and Order Decimals

Quiz
•
4th - 5th Grade
20 questions
Simplifying Fractions

Quiz
•
6th Grade
20 questions
Multiplication facts 1-12

Quiz
•
2nd - 3rd Grade