Book description
Today, anyone in a scientific or technical discipline needs programming skills. Python is an ideal first programming language, and Introduction to Programming in Python is the best guide to learning it.
Princeton University’s Robert Sedgewick, Kevin Wayne, and Robert Dondero have crafted an accessible, interdisciplinary introduction to programming in Python that emphasizes important and engaging applications, not toy problems. The authors supply the tools needed for students to learn that programming is a natural, satisfying, and creative experience.
This example-driven guide focuses on Python’s most useful features and brings programming to life for every student in the sciences, engineering, and computer science.
Coverage includes
Basic elements of programming: variables, assignment statements, built-in data types, conditionals, loops, arrays, and I/O, including graphics and sound
Functions, modules, and libraries: organizing programs into components that can be independently debugged, maintained, and reused
Object-oriented programming and data abstraction: objects, modularity, encapsulation, and more
Algorithms and data structures: sort/search algorithms, stacks, queues, and symbol tables
Examples from applied math, physics, chemistry, biology, and computer science—all compatible with Python 2 and 3
Drawing on their extensive classroom experience, the authors provide Q&As, exercises, and opportunities for creative practice throughout. An extensive amount of supplementary information is available at introcs.cs.princeton.edu/python. With source code, I/O libraries, solutions to selected exercises, and much more, this companion website empowers people to use their own computers to teach and learn the material.
Table of contents
- About This eBook
- Title Page
- Copyright Page
- Dedication Page
- Contents
- Programs
- Preface
-
Chapter One. Elements of Programming
- 1.1 Your First Program
- Q&A
- Exercises
- 1.2 Built-in Types of Data
- Q&A (strings)
- Q&A (integers)
- Q&A (floating-point numbers)
- Q&A
- Exercises
- Creative Exercises
- 1.3 Conditionals and Loops
- Q&A
- Exercises
- Creative Exercises
- 1.4 Arrays
- Q&A
- Exercises
- Creative Exercises
- 1.5 Input and Output
- Q&A
- Exercises
- Creative Exercises
- 1.6 Case Study: Random Web Surfer
- Exercises
- Creative Exercises
- Chapter Two. Functions and Modules
- Chapter Three. Object-Oriented Programming
-
Chapter Four. Algorithms and Data Structures
- 4.1 Performance
- Q&A
- Exercises
- Creative Exercises
- 4.2 Sorting and Searching
- Q&A
- Exercises
- Creative Exercises
- 4.3 Stacks and Queues
- Q&A
- Exercises
- Linked-List Exercises
- Creative Exercises
- 4.4 Symbol Tables
- Q&A
- Exercises
- Binary Tree Exercises
- Creative Exercises
- 4.5 Case Study: Small-World Phenomenon
- Q&A
- Exercises
- Creative Exercises
- Context
- Glossary
- Index
- APIs
- Code Snippets
Product information
- Title: Introduction to Programming in Python: An Interdisciplinary Approach
- Author(s):
- Release date: June 2016
- Publisher(s): Addison-Wesley Professional
- ISBN: 9780134076539
You might also like
book
Python Projects for Beginners: A Ten-Week Bootcamp Approach to Python Programming
Immerse yourself in learning Python and introductory data analytics with this book’s project-based approach. Through the …
video
Introduction to Python
Intrigued by Python? Learn how to get started with this popular language, whether you’re new to …
video
Python Programming Language
6+ Hours of Video Instruction Python Programming Language LiveLessons provides developers with a guided tour of …
video
Introduction to Python: Learn How to Program Today with Python
7+ Hours of Video Instruction Overview Python is a great, beginner-friendly programming language because it was …