Python programming: an introduction to computer science
"This book serves as an introduction to computer programming using the Python programming language"...
Gespeichert in:
1. Verfasser: | |
---|---|
Format: | Buch |
Sprache: | English |
Veröffentlicht: |
Portland, Oregon
Franklin, Beedle & Associates Inc.
[2017]
|
Ausgabe: | Third edition |
Schlagworte: | |
Online-Zugang: | Inhaltsverzeichnis |
Zusammenfassung: | "This book serves as an introduction to computer programming using the Python programming language"... |
Beschreibung: | Includes bibliographical references and index |
Beschreibung: | xv, 536 Seiten Illustrationen, Diagramme 24 cm |
ISBN: | 9781590282755 |
Internformat
MARC
LEADER | 00000nam a2200000 c 4500 | ||
---|---|---|---|
001 | BV044558556 | ||
003 | DE-604 | ||
005 | 20240614 | ||
007 | t | ||
008 | 171026s2017 xxua||| |||| 00||| eng d | ||
010 | |a 016024338 | ||
020 | |a 9781590282755 |9 978-1-59028-275-5 | ||
035 | |a (OCoLC)1003193197 | ||
035 | |a (DE-599)BVBBV044558556 | ||
040 | |a DE-604 |b ger |e rda | ||
041 | 0 | |a eng | |
044 | |a xxu |c US | ||
049 | |a DE-M347 |a DE-91G |a DE-Aug4 |a DE-20 |a DE-739 |a DE-898 |a DE-1043 | ||
050 | 0 | |a QA76.73.P98 | |
082 | 0 | |a 005.13/3 |2 23 | |
084 | |a ST 250 |0 (DE-625)143626: |2 rvk | ||
084 | |a DAT 310f |2 stub | ||
084 | |a DAT 366f |2 stub | ||
100 | 1 | |a Zelle, John M. |0 (DE-588)1089519478 |4 aut | |
245 | 1 | 0 | |a Python programming |b an introduction to computer science |c John M. Zelle, Wartburg College |
250 | |a Third edition | ||
264 | 1 | |a Portland, Oregon |b Franklin, Beedle & Associates Inc. |c [2017] | |
264 | 4 | |c © 2017 | |
300 | |a xv, 536 Seiten |b Illustrationen, Diagramme |c 24 cm | ||
336 | |b txt |2 rdacontent | ||
337 | |b n |2 rdamedia | ||
338 | |b nc |2 rdacarrier | ||
500 | |a Includes bibliographical references and index | ||
520 | |a "This book serves as an introduction to computer programming using the Python programming language"... | ||
600 | 0 | 7 | |a Python |0 (DE-588)118793772 |2 gnd |9 rswk-swf |
650 | 4 | |a Python (Computer program language) | |
650 | 0 | 7 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |2 gnd |9 rswk-swf |
689 | 0 | 0 | |a Python |g Programmiersprache |0 (DE-588)4434275-5 |D s |
689 | 0 | |5 DE-604 | |
689 | 1 | 0 | |a Python |0 (DE-588)118793772 |D p |
689 | 1 | |8 1\p |5 DE-604 | |
856 | 4 | 2 | |m Digitalisierung UB Passau - ADAM Catalogue Enrichment |q application/pdf |u http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029957229&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |3 Inhaltsverzeichnis |
883 | 1 | |8 1\p |a cgwrk |d 20201028 |q DE-101 |u https://d-nb.info/provenance/plan#cgwrk |
Datensatz im Suchindex
_version_ | 1805077189798920192 |
---|---|
adam_text |
Contents Foreword, by Guido van Rossum. ix Preface .x Chapter 1 1.1 1.2 1.3 1.4 1.5 1.6 1.7 1.8 1.9 1.10 2.4 2.5 2.6 1 The Universal Machine. 1 Program Power.3 What Is Computer Science?.3 Hardware Basics.5 Programming Languages. 6 The Magic of Python. 9 Inside a Python Program.15 Chaos and Computers. 18 Chapter Summary.20 Exercises. 21 Chapter 2 2.1 2.2 2.3 Computers and
Programs Writing Simple Programs The Software Development Process.27 Example Program: Temperature Converter. 28 Elements of Programs . .31 2.3.1 Names. 31 2.3.2 Expressions.'. 32 Output Statements.34 Assignment Statements.36 2.5.1 Simple Assignment.37 2.5.2 Assigning Input.39 2.5.3 Simultaneous Assignment.41 Definite Loops.43 27
¡v Contents 2.7 2.8 2.9 Example Program: Future Value.47 Chapter Summary. 50 Exercises. 51 Chapter 3.1 3.2 3.3 3.4 3.5 3.6 3.7 Chapter 4.1 4.2 4.3 4.4 4.5 4.6 4.7 4.8 4.9 4.10 5.5 5.6 5.7 57 4 Objects and Graphics 83 Overview. 83 The Object of Objects.84 Simple Graphics Programming.85 Using Graphical Objects. 91 Graphing Future Value.96 Choosing Coordinates.103 Interactive Graphics. 107 4.7.1 Getting Mouse Clicks. 107 4.7.2 Handling Textual
Input.109 Graphics Module Reference.112 4.8.1 GraphWin Objects. 113 4.8.2 Graphics Objects. 115 4.8.3 Entry Objects. 119 4.8.4 Displaying Images. 120 4.8.5 Generating Colors. 121 4.8.6 Controlling Display Updates (Advanced).121 Chapter Summary. 122 Exercises.123 Chapter 5.1 5.2 5.3 5.4 3 Computing with Numbers Numeric Data Types. 57 Type Conversions and Rounding.62 Using the Math Library.65 Accumulating Results:
Factorials. 68 Limitations of Computer Arithmetic. 71 Chapter Summary. 75 Exercises. 76 5 Sequences: Strings, Lists, and Files 129 The String Data Type. 129 Simple String Processing.133 Lists as Sequences. 136 String Representation and Message Encoding.139 5.4.1 String Representation.139 5.4.2 Programming an Encoder.141 String Methods. 142 5.5.1 Programming a Decoder. 142 5.5.2 More String
Methods.146 Lists Have Methods, Too.147 From Encoding to Encryption.150
Contents 5.8 5.9 5.10 5.11 Input/Output as String Manipulation. 151 5.8.1 Example Application: Date Conversion. 151 5.8.2 String Formatting. 154 5.8.3 Better Change Counter. 157 File Processing.158 5.9.1 Multi-line Strings.:. 158 5.9.2 File Processing. 159 5.9.3 Example Program: Batch Usernames.163 5.9.4 File Dialogs (Optional). 164 Chapter Summary. 167 Exercises. 168 Chapter 6 6.1 6.2 6.3 6.4 6.5 6.6 6.7 6.8 6.9 7.2 7.3 7.4 7.5 7.6 7.7 175 Decision Structures 209 Simple Decisions.·. 209 7.1.1 Example: Temperature
Warnings.210 7.1.2 Forming Simple Conditions.212 7.1.3 Example: Conditional ProgramExecution. 214 Two-Way Decisions.216 Multi-Way Decisions. 220 Exception Handling.223 Study in Design: Max of Three.227 7.5.1 Strategy 1: Compare Each to All. 228 7.5.2 Strategy 2: Decision Tree. 230 7.5.3 Strategy 3: Sequential Processing. 231 7.5.4 Strategy 4: Use Python.234 7.5.5 Some Lessons. 234 Chapter Summary. 235
Exercises. 236 Chapter 8 8.1 8.2 8.3 Defining Functions The. Function of Functions. 175 Functions, Informally. 177 Future Value with a Function. 181 Functions and Parameters: The ExcitingDetails.183 Functions That Return Values. 187 Functions that Modify Parameters. 193 Functions and Program Structure. 199 Chapter Summary. 202 Exercises. 203 Chapter 7 7.1 v Loop Structures and Booleans 243 For Loops: A Quick Review.243 Indefinite Loops. 245 Common
Loop Patterns. 247 8.3.1 Interactive Loops. 247 8.3.2 Sentinel Loops.249
vi Contents 8.4 8.5 8.6 8.7 8.8 8.3.3 File Loops.252 8.3.4 Nested Loops.254 Computing with Booleans.256 8.4.1 Boolean Operators.256 8.4.2 Boolean Algebra. 260 Other Common Structures.262 8.5.1 Post-test Loop.262 8.5.2 Loop and a Half. 264 8.5.3 Boolean Expressions as Decisions. 266 Example: A Simple Event Loop. 269 Chapter Summary.275 Exercises.277 Chapter 9 9.1 9.2 9.3 9.4 9.5 9.6 9.7 Simulation and Design Chapter 10 Defining
Classes 10.1 10.2 10.3 10.4 10.5 283 Simulating Racquetball. 283 9.1.1 A Simulation Problem.284 9.1.2 Analysis and Specification.284 Pseudo-random Numbers.286 Top-Down Design. 288 9.3.1 Top-Level Design.289 9.3.2 Separation of Concerns.291 9.3.3 Second-Level Design. 291 9.3.4 Designing simNGames.293 9.3.5 Third-Level Design.295 9.3.6 Finishing Up. 298 9.3.7 Summary of the DesignProcess. 300 Bottom-Up
Implementation. 301 9.4.1 Unit Testing. 301 9.4.2 Simulation Results.303 Other Design Techniques. 304 9.5.1 Prototyping and Spiral Development.304 9.5.2 The Art of Design. 306 Chapter Summary. 306 Exercises. 307 313 Quick Review of Objects. .313 Example Program: Cannonball. 314 10.2.1 Program Specification. 314 10.2.2 Designing the Program. 315 10.2.3 Modularizing the Program. 319 Defining New
Classes. 321 10.3.1 Example: Multi-sided Dice. 321 10.3.2 Example: The Projectile Class. 325 Data Processing with Class. 327 Objects and Encapsulation. 331
Contents 10.6 10.7 10.8 10.9 10.5.1 Encapsulating Useful Abstractions. 331 10.5.2 Putting Classes in Modules.333 10.5.3 Module Documentation. 333 10.5.4 Working with Multiple Modules.335 Widgets. 337 10.6.1 Example Program: Dice Roller. 337 10.6.2 Building Buttons. 338 10.6.3 Building Dice. 342 10.6.4 The Main Program.345 Animated Cannonball. 346 10.7.1 Drawing the Animation Window.347 10.7.2 Creating a ShotTracker.348 10.7.3 Creating an Input Dialog. 350 10.7.4 The Main
Event Loop. 353 Chapter Summary. 355 Exercises. 356 Chapter 11 Data Collections 11.1 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 363 Example Problem: Simple Statistics. 363 Applying Lists. 365 11.2.1 Lists and Arrays. 366 11.2.2 List Operations. 367 11.2.3 Statistics with Lists.370 Lists of Records. 375 Designing with Lists and Classes. 379 Case Study: Python Calculator. 385 11.5.1 A Calculator as an Object. 385 11.5.2 Constructing the
Interface. 385 11.5.3 Processing Buttons.388 Case Study: Better Cannonball Animation. 392 11.6.1 Creating a Launcher.393 11.6.2 Tracking Multiple Shots.396 Non-sequential Collections. 401 11.7.1 Dictionary Basics. 401 11.7.2 Dictionary Operations. 402 11.7.3 Example Program: Word Frequency.404 Chapter Summary.409 Exercises. 410 Chapter 12 Object-Oriented Design 12.1 12.2 vii 419 The Process of OOD. 419 Case Study: Racquetball
Simulation. 422 12.2.1 Candidate Objects and Methods. 422 12.2.2 Implementing SimStats.424 12.2.3 Implementing RBallGame. 426 12.2.4 Implementing Player. 429
viii Contents 12.3 12.4 12.5 12.6 12.2.5 The Complete Program. 430 Case Study: Dice Poker.433 12.3.1 Program Specification. 433 12.3.2 Identifying Candidate Objects. 434 12.3.3 Implementing the Model. 436 12.3.4 A Text-Based Ul. 440 12.3.5 Developing a GUI. 443 00 Concepts. 451 12.4.1 Encapsulation. 452 12.4.2 Polymorphism.:. 453 12.4.3 Inheritance.453 Chapter Summary. 455
Exercises. 456 Chapter 13 AlgorithmDesign 13.1 13.2 13.3 13.4 13.5 13.6 andRecursion 459 Searching.460 13.1.1 A Simple Searching Problem.460 13.1.2 Strategy 1: Linear Search. 461 13.1.3 Strategy 2: Binary Search. 462 13.1.4 Comparing Algorithms. 463 Recursive Problem Solving.465 13.2.1 Recursive Definitions. 466 13.2.2 Recursive Functions. 468 13.2.3 Example: String Reversal. 469 13.2.4 Example: Anagrams.471 13.2.5 Example: Fast Exponentiation. 472 13.2.6 Example: Binary
Search.473 13.2.7 Recursion vs. Iteration. 474 Sorting Algorithms.477 13.3.1 Naive Sorting: Selection Sort.477 13.3.2 Divide and Conquer: Merge Sort.479 13.3.3 Comparing Sorts. 481 Hard Problems. 484 13.4.1 Tower of Hanoi.484 13.4.2 The Halting Problem. .489 13.4.3 Conclusion.492 Chapter Summary. 493 Exercises. 494 Appendix A Python QuickReference Appendix C Glossary Index 503 513 525 |
any_adam_object | 1 |
author | Zelle, John M. |
author_GND | (DE-588)1089519478 |
author_facet | Zelle, John M. |
author_role | aut |
author_sort | Zelle, John M. |
author_variant | j m z jm jmz |
building | Verbundindex |
bvnumber | BV044558556 |
callnumber-first | Q - Science |
callnumber-label | QA76 |
callnumber-raw | QA76.73.P98 |
callnumber-search | QA76.73.P98 |
callnumber-sort | QA 276.73 P98 |
callnumber-subject | QA - Mathematics |
classification_rvk | ST 250 |
classification_tum | DAT 310f DAT 366f |
ctrlnum | (OCoLC)1003193197 (DE-599)BVBBV044558556 |
dewey-full | 005.13/3 |
dewey-hundreds | 000 - Computer science, information, general works |
dewey-ones | 005 - Computer programming, programs, data, security |
dewey-raw | 005.13/3 |
dewey-search | 005.13/3 |
dewey-sort | 15.13 13 |
dewey-tens | 000 - Computer science, information, general works |
discipline | Informatik |
edition | Third edition |
format | Book |
fullrecord | <?xml version="1.0" encoding="UTF-8"?><collection xmlns="http://www.loc.gov/MARC21/slim"><record><leader>00000nam a2200000 c 4500</leader><controlfield tag="001">BV044558556</controlfield><controlfield tag="003">DE-604</controlfield><controlfield tag="005">20240614</controlfield><controlfield tag="007">t</controlfield><controlfield tag="008">171026s2017 xxua||| |||| 00||| eng d</controlfield><datafield tag="010" ind1=" " ind2=" "><subfield code="a">016024338</subfield></datafield><datafield tag="020" ind1=" " ind2=" "><subfield code="a">9781590282755</subfield><subfield code="9">978-1-59028-275-5</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(OCoLC)1003193197</subfield></datafield><datafield tag="035" ind1=" " ind2=" "><subfield code="a">(DE-599)BVBBV044558556</subfield></datafield><datafield tag="040" ind1=" " ind2=" "><subfield code="a">DE-604</subfield><subfield code="b">ger</subfield><subfield code="e">rda</subfield></datafield><datafield tag="041" ind1="0" ind2=" "><subfield code="a">eng</subfield></datafield><datafield tag="044" ind1=" " ind2=" "><subfield code="a">xxu</subfield><subfield code="c">US</subfield></datafield><datafield tag="049" ind1=" " ind2=" "><subfield code="a">DE-M347</subfield><subfield code="a">DE-91G</subfield><subfield code="a">DE-Aug4</subfield><subfield code="a">DE-20</subfield><subfield code="a">DE-739</subfield><subfield code="a">DE-898</subfield><subfield code="a">DE-1043</subfield></datafield><datafield tag="050" ind1=" " ind2="0"><subfield code="a">QA76.73.P98</subfield></datafield><datafield tag="082" ind1="0" ind2=" "><subfield code="a">005.13/3</subfield><subfield code="2">23</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">ST 250</subfield><subfield code="0">(DE-625)143626:</subfield><subfield code="2">rvk</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 310f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="084" ind1=" " ind2=" "><subfield code="a">DAT 366f</subfield><subfield code="2">stub</subfield></datafield><datafield tag="100" ind1="1" ind2=" "><subfield code="a">Zelle, John M.</subfield><subfield code="0">(DE-588)1089519478</subfield><subfield code="4">aut</subfield></datafield><datafield tag="245" ind1="1" ind2="0"><subfield code="a">Python programming</subfield><subfield code="b">an introduction to computer science</subfield><subfield code="c">John M. Zelle, Wartburg College</subfield></datafield><datafield tag="250" ind1=" " ind2=" "><subfield code="a">Third edition</subfield></datafield><datafield tag="264" ind1=" " ind2="1"><subfield code="a">Portland, Oregon</subfield><subfield code="b">Franklin, Beedle & Associates Inc.</subfield><subfield code="c">[2017]</subfield></datafield><datafield tag="264" ind1=" " ind2="4"><subfield code="c">© 2017</subfield></datafield><datafield tag="300" ind1=" " ind2=" "><subfield code="a">xv, 536 Seiten</subfield><subfield code="b">Illustrationen, Diagramme</subfield><subfield code="c">24 cm</subfield></datafield><datafield tag="336" ind1=" " ind2=" "><subfield code="b">txt</subfield><subfield code="2">rdacontent</subfield></datafield><datafield tag="337" ind1=" " ind2=" "><subfield code="b">n</subfield><subfield code="2">rdamedia</subfield></datafield><datafield tag="338" ind1=" " ind2=" "><subfield code="b">nc</subfield><subfield code="2">rdacarrier</subfield></datafield><datafield tag="500" ind1=" " ind2=" "><subfield code="a">Includes bibliographical references and index</subfield></datafield><datafield tag="520" ind1=" " ind2=" "><subfield code="a">"This book serves as an introduction to computer programming using the Python programming language"...</subfield></datafield><datafield tag="600" ind1="0" ind2="7"><subfield code="a">Python</subfield><subfield code="0">(DE-588)118793772</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="650" ind1=" " ind2="4"><subfield code="a">Python (Computer program language)</subfield></datafield><datafield tag="650" ind1="0" ind2="7"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="2">gnd</subfield><subfield code="9">rswk-swf</subfield></datafield><datafield tag="689" ind1="0" ind2="0"><subfield code="a">Python</subfield><subfield code="g">Programmiersprache</subfield><subfield code="0">(DE-588)4434275-5</subfield><subfield code="D">s</subfield></datafield><datafield tag="689" ind1="0" ind2=" "><subfield code="5">DE-604</subfield></datafield><datafield tag="689" ind1="1" ind2="0"><subfield code="a">Python</subfield><subfield code="0">(DE-588)118793772</subfield><subfield code="D">p</subfield></datafield><datafield tag="689" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="5">DE-604</subfield></datafield><datafield tag="856" ind1="4" ind2="2"><subfield code="m">Digitalisierung UB Passau - ADAM Catalogue Enrichment</subfield><subfield code="q">application/pdf</subfield><subfield code="u">http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029957229&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA</subfield><subfield code="3">Inhaltsverzeichnis</subfield></datafield><datafield tag="883" ind1="1" ind2=" "><subfield code="8">1\p</subfield><subfield code="a">cgwrk</subfield><subfield code="d">20201028</subfield><subfield code="q">DE-101</subfield><subfield code="u">https://d-nb.info/provenance/plan#cgwrk</subfield></datafield></record></collection> |
id | DE-604.BV044558556 |
illustrated | Illustrated |
indexdate | 2024-07-20T06:09:14Z |
institution | BVB |
isbn | 9781590282755 |
language | English |
lccn | 016024338 |
oai_aleph_id | oai:aleph.bib-bvb.de:BVB01-029957229 |
oclc_num | 1003193197 |
open_access_boolean | |
owner | DE-M347 DE-91G DE-BY-TUM DE-Aug4 DE-20 DE-739 DE-898 DE-BY-UBR DE-1043 |
owner_facet | DE-M347 DE-91G DE-BY-TUM DE-Aug4 DE-20 DE-739 DE-898 DE-BY-UBR DE-1043 |
physical | xv, 536 Seiten Illustrationen, Diagramme 24 cm |
publishDate | 2017 |
publishDateSearch | 2017 |
publishDateSort | 2017 |
publisher | Franklin, Beedle & Associates Inc. |
record_format | marc |
spelling | Zelle, John M. (DE-588)1089519478 aut Python programming an introduction to computer science John M. Zelle, Wartburg College Third edition Portland, Oregon Franklin, Beedle & Associates Inc. [2017] © 2017 xv, 536 Seiten Illustrationen, Diagramme 24 cm txt rdacontent n rdamedia nc rdacarrier Includes bibliographical references and index "This book serves as an introduction to computer programming using the Python programming language"... Python (DE-588)118793772 gnd rswk-swf Python (Computer program language) Python Programmiersprache (DE-588)4434275-5 gnd rswk-swf Python Programmiersprache (DE-588)4434275-5 s DE-604 Python (DE-588)118793772 p 1\p DE-604 Digitalisierung UB Passau - ADAM Catalogue Enrichment application/pdf http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029957229&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA Inhaltsverzeichnis 1\p cgwrk 20201028 DE-101 https://d-nb.info/provenance/plan#cgwrk |
spellingShingle | Zelle, John M. Python programming an introduction to computer science Python (DE-588)118793772 gnd Python (Computer program language) Python Programmiersprache (DE-588)4434275-5 gnd |
subject_GND | (DE-588)118793772 (DE-588)4434275-5 |
title | Python programming an introduction to computer science |
title_auth | Python programming an introduction to computer science |
title_exact_search | Python programming an introduction to computer science |
title_full | Python programming an introduction to computer science John M. Zelle, Wartburg College |
title_fullStr | Python programming an introduction to computer science John M. Zelle, Wartburg College |
title_full_unstemmed | Python programming an introduction to computer science John M. Zelle, Wartburg College |
title_short | Python programming |
title_sort | python programming an introduction to computer science |
title_sub | an introduction to computer science |
topic | Python (DE-588)118793772 gnd Python (Computer program language) Python Programmiersprache (DE-588)4434275-5 gnd |
topic_facet | Python Python (Computer program language) Python Programmiersprache |
url | http://bvbr.bib-bvb.de:8991/F?func=service&doc_library=BVB01&local_base=BVB01&doc_number=029957229&sequence=000001&line_number=0001&func_code=DB_RECORDS&service_type=MEDIA |
work_keys_str_mv | AT zellejohnm pythonprogramminganintroductiontocomputerscience |