• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 415 pages
Exam (elaborations)

Solutions Manual with Test Bank for An Introduction to Programming Using Visual Basic 2012 9th Edition

Document preview thumbnail
Preview 4 out of 415 pages

Solutions Manual with Test Bank for An Introduction to Programming Using Visual Basic 2012 9th Edition

Content preview

, Python Programming:
b



An Introduction to Computer Science
b b b b




JohnbM.bZelle,bPh.D.

PreliminarybSecondbEditionbFa
llb2009

,Copyrightb ©b 2009b Johnb Mb Zelle.




Allb rightsb reserved.b Nob partb ofb thisb publicationb mayb beb reproduced,b storedb inb ab retrievalb system
,borbtransmitted,binbanybformborbbybanybmeans,belectronic,bmechanical,bphotocopying,brecording,borb
otherwise,bwithoutbpriorbwrittenbpermission.




ThisbdocumentbwasbtypesetbbybthebauthorbwithbLATEXb2ǫ.

, Contents

1 ComputersbandbPrograms 1
1.1 ThebUniversalbMachine ................................................................................................................ 1
1.2 ProgrambPower ............................................................................................................................. 2
1.3 Whatbisb Computerb Science? ......................................................................................................... 3
1.4 HardwarebBasics ........................................................................................................................... 4
1.5 ProgrammingbLanguages ............................................................................................................. 5
1.6 Theb Magicb ofb Python .................................................................................................................... 7
1.7 Insidebab Pythonb Program ........................................................................................................... 12
1.8 Chaosb andb Computers ................................................................................................................ 14
1.9 Chapterb Summary....................................................................................................................... 16
1.10 Exercises...................................................................................................................................... 17

2 Writingb Simpleb Programs 21
2.1 Theb Softwareb Developmentb Process ........................................................................................ 21
2.2 ExamplebProgram:b TemperaturebConverter ............................................................................ 22
2.3 ElementsbofbPrograms ................................................................................................................ 24
2.3.1 Names ............................................................................................................................. 24
2.3.2 Expressions..................................................................................................................... 25
2.4 Outputb Statements ..................................................................................................................... 27
2.5 AssignmentbStatements .............................................................................................................. 28
2.5.1 Simpleb Assignment ........................................................................................................ 28
2.5.2 AssigningbInput .............................................................................................................. 30
2.5.3 Simultaneousb Assignment............................................................................................. 32
2.6 Definiteb Loops............................................................................................................................. 34
2.7 Exampleb Program:b Futureb Value .............................................................................................. 37
2.8 Chapterb Summary....................................................................................................................... 39
2.9 Exercises...................................................................................................................................... 40

3 Computingb withb Numbers 45
3.1 Numericb Datab Types................................................................................................................... 45
3.2 Usingb theb Mathb Library ............................................................................................................. 49
3.3 Accumulatingb Results:b Factorial ............................................................................................... 51


i

Connected book
 image
Publisher: 2013 ISBN: 9780133414653 Edition: Unknown

Document information

Uploaded on
December 15, 2024
Number of pages
415
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$18.49
Purchased by 0 students

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TESTBANKPROF
4.8
(694)
Sold
12
Followers
0
Items
313
Last sold
2 weeks ago

Reviews from verified buyers




Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions