<< Chapter < Page Chapter >> Page >
This module contains review questions and answers keyed to instructional material on several websites.

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 material on the following web sites:

Once you study that material, 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. Note however that the required indentation may not be properly represented by an audio screen reader.)

Questions

Question 1

Given: RE or re is an abbreviation for Regular Expression . Also, the primary module used for regular expressions in Python is named re . When using an RE pattern for matching characters, most letters and characters will simply match themselves. However, some characters are special metacharacters , and don't match themselves. Instead, they signal that some out-of-the-ordinary thing should be matched, or they affect other portions of the RE by repeating them or changing their meaning. (See Regular Expression HOWTO )

True or False? The following characters are included in the set of metacharacters:

[ $ !

Go to answer 1

Question 2

True or False? The metacharacters [ and ] are used for specifying a character class, which is a set of characters that you wish to match.

Go to answer 2

Question 3

True or False? Within a character class, characters can be listed individually, or a range of characters can be indicated by giving two characters and separating them by a three dashes as in [abc]or [a---c].

Go to answer 3

Question 4

True or False? The pattern [abc$] will match any of the characters a, b, c, or $.

Go to answer 4

Question 5

True or False? The pattern [^abc$] will match any of the characters a, b, c, or $.

Go to answer 5

Question 6

True or False? The code in the top panel of Figure 2 produces the output shown in the bottom panel of Figure 2 . (Hint: See (External Link) for lambda)

Questions & Answers

opportunity cost means the lose of other alternatives when the alternative is chosen
saad Reply
is the benefits that you loose by not selecting a certain alternative.
EDWINY
individual wants maybe unlimited, but means to satisfy them are limited there one has to forgo some alternative in order to acquire other alternative and it must according priority, that is when scale of preference set in for individuals to make choice
Rhaiymornd
hello everyone
Aliyu
demand is the amount of goods and services that consumer is willing and able to purchase at a particular prices over given period of time
Rhaiymornd Reply
yep
Abraham
what's demand?
labi Reply
What customers want the most...
Abraham
not only what customers wants, want is just mere desire but demand is backed by purchasing power, ability and willingness
Rhaiymornd
thanks
Abraham
What's opportunity cost?
Abraham
what are the differences between demand and supply
Zakariyah Reply
who is called lender of the last resort
Divyanshu Reply
Hi
Linda
hlw
Karishma
Central bank
Majeed
hy
Karishma
Hello
Majeed
hy
Karishma
How are you
Majeed
Am gud
Linda
fine
Karishma
Am gud
Linda
hello
Chandra
Well! what's going on
Majeed
r u study in economics
Karishma
anybody there?
Chandra
r u study in economics
Karishma
the central bank
Sessay
Has completed already
Majeed
hey
neha
yes
Abigail
Yesss
Majeed
ok
Karishma
hey
Doctor
yh
Abigail
more questions
Sessay
how ar you
Doctor
split the price effect into income effect and substitution effect
Karishma
fine and u
Abigail
Hi
Godwin
hi
Hey, I am new here. Hope, discussion on Economics will clear our concepts more.
yasir
yes
Abigail
do u speak hindi or english
Karishma
how to consumer equlibrium through ic
Karishma
consumer equilibrium demand equals supply
Kenneth
the consumer is in equilibrium when the indifference curve is tangential to the budget line. or when the BL and IC intersect
Sessay
reasons indifference curve slopes downwards?
Kenneth
fine Abby any good,
Doctor
ur lost
Doctor
hey. im new year. economics teacher how we can discuss some thing interesting.
EDWINY
which one
Doctor
what do u understand the concept of poverty cycle.
EDWINY
hey
Ebong
I'm New here
Ebong
hi
ian
just new here guy's and also an Economics fresher of Kogi State University Anyigba
nelson
wxup
Ayegba
who can tell the laboratory of economic?
Amara
, Dennis Weissman Associates, LLC Laboratory Economics is the monthly business newsletter that gets behind the headlines and press releases.
Ayegba
sooo teah me what an LLC
Emmanuel
what's the topic
Adamsvictor Reply
economic systems
gracious
hello
Antonio
market
aba
hello where can I find the diagrams
Manu
Hello I am totally out ,I am not understanding why we are here. can someone help me out?
Amara
why Economic is not a pure science can someone help me out
Mohamed
because economics like science put forth a some hypotheses and then do experiments to prove them
Anwesh
but these experiments are not completely controlled
Anwesh
Hello
Comfort
hey
suraj
hi people can you help me out on "demand and supply"
Milton
Am not understanding can someone enlighten me pls
Bertilla
hi people can you help me out on "demand and supply"
Sessay
hello. if Mr.Patrick's income is #900.00 while that of Mr.Shodawe is #1300.00 if Mr.Patrick and Shodowe pay #90.00 and #130.00 as taxes,the tax system is?
Benjamin
I need the answer please
Benjamin
regressive tax system
shaikh
OK thanks
Benjamin
Isn't this called proportional tax rate because the rate stays the same - 10%? Tell me if I'm wrong
Ioan
Supply is perfectly elastic and demand increases.
kishore Reply
whose there
Waseem
show the demand curve
Hameed Reply
it slopes downward from left to right
Ama
how resources are allocated in a free economy
Charlotte Reply
explain how discriminating Monopoly increase profits
Charlotte
factors responsible for the emergence of monopoly situation
adelakun Reply
total output produced by a country over a given period of time .... can someone give me the term plz
TMM Reply
GDP
Anjorin
thaks man
TMM
Woman. 👍👍
Anjorin
gross domestic products
janet
GDP
Bertilla
GDP
Prof
GDP
Bertilla
gross domestic product
gross domestic product
GDp
Mohamed
gdp
agboola
what is recession pertaining to GDP
Prince
what is recession pertaining to GDP
Prince
what is recession
Prince
law of demand and supply
Zakariyah
All thing been equal
Temple
no i think recession is pertaining to GNP
owolabi
gross national production
Abraham
what is embago
Peter
all things being equal
Raphael
embargo restriction on trade by government of a country
owolabi
an official ban on trade or other commercial activity with a particular country.
Ayegba
Embargo.....an order by a common carrier or publ regulatory agency prohibiting or restric freight transportation
Ayegba
What is long run supply curve of a industry
Rashika Reply
enlightened
Ernest
all on board am here
Ernest Reply
am late I missed alot
Ernest
A mixed economy is the best type of an economy.Discuss
Tawanda Reply
Agreed Mixed economics is d combination of both capitalist and socialist economy, it give room for both individual and government to make decisions whereby giving room to a rapid development of d economy.
Anjorin
?
Andres
agreed
Ernest
Explain more about the Macroeconomics
Lizzy Reply
what is macroeconomic
Ekye
macro economics has to do with the of study economics at national level i.e the study of national economy as a whole. While micro is concerned with the study at individual, group or company level.
Andres
Andres explain
Ernest
ok
Ernest
Difference between extinct and extici spicies
Amanpreet Reply
in a comparison of the stages of meiosis to the stage of mitosis, which stages are unique to meiosis and which stages have the same event in botg meiosis and mitosis
Leah Reply
Berger describes sociologists as concerned with
Mueller Reply
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get the best Algebra and trigonometry course in your pocket!





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