
mini quiz

Quiz
•
Mathematics
•
10th Grade
•
Easy
Angel Jeanne
Used 2+ times
FREE Resource
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.
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
Matrix Applications

Quiz
•
12th Grade - University
10 questions
Factor Trinomials Using Area Model

Quiz
•
9th Grade - University
7 questions
DBM30033 QUIZ 2 C

Quiz
•
University
15 questions
Basics of Matrices

Quiz
•
11th Grade - University
12 questions
Factoring Using the Box Method

Quiz
•
10th Grade - University
6 questions
Time to climb

Quiz
•
12th Grade - University
11 questions
Operation of Matrices

Quiz
•
11th Grade - University
10 questions
MATRICES 3

Quiz
•
University
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 Mathematics
10 questions
Decoding New Vocabulary Through Context Clues

Interactive video
•
6th - 10th Grade
20 questions
Parallel lines and transversals

Quiz
•
9th - 12th Grade
9 questions
Geometry and Trigonometry Concepts

Interactive video
•
9th - 12th Grade
31 questions
2.1.3 Angle relationships

Quiz
•
10th - 11th Grade
23 questions
Geometry - Conditional Statements

Quiz
•
9th - 10th Grade
10 questions
Angle Relationships with Parallel Lines and a Transversal

Quiz
•
9th - 12th Grade
17 questions
Parallel lines cut by a transversal

Quiz
•
10th Grade
10 questions
Simplifying Radicals

Quiz
•
10th Grade