PYTHON_CHAPTER 7

Quiz
•
Computers
•
University
•
Medium
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
Similar Resources on Wayground
10 questions
CMP128 Java Ch. 05 Methods

Quiz
•
University
10 questions
CB3491 CRYPTOGRAPHY AND CYBER SECURITY

Quiz
•
University
13 questions
Python Module 1

Quiz
•
University - Professi...
15 questions
SCRIPTING PROGRAMMING WITH PYTHON

Quiz
•
University
10 questions
Java Constructors Methods

Quiz
•
University
10 questions
Pandas Merge Quiz

Quiz
•
University
10 questions
Introduction To Wireless Network

Quiz
•
University
10 questions
Python Dictionaries

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