Introduction -- Decision Making -- Repetitive Tasks -- Using Objects -- Defining Functions -- Event-Driven Programming -- Defining Classes -- Appendix A: Integer Operators -- Appendix B: Float Operators -- Appendix C: String Operators and Methods -- Appendix D: List Operators and Methods -- Appendix E: Dictionary Operators and Methods -- Appendix F: Turtle Methods -- Appendix G: TurtleScreen Methods -- Appendix H: The Reminder! Program -- Appendix I: The Bouncing Ball Program.
0
SUMMARY OR ABSTRACT
Text of Note
This easy-to-follow and classroom-tested textbook guides the reader through the fundamentals of programming with Python, an accessible language which can be learned incrementally. This revised and updated new edition will teach students how to recognize and apply abstract patterns in programming through the extensive use of illustrative examples and practical exercises. The book also demonstrates the benefit of using a debugger to inspect the state of a program while it is executing. Topics and features: Incudes numerous examples and practice exercises throughout the text, with additional exercises, solutions and review questions at the end of each chapter Highlights the patterns which frequently appear when writing programs, reinforcing the application of these patterns for problem-solving through practice exercises Introduces the use of a debugger tool to inspect a program, enabling students to discover for themselves how programs work and enhance their understanding Presents the Tkinter framework for building graphical user interface applications and event-driven programs Provides instructional videos and additional information for students, as well as support materials for instructors, at an associated website Ideal for introductory programming courses for undergraduates in computer science, this hands-on textbook for interactive classroom learning will help students to develop the necessary skills to begin writing their own programs. Due to the wealth of support material available, Python is selected as a good first language with little "overhead" in learning to write simple programs. Dr. Kent D. Lee is Professor of Computer Science at Luther College, Decorah, Iowa, USA. He is the author of the forthcoming Springer textbooks Data Structures and Algorithms with Python and Foundations of Programming Languages.