Python - Pemrograman Terstruktur Filter Nilai
Quiz
•
Engineering
•
10th Grade
•
Practice Problem
•
Medium
Shinata Putra
Used 2+ times
FREE Resource
Enhance your content in a minute
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
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
10 questions
Thermodynamics | Steam Table_Part 2
Quiz
•
10th Grade
10 questions
LATIHAN SOAL – PENGANTAR ALGORITMA
Quiz
•
10th Grade
5 questions
Alat-Alat Teknik
Quiz
•
10th Grade
10 questions
Quiz Garis dalam Gambar Teknik
Quiz
•
10th Grade
10 questions
K3LH dan Budaya Kerja
Quiz
•
10th Grade
10 questions
Proses Bisnis Manufaktur
Quiz
•
9th - 12th Grade
10 questions
Proses Thermal Pengolahan ikan kelas X
Quiz
•
10th Grade - University
5 questions
Uji Pengetahuan tentang Resistor
Quiz
•
10th Grade
Popular Resources on Wayground
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
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade
Discover more resources for Engineering
20 questions
-AR -ER -IR present tense
Quiz
•
10th - 12th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
15 questions
Main Idea and Supporting Details.
Quiz
•
4th - 11th Grade
20 questions
Cell Organelles
Quiz
•
10th Grade
25 questions
Complementary and Supplementary Angles
Quiz
•
7th - 10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
13 questions
Model Exponential Growth and Decay Scenarios
Quiz
•
9th - 12th Grade
10 questions
Exploring the Layers of the Earth
Interactive video
•
6th - 10th Grade
