程序设计导论(英文版)
豆瓣
Python语言实践
Introduction to Programming in Python: An Interdisciplinary Approach
[美] Robert Sedgewick / [美] Kevin Wayne …
简介
普林斯顿大学三位经验丰富的教师精心设计了这本跨学科、易于理解的Python语言程序设计的入门教材,强调重要的、引人入胜的应用,而不是无实用价值的问题,适用于高等院校计算机、工程及相关专业的本科生,以及从事编程工作的专业人员。
contents
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
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
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
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