# 2.15 Itse1359-1280r-review  (Page 2/2)

 Page 2 / 2
Figure 5 . Question 2 possible output.
```aList = ['ab', 'cd', 'ef'] bList = ['The', 'old', 'list']cList = ['This old house'] dList = ['is falling down']Call listModifier In listModifierlistA = ['ab', 'cd', 'ef', 1.00001] listB = ['The', 'old', 'list', 2.00002]listC = ['C', 3.00003] listD = ['D', 4.00004]Back from listModifier aList = ['ab', 'cd', 'ef', 1.00001]bList = ['The', 'old', 'list', 2.00002] cList = ['This old house']dList = ['is falling down']```

## Question 3

True or False? The code in Figure 7 produces the output shown in Figure 8 .

Figure 7 . Question 3 program code.
```def listModifier(cList,dList=["B"],aList=["C"],bList=["D"]):"""Illustrates keyword arguments""" print("In listModifier")cList.append(1.00001) print("cList = " + str(cList))dList.append(2.00002) print("dList = " + str(dList))aList.append(3.00003) print("aList = " + str(aList))bList.append(4.00004) print("bList = " + str(bList))return #End function definitionlistV = ["ab","cd","ef"] listW = ["The","old","list"]listT = ["This old house"] listU = ["is falling down"]print("listV = " + str(listV)) print("listW = " + str(listW))print("listT = " + str(listT)) print("listU = " + str(listU))print("Call listModifier") listModifier(listV,bList=listU,dList=listW)print("Back from listModifier") print("listV = " + str(listV))print("listW = " + str(listW)) print("listT = " + str(listT))print("listU = " + str(listU))```
Figure 8 . Question 3 possible output.
```listV = ['ab', 'cd', 'ef'] listW = ['The', 'old', 'list']listT = ['This old house'] listU = ['is falling down']Call listModifier In listModifiercList = ['ab', 'cd', 'ef', 1.00001] dList = ['The', 'old', 'list', 2.00002]aList = ['C', 3.00003] bList = ['is falling down', 4.00004]Back from listModifier listV = ['ab', 'cd', 'ef', 1.00001]listW = ['The', 'old', 'list', 2.00002] listT = ['This old house']listU = ['is falling down', 4.00004]```

## Question 4

True or False? The code in Figure 9 produces the output shown in Figure 10 .

Figure 9 . Question 4 program code.
```def listModifier(listA,*args): print(listA)for arg in args: print(arg)#End function definition aList = ["ab","cd","ef"]bList = ["The","old","list"] cList = [1,2,3]listModifier(aList,bList,cList)```
Figure 10 . Question 4 possible output.
```['ab', 'cd', 'ef'] ['The', 'old', 'list'][1, 2, 3]```

## Figure 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 the same time.

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

True.

Go back to Question 4

True.

Go back to Question 3

False. The actual output is shown in Figure 6 .

Figure 6 . Question 2 actual output.
```aList = ['ab', 'cd', 'ef'] bList = ['The', 'old', 'list']cList = ['This old house'] dList = ['is falling down']Call listModifier In listModifierlistA = ['ab', 'cd', 'ef', 1.00001] listB = ['The', 'old', 'list', 2.00002]listC = ['is falling down', 3.00003] listD = ['D', 4.00004]Back from listModifier aList = ['ab', 'cd', 'ef', 1.00001]bList = ['The', 'old', 'list', 2.00002] cList = ['This old house']dList = ['is falling down', 3.00003]```

Go back to Question 2

False. The actual output is shown in Figure 3 .

Figure 3 . Question 1 actual output.
```Create two lists aList = ['ab', 'cd', 'ef']bList = ['The', 'old', 'list'] Call listModifierIn listModifier Use incoming parameter to append to listANew listA = ['ab', 'cd', 'ef', 3.14159] Assign a new list to listBNew listB = ['A', 'new', 'list'] Back from listModifieraList = ['ab', 'cd', 'ef', 3.14159] bList = ['The', 'old', 'list']```

Go back to Question 1

## Miscellaneous

This section contains a variety of miscellaneous information.

Housekeeping material
• Module name: Itse1359-1280r-Review
• File: Itse1359-1280r.htm
• Published: 10/26/14
• Revised: 03/02/15
Disclaimers:

Financial : Although the Connexions site makes it possible for you to download aPDF file for this module at no charge, and also makes it possible for you to purchase a pre-printed version of the PDF file, youshould be aware that some of the HTML elements in this module may not translate well into PDF.

I also want you to know that, I receive no financial compensation from the Connexions website even if you purchase the PDF version ofthe module.

In the past, unknown individuals have copied my modules from cnx.org, converted them to Kindle books, and placed them for sale onAmazon.com showing me as the author. I neither receive compensation for those sales nor do I know who does receive compensation. If youpurchase such a book, please be aware that it is a copy of a module that is freely available on cnx.org and that it was made andpublished without my prior knowledge.

Affiliation : I am a professor of Computer Information Technology at Austin Community College in Austin, TX.

-end-

I only see partial conversation and what's the question here!
what about nanotechnology for water purification
please someone correct me if I'm wrong but I think one can use nanoparticles, specially silver nanoparticles for water treatment.
Damian
what is the stm
is there industrial application of fullrenes. What is the method to prepare fullrene on large scale.?
Rafiq
industrial application...? mmm I think on the medical side as drug carrier, but you should go deeper on your research, I may be wrong
Damian
How we are making nano material?
what is a peer
What is meant by 'nano scale'?
What is STMs full form?
LITNING
scanning tunneling microscope
Sahil
how nano science is used for hydrophobicity
Santosh
Do u think that Graphene and Fullrene fiber can be used to make Air Plane body structure the lightest and strongest. Rafiq
Rafiq
what is differents between GO and RGO?
Mahi
what is simplest way to understand the applications of nano robots used to detect the cancer affected cell of human body.? How this robot is carried to required site of body cell.? what will be the carrier material and how can be detected that correct delivery of drug is done Rafiq
Rafiq
what is Nano technology ?
write examples of Nano molecule?
Bob
The nanotechnology is as new science, to scale nanometric
brayan
nanotechnology is the study, desing, synthesis, manipulation and application of materials and functional systems through control of matter at nanoscale
Damian
Is there any normative that regulates the use of silver nanoparticles?
what king of growth are you checking .?
Renato
What fields keep nano created devices from performing or assimulating ? Magnetic fields ? Are do they assimilate ?
why we need to study biomolecules, molecular biology in nanotechnology?
?
Kyle
yes I'm doing my masters in nanotechnology, we are being studying all these domains as well..
why?
what school?
Kyle
biomolecules are e building blocks of every organics and inorganic materials.
Joe
anyone know any internet site where one can find nanotechnology papers?
research.net
kanaga
sciencedirect big data base
Ernesto
Introduction about quantum dots in nanotechnology
what does nano mean?
nano basically means 10^(-9). nanometer is a unit to measure length.
Bharti
do you think it's worthwhile in the long term to study the effects and possibilities of nanotechnology on viral treatment?
absolutely yes
Daniel
how to know photocatalytic properties of tio2 nanoparticles...what to do now
it is a goid question and i want to know the answer as well
Maciej
Abigail
for teaching engĺish at school how nano technology help us
Anassong
How can I make nanorobot?
Lily
how did you get the value of 2000N.What calculations are needed to arrive at it
Privacy Information Security Software Version 1.1a
Good
Got questions? Join the online conversation and get instant answers!