
Quiz Pemrograman Phyton
Authored by Muhammad Salim
Computers
9th - 12th Grade
Used 21+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Apa fungsi dari perintah `print()` di Python?
Menghentikan program
Mencetak teks ke layar
Membuat variabel baru
Menjalankan perulangan
2.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Sintaks yang benar untuk mencetak 'Hello, World!' di Python adalah...
echo 'Hello, World!'
console.log('Hello, World!')
print('Hello, World!')
printf('Hello, World!')
3.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Variabel dalam Python dapat digunakan untuk menyimpan...
Hanya angka
Hanya teks
Semua tipe data (angka, teks, list, dll.)
Hanya karakter khusus
4.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Apa hasil dari kode berikut ini? `x = 5; y = 2; print(x + y)`
10
7
3
Error
5.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Bagaimana cara mendeklarasikan variabel `name` dengan nilai 'Alice' di Python?
name: Alice
var name = 'Alice'
name = 'Alice'
let name = Alice
6.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Operator mana yang digunakan untuk menghitung sisa bagi di Python?
%
/
//
**
7.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
Kode berikut akan menghasilkan apa? `print(3 ** 2)`
9
6
8
12
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?