
Pemrograman 2: Regular Expressions (2/2)

Quiz
•
Computers
•
University
•
Hard
Tri Muliawati
Used 4+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah diantara script di bawah yang bisa menggantikan script berikut.
found = re.search(r'^\d{3,}', text)
found = re.search(r'^\d{3,}$', text)
found = re.search(r'\d{3,}$', text)
found = re.search(r'\d{3,}', text)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah diantara script di bawah yang bisa menggantikan script berikut.
found = re.search(r'^\d{3,}', text)
found = re.search(r'^\d{3,}$', text)
found = re.search(r'\d{3,}$', text)
found = re.search(r'\d{3,}', text)
3.
MULTIPLE SELECT QUESTION
45 sec • 2 pts
Manakah potongan string / text yang memenuhi pola di atas?
'@Alpha,'
'@Alpha'
'@gamma'
'@g'
4.
MULTIPLE SELECT QUESTION
45 sec • 5 pts
Manakah potongan string / text yang memenuhi pola di atas?
bakso urat
(1) bakso urat
nasi goreng
(2) nasi goreng
5.
MULTIPLE SELECT QUESTION
45 sec • 3 pts
Manakah potongan string / text yang memenuhi pola di atas?
salad
(3)salad
"bahagia"
bahagia
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa nama fungsi library regex yang digunakan untuk menggantikan suatu text yang memenuhi pola dengan text lain?
re.match()
re.replace()
re.sub()
re.split()
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa nama fungsi library regex yang digunakan untuk memisahkan suatu text yang memenuhi pola dan menyimpan hasilnya dalam sebuah list?
re.match()
re.replace()
re.sub()
re.split()
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
WEB PROGRAMMING-2

Quiz
•
University
7 questions
Demo (HTML)

Quiz
•
University
10 questions
BOOLEAN CLUB QUIZ 2

Quiz
•
University
13 questions
HTML beginners quiz

Quiz
•
9th Grade - Professio...
10 questions
PYTHON_CHAPTER 2

Quiz
•
University
14 questions
Google Labs Quiz

Quiz
•
12th Grade - University
15 questions
DASPRO RESPONSI - 1

Quiz
•
University
10 questions
Java Standard Tag Library (JSTL)

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
21 questions
Spanish-Speaking Countries

Quiz
•
6th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
7 questions
Common and Proper Nouns

Interactive video
•
4th Grade - University
12 questions
Los numeros en español.

Lesson
•
6th Grade - University
7 questions
PC: Unit 1 Quiz Review

Quiz
•
11th Grade - University
7 questions
Supporting the Main Idea –Informational

Interactive video
•
4th Grade - University
12 questions
Hurricane or Tornado

Quiz
•
3rd Grade - University
7 questions
Enzymes (Updated)

Interactive video
•
11th Grade - University