PYTHON_CHAPTER 7

PYTHON_CHAPTER 7

University

10 Qs

quiz-placeholder

Similar activities

AP CSA Recursion

AP CSA Recursion

10th Grade - University

10 Qs

Pemkom 8

Pemkom 8

University

10 Qs

Hashing and Hash Tables

Hashing and Hash Tables

University

9 Qs

Python Quiz 2.0

Python Quiz 2.0

University

14 Qs

Thanos' Nightmare - Corpus Linguistics

Thanos' Nightmare - Corpus Linguistics

University

10 Qs

Post Test #4 - Python Fundamental #3

Post Test #4 - Python Fundamental #3

University

10 Qs

methods of teaching

methods of teaching

University

10 Qs

CSE Chap 5

CSE Chap 5

University

5 Qs

PYTHON_CHAPTER 7

PYTHON_CHAPTER 7

Assessment

Quiz

Computers

University

Medium

Created by

Marliana (AS)

Used 2+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In Python, object that stores a collection of data is known as _____.

string

dictionary

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Each element in a dictionary has 2 parts:

a key and a value

a key and a variable

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can create a dictionary by enclosing the elements inside a set of _____.

square braces [ ]

curly braces { }

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The elements in Python are separated by _____.

commas ,

colons :

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

myFriend ={'name':'Zul Arifin'}

Identify the key?

name

Zul Arifin

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A value is retrieved from a dictionary by specifying its corresponding key in _____.

curly brackets { }

square brackets [ ]

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

You can use _____ as an alternative to the [ ] operator for getting a value from a dictionary.

go method

get method

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?