
Soal Pilihan Ganda Pemrograman Python (1)
Authored by Fatkhul Huda
Science
University
Used 2+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa yang dilakukan fungsi `print()` dalam Python?
Menyimpan data ke dalam file
Menampilkan data di layar
Menghitung nilai rata-rata
Menghapus data dari memori
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mendeklarasikan variabel `x` dengan nilai 10 dalam Python?
`int x = 10`
`x = 10`
`let x = 10`
`var x = 10`
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Fungsi mana yang digunakan untuk mengubah string menjadi huruf kapital dalam Python?
`capitalize()`
`upper()`
`title()`
`lower()`
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa hasil dari ekspresi `3**2` dalam Python?
6
9
8
12
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara membuat list kosong dalam Python?
`[]`
`()`
`{}`
`list()`
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Manakah dari berikut ini yang merupakan metode string untuk menghapus spasi dari awal dan akhir string?
`strip()`
`trim()`
`remove()`
`delete()`
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut: `print([1, 2, 3] + [4, 5])`?
`[1, 2, 3, 4, 5]`
`[1, 2, 3] [4, 5]`
`[1, 2, 3, [4, 5]]`
`[4, 5, 1, 2, 3]`
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
KUIS 1
Quiz
•
University
10 questions
PPOk
Quiz
•
University
15 questions
KITAR SEMULA MINYAK TERPAKAI
Quiz
•
10th Grade - University
12 questions
Cloud QUIZ
Quiz
•
University - Professi...
10 questions
Kuis IPAS
Quiz
•
University
12 questions
ASAS SAINS KOMPUTER : TINGKATAN 3
Quiz
•
4th Grade - University
15 questions
Monitoreo y control ambiental.
Quiz
•
University
13 questions
Latihan Soal Pesawat Sederhana
Quiz
•
8th Grade - University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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