String Functions Quiz

String Functions Quiz

10th Grade

20 Qs

quiz-placeholder

Similar activities

RECUP AV. - 1ª SÉRIE - PECOP - CEPS

RECUP AV. - 1ª SÉRIE - PECOP - CEPS

10th Grade

15 Qs

Computação em Nuvem e Excel

Computação em Nuvem e Excel

10th Grade

20 Qs

EXAMEN DE  PROGRAMACION 2DO INFORMATICA

EXAMEN DE PROGRAMACION 2DO INFORMATICA

10th Grade

19 Qs

Revisão Programação Web - 2

Revisão Programação Web - 2

10th Grade - Professional Development

15 Qs

REVISÃO - 4º ANO - SEGURANÇA NA INTERNET 01

REVISÃO - 4º ANO - SEGURANÇA NA INTERNET 01

4th Grade - University

15 Qs

Portugol Quiz

Portugol Quiz

10th Grade

18 Qs

Quiz sobre Métodos JavaScript para Estilização de Elementos

Quiz sobre Métodos JavaScript para Estilização de Elementos

9th Grade - University

15 Qs

Computer Science Chapter Review

Computer Science Chapter Review

9th - 12th Grade

25 Qs

String Functions Quiz

String Functions Quiz

Assessment

Quiz

Instructional Technology

10th Grade

Medium

Created by

Zemmary Batucan

Used 1+ times

FREE Resource

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function concatenates (combines) two or more strings into a single string?

JOIN()

CONCAT()

MERGE()

APPEND()

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the LENGTH() function return?

The number of words in a string.

The number of characters in a string.

The position of a substring within a string.

The length of the longest word in a string.

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function converts all characters in a string to lowercase?

LOWERCASE()

TO_LOWER()

LOWER()

SMALLER()

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you extract a portion of a string starting at the 5th character and taking 3 characters?

SUBSTRING(string, 5, 3)

EXTRACT(string, 5, 3)

CUT(string, 5, 3)

PART(string, 5, 3)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What does the INSTR() function return?

The length of a substring.

The position of the first occurrence of a substring within a string.

The number of occurrences of a substring within a string.

The last occurrence of a substring within a string.

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which function removes leading and trailing spaces from a string?

CLEAN()

TRIM()

REMOVE()

STRIP()

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How do you replace all occurrences of "example.com" with "newdomain.com" in a string?

REPLACE(string, "example.com", "newdomain.com")

SUBSTITUTE(string, "example.com", "newdomain.com")

SWAP(string, "example.com", "newdomain.com")

CHANGE(string, "example.com", "newdomain.com")

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?