Dictionary Python

Quiz
•
Computers
•
University
•
Medium
Muhammad Rafi Al Basyary
Used 19+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Dictionary adalah tipe data python yang menggunakan pendekatan "--- - ---"
"key - item"
"key - value"
"item - value"
"item - key"
2.
MULTIPLE CHOICE QUESTION
30 sec • 10 pts
A = {"AP" : "Basis Data", "PU" : "Statistika", "AH" : "Data Preparation"}
- - - - -
print(B)
#['AP', 'SDW', 'AH']#
B = list(A.keys())
B = set(A.keys())
B = list(A.items())
B = set(A.items())
3.
MULTIPLE CHOICE QUESTION
10 sec • 6 pts
Pola pada Dictionary menggunakan
{ = }
( = )
{ : }
( : )
4.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Tipe data berikut dapat digunakan pada Key dalam Dictionary , kecuali
String
Boolean
Tuple
Angka
5.
MULTIPLE CHOICE QUESTION
30 sec • 9 pts
SDA = {"A1" : "C", "A2" : "C++", "A3" : "PYTHON"}
- - - - -
#None#
print(SDA.get("A4"))
print(SDA.get(("A4")
print(SDA("A4"))
print(SDA(("A4")
6.
MULTIPLE CHOICE QUESTION
10 sec • 5 pts
Yang bukan merupakan sifat dari Dictionary adalah
Unordered
Changeable
Unique
Fatigue
7.
MULTIPLE CHOICE QUESTION
20 sec • 10 pts
Mantan = {"Icha" : "Keanu", "Yushin" : "Kim Davin", "Ilham" : "Lucinta" }
print(Mantan.get["Yushin"])
# - - - - - #
None
Kim Davin
['Kim Davin']
Error
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
Mastering Python Loops and Functions

Quiz
•
10th Grade - University
20 questions
loops and iterables in python

Quiz
•
University
15 questions
Python Variables

Quiz
•
University
20 questions
Collections C#

Quiz
•
University
20 questions
Python Programming II CSE A

Quiz
•
12th Grade - University
10 questions
Python quick quiz

Quiz
•
University
15 questions
Python Basics

Quiz
•
University
15 questions
Quiz4

Quiz
•
University
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade