IT tutor

IT tutor

12th Grade

18 Qs

quiz-placeholder

Similar activities

Quiz Komputasional-Struktur Data kelas 9

Quiz Komputasional-Struktur Data kelas 9

9th Grade - University

20 Qs

PSAJ

PSAJ

9th - 12th Grade

20 Qs

HTML 5 2o. TEC

HTML 5 2o. TEC

12th Grade

15 Qs

F2 Soalan Objektif Kod Arahan

F2 Soalan Objektif Kod Arahan

12th Grade

20 Qs

struktur data kelas XII.8

struktur data kelas XII.8

12th Grade

21 Qs

Экзамен C++ ОП

Экзамен C++ ОП

9th - 12th Grade

17 Qs

Unit 3: Basic Python & Console Interaction

Unit 3: Basic Python & Console Interaction

9th - 12th Grade

21 Qs

IT tutor

IT tutor

Assessment

Quiz

Information Technology (IT)

12th Grade

Hard

Created by

Dimension 21

Used 2+ times

FREE Resource

18 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

45 sec • 5 pts

Which modifier performs case-insensitive matching in regular expressions?

2.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What does the regular expression pattern [0-9] match?

Any letter from a to z

Any digit from 0 to 9

Any special character

Any whitespace character

3.

FILL IN THE BLANK QUESTION

45 sec • 5 pts

Which metacharacter matches a digit in regular expressions?

4.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What does the quantifier n+ match?

Zero or more occurrences of n

Exactly one occurrence of n

At least one occurrence of n

Zero or one occurrence of n

5.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

JavaScript Methods and Objects

What does the test() method of RegExp return?

The matched text

The index of the match

true or false

A new string

6.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What will "Hello world!".repeat(2) return?

"Hello world!Hello world!"

"Hello world!2"

"Hello world! Hello world!"

An Error

None of the Above

7.

MULTIPLE CHOICE QUESTION

45 sec • 5 pts

What does the exec() method return when no match is found?

false

0

null

undefined

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?