
mini quiz
Quiz
•
Mathematics
•
10th Grade
•
Practice Problem
•
Easy
Angel Jeanne
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
{'dep2' : {'orange': 4}
Dari potongan dictionary di atas, manakah yang tergolong value?
4
'dep2'
'orange'
{'orange': 4}
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
sales = [["apple", 2, 5], ["banana", 3, 6], ["orange", 1, 3]]
item_names = [sale[0] for sale in sales]
Apa yang akan dihasilkan oleh kode di atas?
["apple", 2, 5]
["apple", "banana", "orange"]
[['apple', 2, 5], ['banana', 3, 6], ['orange', 1, 3]]
[2, 3, 1]
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
with open(instructions, 'r') as file:
actions = file.readlines()
Apa yang dilakukan kode di atas?
Menulis data ke dalam file
Membaca data dari file dan menyimpannya dalam list
Menutup file setelah membaca data
Menambahkan data baru ke dalam file
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
Tuple dilambangkan dengan apa?
{}
()
[]
([])
5.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
fruits = ["apple", "banana", "cherry"]
Apa hasil dari fruits.index("cherry")?
0
1
2
3
6.
MULTIPLE CHOICE QUESTION
5 mins • 1 pt
COMPASS = ["N", "NE", "E", "SE", "S", "SW", "W", "NW"]
current_direction = "N"
turn_steps = -3
new_direction = COMPASS[(COMPASS.index(current_direction) + turn_steps) % 8]
Apa nilai dari new_direction?
SE
W
SW
NW
7.
MULTIPLE CHOICE QUESTION
3 mins • 1 pt
Apa perbedaan utama antara mode 'r+' dan 'w+' saat membuka file di Python?
Mode r+ membaca dan tidak menimpa data yang sudah ada dalam file ketika menulis dan file harus ada, sedangkan mode w+ membaca dan tidak mengharuskan adanya file dan menimpa data yang sudah ada dalam file ketika menulis
Mode r+ dan mode w+ tidak ada bedanya
Mode r+ membaca file lalu menulis, mode w+ menulis lalu membaca file
Mode 'r+' hanya bisa digunakan untuk menulis ke file yang sudah ada, sementara 'w+' dapat digunakan untuk membuat file baru jika file tidak ada.
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
Grade 4 Math: Adding, Subtracting, and Multiplying Units
Quiz
•
4th Grade - University
12 questions
Crash Bandicoot Quiz
Quiz
•
5th Grade - University
12 questions
Boats & Streams Quiz
Quiz
•
9th - 12th Grade
12 questions
Activity 1 - Hamilton
Quiz
•
10th Grade
12 questions
Measures of Central Tendencies and Basic Variation
Quiz
•
9th - 12th Grade
10 questions
MAT 471 Online Tool (Trig)
Quiz
•
9th - 12th Grade
13 questions
Probability of Compound Events
Quiz
•
7th Grade - University
15 questions
Mean, Median, Mode, and Range: Find the Missing Number
Quiz
•
6th Grade - University
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
54 questions
Analyzing Line Graphs & Tables
Quiz
•
4th 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
Discover more resources for Mathematics
18 questions
SAT Prep: Ratios, Proportions, & Percents
Quiz
•
9th - 10th Grade
12 questions
Parallel Lines Cut by a Transversal
Quiz
•
10th Grade
12 questions
Add and Subtract Polynomials
Quiz
•
9th - 12th Grade
10 questions
Elijah McCoy: Innovations and Impact in Black History
Interactive video
•
6th - 10th Grade
16 questions
Converting Improper Fractions to Mixed Numbers
Quiz
•
4th - 10th Grade
15 questions
Intro to Trig Ratios
Quiz
•
10th Grade
10 questions
Solving One Step Equations: Key Concepts and Techniques
Interactive video
•
6th - 10th Grade
12 questions
Triangle Inequality Theorem
Quiz
•
10th Grade
