
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.
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
LATIHAN SOFTWARE
Quiz
•
7th Grade
15 questions
PENILAIAN HARIAN-BAB 2 (BERPIKIR KOMPUTASIONAL)
Quiz
•
8th Grade
15 questions
Remidi Informatika k7 Dampak Sosial Informatika
Quiz
•
7th Grade
17 questions
Latihan Soal Informatika
Quiz
•
8th Grade - University
20 questions
Kisi kisi Informatika kelas 7 sem 1
Quiz
•
7th Grade
20 questions
Menggunakan Jaringan komputer dan Internet
Quiz
•
8th Grade
20 questions
BAB 6 ANALISIS DATA B. Perkakas Pengolah Lembar Kerja
Quiz
•
7th Grade - University
20 questions
TEKNOLOGI INFORMASI DAN KOMUNIKASI KELAS VIII
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 Information Technology (IT)
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
19 questions
Thanksgiving Trivia
Quiz
•
6th Grade
20 questions
Percent of a Number
Quiz
•
6th Grade
15 questions
scatter plots and trend lines
Quiz
•
8th Grade
20 questions
Physical and Chemical Changes
Quiz
•
8th Grade
20 questions
Photosynthesis and Cellular Respiration
Quiz
•
7th Grade
