
Quiz Coding Pecabangan - Looping
Quiz
•
Specialty
•
8th Grade
•
Practice Problem
•
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
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
20 questions
Kelas VIII A BAB XIII "MEMILIH UNTUK BERSYUKUR"
Quiz
•
8th Grade
20 questions
HGP_PCC_CA_REVIEW
Quiz
•
6th - 8th Grade
16 questions
AVID goals
Quiz
•
6th - 8th Grade
20 questions
MEEWAH - Ethical Tourism Quiz
Quiz
•
8th Grade
20 questions
Kuis Pengetahuan Situs Web
Quiz
•
7th - 8th Grade
16 questions
Library Review
Quiz
•
6th - 8th Grade
20 questions
SELEKSI REGENS KINGDOMS
Quiz
•
KG - University
20 questions
UIL Maps, Graphs, and Charts Practice
Quiz
•
6th - 8th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th 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
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
