
String dan List
Quiz
•
Information Technology (IT)
•
9th - 12th Grade
•
Practice Problem
•
Medium
rochyati aja
Used 1+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa yang terjadi kalau kita lupa menutup string dengan tanda kutip di Python?
Program otomatis menambahkan kutip
Program tetap jalan norma
Python akan memberikan SyntaxError
Python mengubah string jadi angka
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Bagaimana cara membuat string banyak baris di Python?
Pakai tanda kutip " "
Pakai ''' ... ''' atau """ ... """
Pakai tanda kurung ( )
Tidak bisa
3.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa hasil dari perintah berikut?
print(5 * 'hi')
'hi'
'hi5'
'hihihihihi'
Error
4.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa kegunaan \ (backslash) di dalam string?
Untuk menghapus spasi
Untuk mengulang string
Untuk escape karakter khusus seperti kutip
Untuk membuat list
5.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Apa perbedaan utama string dengan list?
String bisa diubah, list tidak
String hanya angka, list hanya teks
String adalah teks, list bisa menyimpan banyak item dan jenis data
Tidak ada bedanya
6.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Jika wizard_list = ['spider legs', 'toe of frog', 'eye of newt'], apa hasil print(wizard_list[1])?
spider legs
toe of frog
eye of newt
error
7.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
Mengapa wizard_list[2] = 'snail tongue' bisa dijalankan?
Karena list bisa diubah isinya
Karena string tidak bisa diubah
Karena index list dimulai dari 1
Karena append otomatis
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Quis code blocks
Quiz
•
11th Grade
10 questions
Uji Pemahaman Berpikir Kritis
Quiz
•
11th Grade
10 questions
VPN - Kons 1 - XII TKJ
Quiz
•
12th Grade
15 questions
ASTS INFORMATIKA KELAS 9
Quiz
•
9th Grade
15 questions
Quiz về Kiểu Dữ Liệu List và Set (1)
Quiz
•
7th Grade - University
10 questions
KUIS KODING & KA 1
Quiz
•
10th Grade - University
10 questions
Berpikir Kritis & Dampak Informatika
Quiz
•
11th Grade
10 questions
Manajemen Proyek Rekayasa Perangkat Lunak
Quiz
•
10th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
El Verbo IR Practice
Quiz
•
9th Grade
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
20 questions
Graphing Inequalities on a Number Line
Quiz
•
6th - 9th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
10 questions
Theme
Quiz
•
9th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
12 questions
Exponential Growth and Decay
Quiz
•
9th Grade
