JavaScript String Methods

JavaScript String Methods

12th Grade - Professional Development

15 Qs

quiz-placeholder

Similar activities

Quiz-1(Session 2023-24)

Quiz-1(Session 2023-24)

University

11 Qs

Python Programming Intermediate-1

Python Programming Intermediate-1

University

15 Qs

Tuan 3 - Python

Tuan 3 - Python

KG - Professional Development

10 Qs

Récursivité

Récursivité

University

13 Qs

SISD - Python

SISD - Python

University

10 Qs

Python

Python

University

15 Qs

HTML

HTML

9th - 12th Grade

15 Qs

8.12 C++ Test on Classes

8.12 C++ Test on Classes

9th - 12th Grade

15 Qs

JavaScript String Methods

JavaScript String Methods

Assessment

Quiz

Computers

12th Grade - Professional Development

Hard

Created by

Leonardo Ghiggino

Used 53+ times

FREE Resource

15 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

30 sec • 1 pt

let string = "foo"

How to determine the length of the string?

2.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

let string = "The cat is black"

How to find the index/position of "cat" in the string

3.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

let string = "The black cat is black"

How to find the LAST index/position of "black" in the string

4.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

let string = "Milk, chocolate, cookies"

How to extract a new string "chocolate, cookies" from the first string

5.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

let string = "Milk, chocolate, cookies"

How to replace "chocolate" with "banana"?

6.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

let string = "Milk, chocolate, cookies"

How to figure out what character is on the 3rd position of the string?

7.

FILL IN THE BLANK QUESTION

45 sec • 1 pt

let string = "Milk, chocolate, cookies"

How to convert the string to upper case?

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?