P2-Regular Expressions

P2-Regular Expressions

University

10 Qs

quiz-placeholder

Similar activities

Vocabulary Quiz - Computer - 01

Vocabulary Quiz - Computer - 01

12th Grade - University

10 Qs

ADOBE PREMIERE

ADOBE PREMIERE

University

10 Qs

UTILITY PROGRAM

UTILITY PROGRAM

University

10 Qs

YT-Quiz

YT-Quiz

University

10 Qs

Latihan Ujian TKJ - Bagian A1

Latihan Ujian TKJ - Bagian A1

7th Grade - University

10 Qs

Robotics Prelim

Robotics Prelim

University

15 Qs

SOAL PTS 1 KOMPUTER AKUNTANSI KELAS XI

SOAL PTS 1 KOMPUTER AKUNTANSI KELAS XI

11th Grade - University

10 Qs

UAS Sistem Operasi Open Source

UAS Sistem Operasi Open Source

University

10 Qs

P2-Regular Expressions

P2-Regular Expressions

Assessment

Quiz

Computers

University

Practice Problem

Hard

Created by

Dr. Jopate

Used 1+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is line of Python code imports the re module?

Import re

import RE

import re

Import RE

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

_______ searches the entire string, not just starting at the beginning. It returns None if no match is found.

re.match()

re.Search()

re.Method()

re.search()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Will this code match the regular expression?

Yes

No

Sometimes Yes

Error in Program

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What letter will be printed on the screen after running this code:

e

x

t

Nothing prints

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the position of the name "Robert" in the following list:

0

1

2

3

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

In the following code, "city" is an example of a what?

List

Loop

Variable

Array

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What output will this code produce?

Exeter

4

6

city

Create a free account and access millions of resources

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?