Pilihlah beberapa operator matematika python / colab yang benar !

Quiz Coding Pecabangan - Looping

Quiz
•
Specialty
•
8th Grade
•
Medium
Gregorio Hartono
Used 3+ times
FREE Resource
18 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Similar Resources on Quizizz
18 questions
Self's Roots -Vocabulary - 01/22/24

Quiz
•
6th - 8th Grade
15 questions
Kitchen Floor Plan

Quiz
•
8th Grade
16 questions
Library Review

Quiz
•
6th - 8th Grade
20 questions
Dinas Dinas

Quiz
•
7th - 9th Grade
20 questions
Sinonim dan Antonim P6/Term 2/20-21

Quiz
•
1st - 10th Grade
18 questions
Academic Honesty Policy

Quiz
•
7th - 12th Grade
13 questions
High School Terminology

Quiz
•
8th Grade
22 questions
Kuiz Rukun Negara

Quiz
•
7th - 11th Grade
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
Discover more resources for Specialty
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade
17 questions
Parts of Speech

Quiz
•
7th - 12th Grade
10 questions
Identifying equations

Quiz
•
KG - University
44 questions
El fin del año- 7th

Quiz
•
7th - 12th Grade
40 questions
Word Study Assessment: Roots, Prefixes, Suffixes, and Vocabulary

Quiz
•
8th Grade
17 questions
guess the logo

Quiz
•
8th Grade
16 questions
Function or Non-Function?

Quiz
•
8th - 10th Grade
15 questions
Sentence Fragments and Run-ons

Quiz
•
8th Grade