
Python Programming Quiz
Quiz
•
Computers
•
9th Grade
•
Practice Problem
•
Medium
Ahmad Munif
Used 12+ times
FREE Resource
Enhance your content in a minute
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’
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
20 questions
BTIK
Quiz
•
9th - 12th Grade
19 questions
Informatika Kelas 5 Bab 2
Quiz
•
5th Grade - University
20 questions
ULANGAN HARIAN
Quiz
•
9th Grade
16 questions
PERWAKILAN DATA
Quiz
•
1st - 10th Grade
19 questions
Python Year 9 Quiz
Quiz
•
8th - 10th Grade
15 questions
TIK Quiz
Quiz
•
7th - 9th Grade
16 questions
UH 2 KLS IX
Quiz
•
9th Grade
20 questions
AQA GCSE Computer Science - 3.2.6 Data structures
Quiz
•
8th - 10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd 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
