
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
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
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
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
Popular Resources on Wayground
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
9 questions
FOREST Community of Caring
Lesson
•
1st - 5th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
19 questions
Veterans Day
Quiz
•
5th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
Discover more resources for Specialty
10 questions
Honoring the Significance of Veterans Day
Interactive video
•
6th - 10th Grade
10 questions
Exploring Veterans Day: Facts and Celebrations for Kids
Interactive video
•
6th - 10th Grade
14 questions
General Technology Use Quiz
Quiz
•
8th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
6 questions
Veterans Day
Lesson
•
8th Grade
13 questions
Finding slope from graph
Quiz
•
8th Grade
10 questions
Exploring Europe: Geography, History, and Culture
Interactive video
•
5th - 8th Grade
