
Soal Pilihan Ganda Pemrograman Python (1)
Quiz
•
Science
•
University
•
Practice Problem
•
Hard
Fatkhul Huda
Used 2+ times
FREE Resource
Enhance your content in a minute
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]`
Create a free account and access millions of resources
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
0 questions
Quiz Pemrograman Python
Quiz
•
0 questions
Python Dasar
Quiz
•
0 questions
ASK
Quiz
•
0 questions
Latihan Pra UTS Algoritma dan Pemrograman 2 (Python)
Quiz
•
0 questions
quiz dasar python
Quiz
•
0 questions
Post-Test Algoritma dan Pemrograman
Quiz
•
0 questions
Latihan OSNK Informatika 2025 Bag 2
Quiz
•
0 questions
Soal Ujian Pemrograman Dasar
Quiz
•
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Science
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
20 questions
christmas songs
Quiz
•
KG - University
20 questions
Holiday Trivia
Quiz
•
9th Grade - University
15 questions
Holiday Movies
Quiz
•
University
14 questions
Christmas Trivia
Quiz
•
3rd Grade - University
20 questions
Christmas Trivia
Quiz
•
University
8 questions
5th, Unit 4, Lesson 8
Lesson
•
KG - Professional Dev...
20 questions
Disney Trivia
Quiz
•
University
