06.09.2021 Views

How to Think Like a Computer Scientist - Learning with Python, 2008a

How to Think Like a Computer Scientist - Learning with Python, 2008a

How to Think Like a Computer Scientist - Learning with Python, 2008a

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Index<br />

Make Way for Ducklings, 75<br />

<strong>Python</strong> Library Reference, 81<br />

abecedarian, 75<br />

abstract class, 206<br />

abstract data type, see ADT<br />

access, 84<br />

accumula<strong>to</strong>r, 164, 167, 176<br />

addition<br />

fraction, 234<br />

ADT, 191, 196, 197<br />

Priority Queue, 199, 203<br />

Queue, 199<br />

Stack, 192<br />

algorithm, 9, 144, 145<br />

aliasing, 92, 96, 110, 135<br />

ambiguity, 7, 131<br />

fundamental theorem, 186<br />

animal game, 216<br />

append method, 163<br />

argument, 23, 30, 35<br />

arithmetic sequence, 65<br />

assignment, 12, 21, 61<br />

multiple , 72<br />

tuple, 98, 105, 166<br />

attribute, 130, 137<br />

class, 161, 167<br />

AttributeError, 226<br />

base case, 44, 47<br />

binary opera<strong>to</strong>r, 209, 219<br />

binary tree, 207, 219<br />

block, 39, 47<br />

body, 39, 47<br />

loop, 63<br />

boolean expression, 37, 47<br />

boolean function, 54, 167<br />

bracket opera<strong>to</strong>r, 73<br />

branch, 40, 47<br />

break statement, 119, 126<br />

bug,4,9<br />

call<br />

function, 23<br />

call graph, 112<br />

Card, 159<br />

cargo, 181, 190, 207<br />

chained conditional, 40<br />

character, 73<br />

character classification, 80<br />

child class, 169, 179<br />

child node, 207, 219<br />

circular buffer, 206<br />

circular definition, 55<br />

class, 129, 137<br />

Card, 159<br />

Golfer, 205<br />

LinkedList, 188<br />

Node, 181<br />

OldMaidGame, 175<br />

OldMaidHand, 173<br />

parent, 170, 172<br />

Point, 153<br />

Stack, 192<br />

class attribute, 161, 167<br />

classification<br />

character, 80<br />

client, 192, 197

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!