
Python Programming Quiz
Quiz
•
Computers
•
12th Grade
•
Practice Problem
•
Medium
Ridwan Mahenra
Used 1+ times
FREE Resource
Enhance your content in a minute
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu variabel dalam pemrograman Python?
Variabel dalam pemrograman Python adalah tipe data.
Variabel dalam pemrograman Python adalah komentar dalam kode.
Variabel dalam pemrograman Python adalah fungsi matematika.
Variabel dalam pemrograman Python adalah lokasi penyimpanan yang digunakan untuk menampung nilai.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikan contoh tipe data yang ada dalam Python!
integer, float, string, boolean, list, tuple, set, dictionary
array
char
integer
double
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa perbedaan antara if, elif, dan else dalam percabangan Python?
If is used as the final condition, elif is used to evaluate the first condition, else is used for additional conditions
If is used for additional conditions after elif, elif is used as the final condition, else is not needed
If is used to evaluate a single condition, elif is used to evaluate additional conditions after if, and else is used as the final condition if all previous conditions are not met.
If is used for multiple conditions, elif is used for a single condition, else is not necessary
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara menggunakan perulangan for dalam Python?
for x in range(5): print(x)
for i in range(5, 10): print(i)
for i in range(10): print(i)
for i in range(5): print(i)
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa kegunaan dari fungsi dalam pemrograman Python?
Fungsi hanya membuat kode lebih rumit
Fungsi digunakan untuk mengelompokkan kode dan memisahkan logika program.
Fungsi tidak memiliki peran dalam pemrograman Python
Fungsi digunakan untuk menghapus kode yang tidak diperlukan
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Bagaimana cara mengimpor modul eksternal dalam Python?
load nama_modul
import modul
use nama_modul
import nama_modul
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa itu list dalam Python dan berikan contoh penggunaannya!
my_list = ['a', 'b', 'c']
my_list = [1, 2, 3, 'a', 'b', 'c']
my_list = [1, 2, 'a', 'b']
my_list = [1, 2, 3, 4, 5]
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
16 questions
Higher SDD 1
Quiz
•
12th Grade
15 questions
Latihan soal
Quiz
•
9th - 12th Grade
12 questions
STRUKTUR KAWALAN ULANGAN
Quiz
•
1st - 12th Grade
11 questions
Ms. Excel
Quiz
•
12th Grade
10 questions
7. Quiz Berpikir Komputasional
Quiz
•
7th Grade - University
15 questions
Quis Grade 5
Quiz
•
9th - 12th Grade
20 questions
quizz tkinter
Quiz
•
11th Grade - University
10 questions
Post Test perangkat input output proses
Quiz
•
9th - 12th Grade
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
