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
Similar Resources on Wayground
11 questions
RBT T1 2025

Quiz
•
6th Grade - University
15 questions
DTE UH bab 1

Quiz
•
10th Grade
10 questions
Pengelolaan Laboratorium Kimia

Quiz
•
10th Grade
10 questions
UH 2 X TAV

Quiz
•
9th - 12th Grade
10 questions
Kerajinan Bahan Keras Quiz

Quiz
•
10th Grade
15 questions
Soal Mid Semester DDPK 2 Okt 2024

Quiz
•
10th Grade
15 questions
Tes Sumatif Multimeter Analog

Quiz
•
10th Grade
15 questions
Pemrograman Algoritma dengan Python

Quiz
•
10th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Engineering
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
28 questions
Ser vs estar

Quiz
•
9th - 12th Grade
10 questions
Exploring Newton's Laws of Motion

Interactive video
•
6th - 10th Grade
20 questions
Cell organelles and functions

Quiz
•
10th Grade
10 questions
Colonial Grievances Against the King Quiz

Quiz
•
10th Grade
13 questions
BizInnovator Startup - Experience and Overview

Quiz
•
9th - 12th Grade