<< Chapter < Page | Chapter >> Page > |
This module is one in a collection of modules on Python designed for teaching ITSE 1359 Introduction to Scripting Languages: Python at Austin Community College in Austin, TX.
This module contains review questions and answers keyed to the module titled Itse1359-1080-Lists Part 1 .
Once you study that module, you should be able to answer the review questions in this module.
The questions and the answers in this module are connected by hyperlinks to make it easy for you to navigate from the question to the answer and back again.
(Note to blind and visually impaired students: with the exception of two bitmap images that are used solely as spacers to separate the question sectionfrom the answer section, all of the material in this module is presented in plain text format and should be accessible using an audio screen reader or abraille display.)
True or False? A subscription in Python is how you go about getting magazines delivered to your mailbox.
Go to answer 1
Name three types of sequence objects.
Go to answer 2
Given the following nomenclature
primary "[" expression_list "]"
what is the requirement for the primary ?
Go to answer 3
If the primary is a sequence , what must be the type of expression_list?
Go to answer 4
True or False? If the primary is a sequence , the expression_list must evaluate to a positive integer or to a slice containing positive integers.
Go to answer 5
Which item in the sequence is selected for an index value of -1?
Go to answer 6
True or False? Just like C, C++, and Java, Python supports a character type.
Go to answer 7
What is another name for a mapping ?
Go to answer 8
What is a mutable sequence?
Go to answer 9
True or False? A string is a sequence.
Go to answer 10
True or False? A string is a mutable sequence.
Go to answer 11
What kinds of items can be placed in a list ?
Go to answer 12
How are lists formed from a syntax viewpoint?
Go to answer 13
Show how to create a simple list using program code.
Go to answer 14
Show how to access an item in a list using a subscription.
Go to answer 15
Show how to access a slice from a list.
Go to answer 16
Show how to concatenate two lists.
Go to answer 17
Show how to modify an item in a list using a subscription.
Go to answer 18
What is the meaning of the following two images?
These images were inserted here simply to insert some space between the questions and the answers to keep them from being visible on the screen at thesame time.
This image was also inserted for the purpose of inserting space between the questions and the answers.
Notification Switch
Would you like to follow the 'Itse 1359 introduction to scripting languages: python' conversation and receive update notifications?