Read without ads and support Scribd by becoming a Scribd Premium Reader.
 
How to Think Like a ComputerScientist
Learning with Python
nd 
Edition
by
Jeffrey Elkner, Allen B. Downey, and Chris Meyers 
 
I
Table of Contents
Learning with Python ................................................................................12nd Edition.................................................................................................1How and why I came to use Python...........................................................5Finding a textbook.....................................................................................6Introducing programming with Python......................................................8Building a community..............................................................................11Second Edition.........................................................................................13First Edition..............................................................................................131.1. The Python programming language..................................................171.2. What is a program?...........................................................................201.3. What is debugging?..........................................................................211.4. Syntax errors....................................................................................221.5. Runtime errors..................................................................................221.6. Semantic errors................................................................................221.7. Experimental debugging...................................................................231.8. Formal and natural languages..........................................................241.9. The first program..............................................................................271.10. Glossary..........................................................................................271.11. Exercises........................................................................................302.1. Values and types..............................................................................332.2. Variables...........................................................................................352.3. Variable names and keywords..........................................................362.4. Statements.......................................................................................372.5. Evaluating expressions.....................................................................382.6. Operators and operands...................................................................392.7. Order of operations...........................................................................412.8. Operations on strings.......................................................................41
How to Think Like a Computer Scientist: Learning with Python v2 
nd 
Edition documentation©Copyright 2009, Jeffrey Elkner, Allen B. Downey and Chris Meyers. Created using Sphinx 0.6.2.
 
II2.9. Input.................................................................................................422.10. Composition....................................................................................432.11. Comments......................................................................................442.12. Glossary..........................................................................................452.13. Exercises........................................................................................473.1. Definitions and use...........................................................................503.2. Flow of execution..............................................................................533.3. Parameters, arguments, and the import statement.........................543.4. Composition......................................................................................573.5. Variables and parameters are local..................................................573.6. Stack diagrams.................................................................................583.7. Glossary............................................................................................603.8. Exercises...........................................................................................634.1. The modulus operator.......................................................................654.2. Boolean values and expressions.......................................................654.3. Logical operators..............................................................................674.4. Conditional execution.......................................................................674.5. Alternative execution........................................................................684.6. Chained conditionals........................................................................694.7. Nested conditionals..........................................................................704.8. The return statement........................................................................714.9. Keyboard input.................................................................................724.10. Type conversion.............................................................................734.11. GASP...............................................................................................754.12. Glossary..........................................................................................764.13. Exercises........................................................................................785.1. Return values....................................................................................855.2. Program development......................................................................875.3. Composition......................................................................................905.4. Boolean functions.............................................................................91
How to Think Like a Computer Scientist: Learning with Python v2 
nd 
Edition documentation©Copyright 2009, Jeffrey Elkner, Allen B. Downey and Chris Meyers. Created using Sphinx 0.6.2.
Search History:
Searching...
Result 00 of 00
00 results for result for
  • p.
  • More From This User

    Notes
    Load more