Introduction to Python Programming and Data Structures, 3rd EditionКНИГИ » ПРОГРАММИНГ
Название: Introduction to Python Programming and Data Structures, 3rd Edition Автор: Y. Daniel Liang Издательство: Pearson Год: 2024 Страниц: 800 Язык: английский Формат: epub Размер: 30.1 MB
Introduction to Python Programming and Data Structures focuses on the fundamentals first to help learners learn problem solving and programming in a broad context. It introduces basic programming concepts and techniques on selections, loops, and functions, before writing custom classes. Step-by-step coverage demonstrates the use of Python to solve problems. Exercises and problems with varying levels of difficulty cover interesting application areas. The best way to learn programming is by practicing, and this introduction offers many opportunities to practice creating efficient, elegant code. The 3rd Edition has new data structures topics and UpToDate content, examples and exercises that keep pace with recent trends.
This book assumes that you are a new programmer with no prior knowledge of programming. So, what is programming? Programming solves problems by creating solutions—writing programs—in a programming language. The fundamentals of problem-solving and programming are the same regardless of which programming language you use. You can learn to program using any high-level programming language such as Python, Java, C++, or C#. Once you know how to program in one language, it is easy to pick up other languages, because the basic techniques for writing programs are the same. So what are the benefits of learning programming using Python? Python is easy to learn and fun to program. Python code is simple, short, readable, intuitive, and powerful, and thus it is effective for introducing computing and problem solving to beginners.
Beginners are motivated to learn to program so they can create graphics. A big reason for learning programming using Python is that you can start programming using graphics on day one. We use Python’s built-in Turtle graphics module in Chapters 1–6 because it is a good pedagogical tool for introducing fundamental concepts and techniques of programming. We introduce Python’s built-in Tkinter in Chapter 10 because it is a great tool for developing comprehensive graphical user interfaces and for learning object-oriented programming. Both Turtle and Tkinter are remarkably simple and easy to use. More importantly, they are valuable pedagogical tools for teaching the fundamentals of programming and object-oriented programming. To give flexibility to use this book, we cover Turtle at the end of Chapters 1–6 so they can be skipped as optional material. You can also skip materials on Tkinter without affecting other contents of the book.
The book teaches problem-solving in a way that focuses on problem-solving rather than syntax. We garner students’ interest in programming by using interesting examples in a broad context. While the central thread of the book is on problem-solving, appropriate Python syntax and libraries are introduced to solve the problems. To support the teaching of programming in a problem-driven way, the book provides a wide variety of problems at various levels of difficulty to motivate students. To appeal to students in all majors, the problems cover many application areas in math, science, business, financial management, gaming, animation, and multimedia.
The best way to teach programming is by example, and the only way to learn to program is by doing. Basic concepts are explained by examples and many exercises with various levels of difficulty are provided for students to practice what they learn. Our goal is to produce a text that teaches problem-solving and programming in a broad context using a wide variety of interesting examples and exercises.
Скачать Introduction to Python Programming and Data Structures, 3rd Edition