
Postest python Quiz
Authored by akhdiyat quiz
Computers
12th Grade
Used 1+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Bagaimana cara menginstal Python pada komputer?
Gunakan installer Python dari situs web palsu
Instal Python dengan mengklik tautan acak dari email spam
Unduh installer Python dari situs web resmi python.org, jalankan installer, pilih opsi 'Add Python to PATH' selama proses instalasi, dan ikuti petunjuk instalasi hingga selesai.
Menginstal Python melalui terminal.
2.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Apa hasil dari operasi 10 / 3 dalam Python?
3.3333333333333333
3.0
3.33
3.3333333333333335
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Apa output dari kode berikut?
python
x = 5
if x > 10:
print("Lebih besar dari 10")
else:
print("Tidak lebih besar dari 10")
Sama dengan 10
Lebih besar dari 10
Kurang dari 10
Tidak lebih besar dari 10
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Bagaimana cara menulis kondisi if else yang benar dalam Python?
jika kondisi:
if kondisi then:
jika kondisi then:
if kondisi:
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Perulangan while akan terus berjalan selama?
kondisi yang diberikan benar (true)
looping sudah selesai
variabel yang diberikan tidak ada
kondisi yang diberikan salah (false)
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Apa output dari perulangan berikut? python for i in range(3): print(i)
0 1 2 3
1 2 3
1 2
0 1 2
7.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Bagaimana menuliskan fungsi sederhana yang mengembalikan hasil penjumlahan dua angka pada python?
def tambah(a, b):
print(a + b)
def tambah(a, b):
return a * b
def tambah(a, b):
print(a*b)
def tambah(a, b):
return a + b
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
10 questions
🔦 Formative Assessment 2: Flow Controls
Quiz
•
12th Grade
12 questions
Wee Word Intro
Quiz
•
7th - 12th Grade
10 questions
Tugas kelas XII RPL
Quiz
•
12th Grade
15 questions
UAS TLJ
Quiz
•
9th - 12th Grade
10 questions
MIL March 8, 2023
Quiz
•
12th Grade
15 questions
PTS TID KELAS XII
Quiz
•
12th Grade
15 questions
Algoritmos Simples
Quiz
•
12th Grade
14 questions
Bài 29. Nhận biết lỗi chương trình
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