<< Chapter < Page Chapter >> Page >
This module contains review questions and answers keyed to the module titled Itse1359-1080-Lists Part 1.

Table of contents

Preface

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.)

Questions

Question 1

True or False? A subscription in Python is how you go about getting magazines delivered to your mailbox.

Go to answer 1

Question 2

Name three types of sequence objects.

Go to answer 2

Question 3

Given the following nomenclature

primary "[" expression_list "]"

what is the requirement for the primary ?

Go to answer 3

Question 4

If the primary is a sequence , what must be the type of expression_list?

Go to answer 4

Question 5

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

Question 6

Which item in the sequence is selected for an index value of -1?

Go to answer 6

Question 7

True or False? Just like C, C++, and Java, Python supports a character type.

Go to answer 7

Question 8

What is another name for a mapping ?

Go to answer 8

Question 9

What is a mutable sequence?

Go to answer 9

Question 10

True or False? A string is a sequence.

Go to answer 10

Question 11

True or False? A string is a mutable sequence.

Go to answer 11

Question 12

What kinds of items can be placed in a list ?

Go to answer 12

Question 13

How are lists formed from a syntax viewpoint?

Go to answer 13

Question 14

Show how to create a simple list using program code.

Go to answer 14

Question 15

Show how to access an item in a list using a subscription.

Go to answer 15

Question 16

Show how to access a slice from a list.

Go to answer 16

Question 17

Show how to concatenate two lists.

Go to answer 17

Question 18

Show how to modify an item in a list using a subscription.

Go to answer 18

Listing index

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.

Spacer image of a rabbit and a penguin.

This image was also inserted for the purpose of inserting space between the questions and the answers.

Questions & Answers

how to study physic and understand
Ewa Reply
what is conservative force with examples
Moses
what is work
Fredrick Reply
the transfer of energy by a force that causes an object to be displaced; the product of the component of the force in the direction of the displacement and the magnitude of the displacement
AI-Robot
why is it from light to gravity
Esther Reply
difference between model and theory
Esther
Is the ship moving at a constant velocity?
Kamogelo Reply
The full note of modern physics
aluet Reply
introduction to applications of nuclear physics
aluet Reply
the explanation is not in full details
Moses Reply
I need more explanation or all about kinematics
Moses
yes
zephaniah
I need more explanation or all about nuclear physics
aluet
Show that the equal masses particles emarge from collision at right angle by making explicit used of fact that momentum is a vector quantity
Muhammad Reply
yh
Isaac
A wave is described by the function D(x,t)=(1.6cm) sin[(1.2cm^-1(x+6.8cm/st] what are:a.Amplitude b. wavelength c. wave number d. frequency e. period f. velocity of speed.
Majok Reply
what is frontier of physics
Somto Reply
A body is projected upward at an angle 45° 18minutes with the horizontal with an initial speed of 40km per second. In hoe many seconds will the body reach the ground then how far from the point of projection will it strike. At what angle will the horizontal will strike
Gufraan Reply
Suppose hydrogen and oxygen are diffusing through air. A small amount of each is released simultaneously. How much time passes before the hydrogen is 1.00 s ahead of the oxygen? Such differences in arrival times are used as an analytical tool in gas chromatography.
Ezekiel Reply
please explain
Samuel
what's the definition of physics
Mobolaji Reply
what is physics
Nangun Reply
the science concerned with describing the interactions of energy, matter, space, and time; it is especially interested in what fundamental mechanisms underlie every phenomenon
AI-Robot
what is isotopes
Nangun Reply
nuclei having the same Z and different N s
AI-Robot
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Itse 1359 introduction to scripting languages: python. OpenStax CNX. Jan 22, 2016 Download for free at https://legacy.cnx.org/content/col11713/1.32
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Itse 1359 introduction to scripting languages: python' conversation and receive update notifications?

Ask