JWD JS Test Bank 11-20

JWD JS Test Bank 11-20

Professional Development

10 Qs

quiz-placeholder

Similar activities

Java Programming Quiz #1

Java Programming Quiz #1

Professional Development

10 Qs

Test JS

Test JS

Professional Development

15 Qs

Basics of JavaScript

Basics of JavaScript

11th Grade - Professional Development

15 Qs

Moringa JavaScript Arrays

Moringa JavaScript Arrays

5th Grade - Professional Development

10 Qs

Javascript Datatypes and Variables(Kushal Das)

Javascript Datatypes and Variables(Kushal Das)

Professional Development

15 Qs

JavaScript Quiz Day-1

JavaScript Quiz Day-1

Professional Development

12 Qs

JavaScript Pass by value, Pass by Reference, Scope Hoisting

JavaScript Pass by value, Pass by Reference, Scope Hoisting

Professional Development

15 Qs

04 JavaScript Einführung

04 JavaScript Einführung

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?