Additional Information
Book Details
Abstract
For college-level Computer Science courses in Python
Basic Programming and Problem Solving in Python
As one of the most widely used programming languages in the software industry, Python is desirable to both learn and teach.
Introduction to Programming Using Python is designed for students eager to learn about the world of programming. Applicable to a range of skill levels, this First Edition textbook provides students with the tools to harness the powerful syntax of Python and understand how to develop computer programs. The compactly written text leverages highly focused chapters, diving deep into the most significant topics to give students an in-depth (rather than superficial) understanding of the language. Using real-world examples and data, the author illustrates practical usage of Python in a way to which students can relate. The text itself is readable, organized, and informative, discussing main points of each topic first and then addressing the peripheral details. Students learn good programming habits the first time—bringing them in line with the best modern programming practices.
MyProgrammingLab® not included. Students, if MyProgrammingLab is a recommended/mandatory component of the course, please ask your instructor for the correct ISBN and course ID. MyProgrammingLab should only be purchased when required by an instructor. Instructors, contact your Pearson representative for more information.
MyProgrammingLab is an online homework, tutorial, and assessment product designed to personalize learning and improve results. With a wide range of interactive, engaging, and assignable activities, students are encouraged to actively learn and retain tough course concepts.
Table of Contents
Section Title | Page | Action | Price |
---|---|---|---|
Cover | Cover | ||
Title Page | 1 | ||
Copyright Page | 2 | ||
Guide to VideoNotes | 3 | ||
Guide to Application Topics | 5 | ||
Contents | 7 | ||
Preface | 11 | ||
Acknowledgments | 15 | ||
Chapter 1 An Introduction to Computing and Problem Solving | 17 | ||
1.1 An Introduction to Computing and Python | 18 | ||
1.2 Program Development Cycle | 20 | ||
1.3 Programming Tools | 22 | ||
1.4 An Introduction to Python | 29 | ||
Chapter 2 Core Objects, Variables, Input, and Output | 39 | ||
2.1 Numbers | 40 | ||
2.2 Strings | 51 | ||
2.3 Output | 65 | ||
2.4 Lists, Tuples, and Files–An Introduction | 74 | ||
Key Terms and Concepts | 87 | ||
Programming Projects | 90 | ||
Chapter 3 Structures That Control Flow | 93 | ||
3.1 Relational and Logical Operators | 94 | ||
3.2 Decision Structures | 105 | ||
3.3 The while Loop | 121 | ||
3.4 The for Loop | 134 | ||
Key Terms and Concepts | 153 | ||
Programming Projects | 155 | ||
Chapter 4 Functions | 159 | ||
4.1 Functions, Part 1 | 160 | ||
4.2 Functions, Part 2 | 180 | ||
4.3 Program Design | 198 | ||
Key Terms and Concepts | 202 | ||
Programming Projects | 204 | ||
Chapter 5 Processing Data | 207 | ||
5.1 Processing Data, Part 1 | 208 | ||
5.2 Processing Data, Part 2 | 223 | ||
5.3 Dictionaries | 237 | ||
Key Terms and Concepts | 251 | ||
Programming Projects | 254 | ||
Chapter 6 Miscellaneous Topics | 259 | ||
6.1 Exception Handling | 260 | ||
6.2 Selecting Random Values | 267 | ||
6.3 Turtle Graphics | 273 | ||
6.4 Recursion | 285 | ||
Key Terms and Concepts | 293 | ||
Programming Projects | 294 | ||
Chapter 7 Object-Oriented Programming | 297 | ||
7.1 Classes and Objects | 298 | ||
7.2 Inheritance | 311 | ||
Key Terms and Concepts | 323 | ||
Programming Projects | 324 | ||
Chapter 8 Graphical User Interface | 327 | ||
8.1 Widgets | 328 | ||
8.2 The Grid Geometry Manager | 341 | ||
8.3 Writing GUI Programs | 350 | ||
Key Terms and Concepts | 359 | ||
Programming Projects | 361 | ||
Appendices | 365 | ||
Appendix A ASCII Values | 365 | ||
Appendix B Reserved Words | 367 | ||
Appendix C Installing Python and IDLE | 369 | ||
Answers | 371 | ||
Index | 421 | ||
A | 421 | ||
B | 421 | ||
C | 421 | ||
D | 422 | ||
E | 422 | ||
F | 423 | ||
G | 423 | ||
H | 424 | ||
I | 424 | ||
J | 424 | ||
K | 424 | ||
L | 425 | ||
M | 425 | ||
N | 425 | ||
O | 425 | ||
P | 426 | ||
Q | 426 | ||
R | 426 | ||
S | 427 | ||
T | 427 | ||
U | 428 | ||
V | 428 | ||
W | 428 | ||
Z | 428 | ||
Color Insert | Color Insert 1 |