JWD JS Test Bank 11-20

JWD JS Test Bank 11-20

Professional Development

10 Qs

quiz-placeholder

Similar activities

PreTrainingJavaScript

PreTrainingJavaScript

Professional Development

9 Qs

ES6

ES6

Professional Development

12 Qs

JavaScript

JavaScript

Professional Development

12 Qs

Java main() and Scanner

Java main() and Scanner

Professional Development

10 Qs

JavaScript MVC

JavaScript MVC

Professional Development

10 Qs

Javascript HTML CSS

Javascript HTML CSS

Professional Development

13 Qs

Chapter 2 - FSW

Chapter 2 - FSW

Professional Development

10 Qs

JWD JS Test Bank 11-20

JWD JS Test Bank 11-20

Assessment

Quiz

Computers

Professional Development

Medium

Created by

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

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?