Introduction to Programming in Python (inbunden)
Fler böcker inom
Inbunden (Hardback)
Antal sidor
Wayne, Kevin / Dondero, Robert
241 x 196 x 38 mm
1220 g
Antal komponenter
Introduction to Programming in Python (inbunden)

Introduction to Programming in Python

An Interdisciplinary Approach

Inbunden Engelska, 2015-06-11
  • Skickas inom 5-8 vardagar.
  • Gratis frakt inom Sverige över 159 kr för privatpersoner.
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 Universitys 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 Pythons 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 scienceall 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 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.
Visa hela texten

Passar bra ihop

  1. Introduction to Programming in Python
  2. +
  3. Algorithms

De som köpt den här boken har ofta också köpt Algorithms av Robert Sedgewick, Kevin Wayne (inbunden).

Köp båda 2 för 1504 kr


Har du läst boken? Sätt ditt betyg »

Fler böcker av Robert Sedgewick

Övrig information

Robert Sedgewick has been a Professor of Computer Science at Princeton University since 1985, where he was the founding Chairman of the Department of Computer Science and is now the William O. Baker Professor of Computer Science. He has held visiting research positions at Xerox PARC, Institute for Defense Analyses, and INRIA, and is a member of the board of directors of Adobe Systems. Professor Sedgewick's research interests include analytic combinatorics, design and analysis of data structures and algorithms, and program visualization. He has written sixteen books, including Introduction to Programming in Java: An Interdisciplinary Approach (with Kevin Wayne), Analytic Combinatorics (with Philippe Flajolet), An Introduction to the Analysis of Algorithms (with Philippe Flajolet), and Algorithms, Fourth Edition (with Kevin Wayne). Kevin Wayne is the Phillip Y. Goldman Senior Lecturer in Computer Science at Princeton University, where he has been teaching since 1998. He was won several teaching awards at Princeton, including the Distinguished Teacher Award, the Phi Beta Kappa Teaching Award (joint with Robert Sedgewick), and an Excellence in Teaching Award. He received a Ph.D. in operations research and industrial engineering from Cornell University. His research interests include the design, analysis, and implementation of algorithms, especially for graphs and discrete optimization. He is the coauthor (with Robert Sedgewick) of Introduction to Programming in Java: An Interdisciplinary Approach and Algorithms, Fourth Edition. Robert Dondero is a Lecturer in Computer Science at Princeton University. He has been teaching at Princeton since 2001. For that work his students have selected him to receive eight Excellence in Engineering Education Awards, and a Lifetime Achievement Award for Excellence in Teaching. He earned a Ph.D. in information science and technology from Drexel University. His research interests include software engineering and software engineering education.


Preface xiii


Chapter 1: Elements of Programming 1

1.1 Your First Program 2

1.2 Built-in Types of Data 14

1.3 Conditionals and Loops 56

1.4 Arrays 100

1.5 Input and Output 140

1.6 Case Study: Random Web Surfer 188


Chapter 2: Functions and Modules 209

2.1 Defining Functions 210

2.2 Modules and Clients 248

2.3 Recursion 290

2.4 Case Study: Percolation 322


Chapter 3: Object-Oriented Programming 351

3.1 Using Data Types 352

3.2 Creating Data Types 402

3.3 Designing Data Types 450

3.4 Case Study: N-Body Simulation 496


Chapter 4: Algorithms and Data Structures 511

4.1 Performance 512

4.2 Sorting and Searching 556

4.3 Stacks and Queues 590

4.4 Symbol Tables 634

4.5 Case Study: Small-World Phenomenon 684


Context 729


Glossary 733

Index 739


Each section concludes with Q&A and Exercises.