
Operator Perbandingan dan Logika
Quiz
•
Information Technology (IT)
•
6th - 8th Grade
•
Practice Problem
•
Hard
frsk ysf
Used 5+ times
FREE Resource
Enhance your content in a minute
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
baterai = 40
sensor_ok = True
print(baterai > 50 and sensor_ok)
Answer explanation
Ekspresi 40 > 50 bernilai False, sehingga keseluruhan False meskipun sensor_ok True.
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
roda_kiri = 360
roda_kanan = 360
print(roda_kiri == roda_kanan)
Answer explanation
360 == 360 bernilai True.
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
suhu_motor = 45
print(suhu_motor < 70 and suhu_motor > 50)
Answer explanation
45 < 70 True, tapi 45 > 50 False, sehingga and menghasilkan False.
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
sensor_bola = False
print(not sensor_bola)
Answer explanation
not False bernilai True.
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
baterai = 45
mode_darurat = False
print(baterai > 50 or mode_darurat)
Answer explanation
45 > 50 False dan mode_darurat False, sehingga or menghasilkan False.
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
roda_kiri = 100
roda_kanan = 97
print(roda_kiri - roda_kanann <= 2)
Answer explanation
Terjadi NameError karena variabel roda_kanann tidak didefinisikan.
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
kamera_ok = True
lampu_ok = True
print(kamera_ok and not lampu_ok)
Answer explanation
not lampu_ok adalah not True = False, sehingga True and False = False.
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
STS XI SEMESTER 1
Quiz
•
6th Grade
16 questions
Sumatif Harian Berpikir Komputasional
Quiz
•
6th Grade
19 questions
Arduino Quiz
Quiz
•
8th Grade
20 questions
Soal STS TIK Kelas 5 Semester 2
Quiz
•
5th Grade - University
20 questions
Quiz Informatika Kelas VIII - Keamanan dan Etika Digital
Quiz
•
8th Grade
20 questions
BAB 5 ANALISIS DATA B. Data dalam Bentuk Diagram KELAS 4
Quiz
•
4th Grade - University
20 questions
JARINGAN KOMPUTER DAN INTERNET KLS VII
Quiz
•
7th Grade
15 questions
Quiz 1 TIK Kelas 7
Quiz
•
7th Grade
Popular Resources on Wayground
7 questions
History of Valentine's Day
Interactive video
•
4th Grade
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
15 questions
Valentine's Day Trivia
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Information Technology (IT)
20 questions
Context Clues
Quiz
•
6th Grade
10 questions
Exploring Valentine's Day with Charlie Brown
Interactive video
•
6th - 10th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
10 questions
History and Traditions of Valentine's Day
Interactive video
•
3rd - 6th Grade
20 questions
Valentine’s Day and Disney Trivia Worksheet
Quiz
•
6th Grade
18 questions
Valentines Day Trivia
Quiz
•
3rd Grade - University
20 questions
Writing Algebraic Expressions
Quiz
•
6th Grade
20 questions
Ratios/Rates and Unit Rates
Quiz
•
6th Grade
