
Python Programming Quiz
Authored by Ahmad Munif
Computers
9th Grade
Used 12+ 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
45 sec • 1 pt
Manakah dari pernyataan berikut yang benar tentang Python?
Python adalah bahasa yang dikompilasi
Python adalah bahasa tingkat tinggi
Python terutama digunakan untuk perhitungan numerik saja
Python tidak cocok untuk pengembangan web
2.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Simbol mana yang digunakan untuk komentar satu baris di Python?
//
#
–
/* */
3.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Apa yang akan menjadi output dari potongan kode berikut? x = 5 y = 2 print(x ** y)
10
7
25
3
4.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Manakah dari berikut ini yang merupakan nama variabel Python yang valid?
2var
_myVar
my-var
my var
5.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Pilihlah di antara berikut ini yang merupakan tipe data yang valid di Python?
int
float
char
str
6.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Pernyataan mana yang benar tentang konvensi penamaan variabel Python?
Variabel harus dimulai dengan huruf kapital.
Variabel tidak boleh mengandung angka.
Nama variabel dapat menyertakan garis bawah (_).
Nama variabel tidak boleh lebih dari 10 karakter.
7.
MULTIPLE CHOICE QUESTION
45 sec • 1 pt
Apa yang akan menjadi output dari potongan kode berikut? print(3 * 'abc')
abcabcabcabc
abcabc
abcabcabc
Kesalahan: tidak dapat mengalikan urutan dengan non-int dari tipe ‘str’
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
18 questions
Kuis 2 DIM
Quiz
•
9th - 12th Grade
20 questions
Browser dan CMS
Quiz
•
7th - 9th Grade
20 questions
Administrasi Sistem jaringan KD1
Quiz
•
1st - 10th Grade
15 questions
Sejarah Komputer 2
Quiz
•
1st - 12th Grade
20 questions
UKURAN DATA 2
Quiz
•
7th - 11th Grade
15 questions
OFFICE 2016
Quiz
•
9th Grade
20 questions
Teknologi Informasi Komunikasi 9
Quiz
•
9th Grade - University
20 questions
SOFTWARE 7I
Quiz
•
7th 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
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