JavaScript String Methods

Quiz
•
Computers
•
12th Grade - Professional Development
•
Hard
Leonardo Ghiggino
Used 55+ 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
Similar Resources on Wayground
20 questions
1TEC_AVALIAÇÃO LÓGICA COMPUTACIONAL 3º TRI_AV5

Quiz
•
12th Grade - University
20 questions
Quiz Pemrograman Phyton

Quiz
•
9th - 12th Grade
15 questions
JavaScript Pass by value, Pass by Reference, Scope Hoisting

Quiz
•
Professional Development
20 questions
JAVA FUNDAMENTALS

Quiz
•
9th - 12th Grade
10 questions
JS Practice Array & Function

Quiz
•
9th - 12th Grade
10 questions
Diagnóstico Node.js

Quiz
•
Professional Development
20 questions
Arrays in Java

Quiz
•
9th - 12th Grade
10 questions
C Program Array and strings

Quiz
•
University
Popular Resources on Wayground
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
10 questions
Nouns, nouns, nouns

Quiz
•
3rd Grade
10 questions
9/11 Experience and Reflections

Interactive video
•
10th - 12th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
11 questions
All about me

Quiz
•
Professional Development
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
9 questions
Tips & Tricks

Lesson
•
6th - 8th Grade
Discover more resources for Computers
20 questions
Digital Citizenship

Quiz
•
8th - 12th Grade
35 questions
Computer Baseline Examination 2025-26

Quiz
•
9th - 12th Grade
13 questions
Problem Solving Process

Quiz
•
9th - 12th Grade
10 questions
Understanding Algorithms with Pseudocode and Flowcharts

Interactive video
•
9th - 12th Grade
19 questions
AP CSP Unit 1 Review (code.org)

Quiz
•
10th - 12th Grade