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
15 questions
Cybernaut Analysis

Quiz
•
University
14 questions
The Internet

Quiz
•
6th Grade - Professio...
12 questions
HTML, JAVASCRIPT,XML

Quiz
•
University
15 questions
Array Java

Quiz
•
University
10 questions
CB3491 CRYPTOGRAPHY AND CYBER SECURITY

Quiz
•
University
10 questions
Python Dictionaries

Quiz
•
University
10 questions
Mastering Python Fundamentals

Quiz
•
University
13 questions
Python Module 1

Quiz
•
University - Professi...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Computers
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University