Python - Pemrograman Terstruktur Filter Nilai
Quiz
•
Engineering
•
10th Grade
•
Medium
Shinata Putra
Used 2+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Apa fungsi dari kode filter_nilai?
Menghitung total nilai
Memfilter nilai berdasarkan batas tertentu dan menghitung rata-rata nilai lulus
Menyimpan nilai yang gagMembandingkan nilai dengan batasal
Membandingkan nilai dengan batas
Menambahkan nilai baru ke dalam daftar
2.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Apa output dari filter_nilai([50, 60, 75, 80], 70)?
([50, 60], 65)
([75, 80], 77.5)
([60, 75], 70)
([70, 80], 75)
([75, 80], 80)
3.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Jika daftar nilai adalah [40, 50, 60] dan batas adalah 65, apa hasil yang dikembalikan?
([40, 50], 45)
([50, 60], 55)
([], 0)
([40, 60], 50)
([60], 60)
4.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Apa yang terjadi jika semua nilai dalam daftar lebih kecil dari batas?
Fungsi akan menghasilkan error
Rata-rata menjadi nilai pertama dalam daftar
Menghasilkan daftar kosong dan rata-rata 0
Semua nilai akan dianggap lulus
Menghitung rata-rata dari semua nilai
5.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Apa peran kode if nilai_lulus else 0?
Menghindari error ketika daftar kosong
Menambahkan nilai default ke daftar
Mengabaikan nilai kecil
Menghitung total semua nilai
Membandingkan nilai rata-rata
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Apa yang akan dicetak oleh perintah print("Rata-rata:", rata) jika nilai = [65, 70, 85] dan batas = 80?
80
65
75
85
0
7.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
Berapakah panjang daftar nilai_lulus jika nilai = [90, 85, 40, 30] dan batas = 50?
1
2
3
4
0
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
Popular Resources on Wayground
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
19 questions
Veterans Day
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
15 questions
Circuits, Light Energy, and Forces
Quiz
•
5th Grade
6 questions
FOREST Self-Discipline
Lesson
•
1st - 5th Grade
7 questions
Veteran's Day
Interactive video
•
3rd Grade
20 questions
Weekly Prefix check #2
Quiz
•
4th - 7th Grade
Discover more resources for Engineering
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
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
10 questions
Exploring the Origins of Veterans Day
Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
7 questions
Combining & Revising Sentences- EOC English I Crunchtime
Quiz
•
9th - 10th Grade
19 questions
Explore Triangle Congruence and Proofs
Quiz
•
9th - 12th Grade
10 questions
Exploring Newton's Laws of Motion
Interactive video
•
6th - 10th Grade
