12.07.2015 Views

Think Python - Denison University

Think Python - Denison University

Think Python - Denison University

SHOW MORE
SHOW LESS

Create successful ePaper yourself

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

1.7. Glossary 7Your job is to be a good manager: find ways to take advantage of the strengths and mitigate theweaknesses. And find ways to use your emotions to engage with the problem, without letting yourreactions interferewithyour ability towork effectively.Learning to debug can be frustrating, but it is a valuable skill that is useful for many activitiesbeyond programming. At the end of each chapter there is a debugging section, like this one, withmythoughts about debugging. I hope they help!1.7 Glossaryproblem solving: The process of formulating a problem, finding a solution, and expressing thesolution.high-level language: A programming language like <strong>Python</strong> that is designed to be easy for humanstoread and write.low-level language: Aprogramminglanguagethatisdesignedtobeeasyforacomputertoexecute;alsocalled “machine language” or “assembly language.”portability: A property of aprogram that can runon morethan one kindof computer.interpret: To execute aprogram inahigh-level language bytranslating itone lineat atime.compile: To translate a program written in a high-level language into a low-level language all atonce, inpreparation forlater execution.source code: A program inahigh-level language before being compiled.object code: The output of thecompiler after ittranslates theprogram.executable: Another name forobject code that isready tobeexecuted.prompt: Characters displayed by the interpreter to indicate that it is ready to take input from theuser.script: A program storedinafile(usually one that willbe interpreted).interactive mode: A way of using the <strong>Python</strong> interpreter by typing commands and expressions atthe prompt.script mode: A way ofusing the<strong>Python</strong> interpreter toread and execute statements inascript.program: A set ofinstructions that specifies acomputation.algorithm: A general process forsolving acategory of problems.bug: An errorinaprogram.debugging: The process of finding and removing any ofthe threekinds of programming errors.syntax: The structureof aprogram.syntax error: An error in a program that makes it impossible to parse (and therefore impossible tointerpret).exception: Anerror that isdetected whilethe program isrunning.

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

Saved successfully!

Ooh no, something went wrong!