Dictionary Python

Dictionary Python

University

15 Qs

quiz-placeholder

Similar activities

CS100||MsWord

CS100||MsWord

University

10 Qs

DSA quiz 3 set 1

DSA quiz 3 set 1

University

10 Qs

Types of Mass Media

Types of Mass Media

10th Grade - Professional Development

11 Qs

SOFTWARE 7I

SOFTWARE 7I

7th Grade - University

20 Qs

Software dan Hardware

Software dan Hardware

University

10 Qs

Python Quiz

Python Quiz

University

15 Qs

Algoritma Remedial RPL

Algoritma Remedial RPL

University

20 Qs

Hands-on Modul 3

Hands-on Modul 3

University

10 Qs

Dictionary Python

Dictionary Python

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Muhammad Rafi Al Basyary

Used 19+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?