
Quiz Coding Pecabangan - Looping
Quiz
•
Specialty
•
8th Grade
•
Medium
Gregorio Hartono
Used 3+ times
FREE Resource
Enhance your content in a minute
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pilihlah beberapa operator matematika python / colab yang benar !
IF ELSE WHILE
While + -
+ - / *
+ if else
Answer explanation
Operator matematika pada Python /Colab terdapat 7 yaitu
Penjumlahan (+)
Pengurangan (-)
Perkalian (*)
Pembagian (/)
Modulus (%)
Pemangkatan (**)
Pembagian Bulat (//)
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pilihlah fungsi percabangan dari syarat tertentu yang benar !
If Else
While elif
For if
Answer explanation
Fungsi percabangan ada 3 yaitu
if (dengan syarat yang ditambahkan)
else (tanpa ada syarat yang penting berbeda dengan if sebelumnya)
elif (gabungan else & if)
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pilihlah operator perulangan yang benar !
While If
If a = 0
while for
for else
Answer explanation
Perulangan pada colab atau python terdapat 2 yaitu
for dan while
4.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Tipe data yang digunakan untuk angka pada pemrograman yang benar adalah ...
(Pilih 2 jawaban)
str
int
char
float
Answer explanation
Float digunakan untuk bilangan desimal
Int digunakan untuk bilangan normal
char dgunakan untuk karaker dalam code
str merupakan string dalam code
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apabila dijalankan akan mengeluarkan hasil seperti apa ?
The grade is: Nilai B
The grade is: Nilai D
The grade is: Nilai C
The grade is: Nilai F
Answer explanation
Karena nilai 94 lebih besar dari 90
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apbila dijalankan apakah hasil yang akan keluar ?
The grade is: Nilai F
The grade is: Nilai B
The grade is: Nilai A
The grade is: Nilai C
Answer explanation
Apabila diperhatikan pada code :
elif a > 90:
print("Nilai B")
nilai 90 masuk ke dalam nilai C karena a > 90 bukan a>= 90
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apbila dijalankan apakah hasil yang akan keluar ?
The grade is: Nilai C
The grade is: Nilai D
The grade is: Nilai E
The grade is: Nilai F
Answer explanation
Nilai 45 tidak terdapat pada elif manapun sehingga diarahkan ke else
oleh sebab itu menghasilkan nilai F
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
Popular Resources on Wayground
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
20 questions
Multiplying and Dividing Integers
Quiz
•
7th Grade
10 questions
How to Email your Teacher
Quiz
•
Professional Development
15 questions
Order of Operations
Quiz
•
5th Grade
Discover more resources for Specialty
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
MINERS Core Values Quiz
Quiz
•
8th Grade
10 questions
Boomer ⚡ Zoomer - Holiday Movies
Quiz
•
KG - University
20 questions
Figurative Language Review
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
22 questions
Newton's Laws of Motion
Lesson
•
8th Grade
24 questions
3.1 Parallel lines cut by a transversal
Quiz
•
8th Grade
20 questions
Slope from a Graph
Quiz
•
8th Grade
