Strings - JavaScript

Strings - JavaScript

10th Grade

16 Qs

quiz-placeholder

Similar activities

YVIP Earsketch Vocab Review 2021

YVIP Earsketch Vocab Review 2021

6th - 12th Grade

12 Qs

Quiz 1. Data Structures (OSTIM 2022)

Quiz 1. Data Structures (OSTIM 2022)

1st - 12th Grade

12 Qs

Elements & Principles of Design

Elements & Principles of Design

9th - 12th Grade

14 Qs

Ch. 3 Review - HTML

Ch. 3 Review - HTML

9th - 12th Grade

20 Qs

Class XC ICT Test

Class XC ICT Test

10th Grade

20 Qs

Python Math Division CS

Python Math Division CS

9th - 12th Grade

19 Qs

Variables and Data Types

Variables and Data Types

10th Grade

16 Qs

M05 - Estruturas de Dados Python

M05 - Estruturas de Dados Python

10th Grade - University

16 Qs

Strings - JavaScript

Strings - JavaScript

Assessment

Quiz

Instructional Technology

10th Grade

Medium

Created by

Gabrielle G Procario

Used 13+ times

FREE Resource

16 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following string methods can be used to check if a string value contains an uppercase Z?

indexOf

charAt

substring

contains

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following string methods can be used to generate an all uppercase version of a given string?

toUpperCase

toUppercase

substring

UpperCase

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following string methods can be used to generate an all lowercase version of a given string?

toLowerCase

toLowercase

substring

LowerCase

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following string methods can be used to extract a piece of a string and save it to a separate location?

indexOf

charAt

substring

extract

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Code uses what value for the first space or index in a string?

0

1

a

i

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

JavaScript supports two syntax options for strings, single quotes and double quotes

TRUE

FALSE

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The syntax option we will use IN THIS CLASS AND moving forward, for JavaScript supports for strings is single quotes

TRUE

FALSE

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?