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
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
Already have an account?
Similar Resources on Wayground
15 questions
Teknik Mesin
Quiz
•
10th Grade
10 questions
KEMASAN DAN LABEL
Quiz
•
3rd Grade - University
10 questions
RESISTOR
Quiz
•
10th Grade
10 questions
Rangkaian seri Resistor
Quiz
•
10th Grade
5 questions
Ujian Harian Pemrograman Terstruktur
Quiz
•
10th Grade
5 questions
PRETEST
Quiz
•
10th Grade - University
15 questions
Kuis Pengukuran Resistor
Quiz
•
10th Grade
15 questions
Perhitungan Nilai Resistor
Quiz
•
10th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
15 questions
4:3 Model Multiplication of Decimals by Whole Numbers
Quiz
•
5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
The Best Christmas Pageant Ever Chapters 1 & 2
Quiz
•
4th Grade
12 questions
Unit 4 Review Day
Quiz
•
3rd Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
Discover more resources for Engineering
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
10 questions
Understanding Meiosis
Interactive video
•
6th - 10th Grade
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
20 questions
Cell organelles and functions
Quiz
•
10th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
10 questions
Exploring the Energy Cycle: Photosynthesis and Cellular Respiration
Interactive video
•
6th - 10th Grade
10 questions
Guess the Christmas Movie by the Scene Challenge
Interactive video
•
6th - 10th Grade
