Search Header Logo

Dictionary Python

Authored by Muhammad Rafi Al Basyary

Computers

University

Used 21+ times

Dictionary Python
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

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

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

Already have an account?