Advertisement

The Python Workbook

A Brief Introduction with Exercises and Solutions

  • Ben Stephenson

Table of contents

  1. Front Matter
    Pages i-xvi
  2. Exercises

    1. Front Matter
      Pages 1-1
    2. Ben Stephenson
      Pages 3-13
    3. Ben Stephenson
      Pages 15-27
    4. Ben Stephenson
      Pages 29-38
    5. Ben Stephenson
      Pages 39-47
    6. Ben Stephenson
      Pages 49-60
    7. Ben Stephenson
      Pages 61-67
    8. Ben Stephenson
      Pages 69-78
    9. Ben Stephenson
      Pages 79-84
  3. Solutions

    1. Front Matter
      Pages 85-85
    2. Ben Stephenson
      Pages 87-95
    3. Ben Stephenson
      Pages 97-106
    4. Ben Stephenson
      Pages 107-113
    5. Ben Stephenson
      Pages 115-126
    6. Ben Stephenson
      Pages 127-137
    7. Ben Stephenson
      Pages 139-144
    8. Ben Stephenson
      Pages 145-155
    9. Ben Stephenson
      Pages 157-161
  4. Back Matter
    Pages 163-165

About this book

Introduction

While other textbooks devote their pages to explaining introductory programming concepts, The Python Workbook focuses exclusively on exercises, following the philosophy that computer programming is a skill best learned through experience and practice.

Designed to support and encourage hands-on learning about programming, this student-friendly work contains 174 exercises, spanning a variety of academic disciplines and everyday situations. Solutions to selected exercises are also provided, supported by brief annotations that explain the technique used to solve the problem, or highlight specific points of Python syntax. No background knowledge is required to solve the exercises, beyond the material covered in a typical introductory Python programming course.

Features:

  • Uses an accessible writing style and easy-to-follow structure
  • Includes a mixture of classic exercises from the fields of computer science and mathematics, along with exercises that connect to other academic disciplines
  • Presents the solutions to approximately half of the exercises
  • Provides annotations alongside the solutions, which explain the approach taken to solve the problem and relevant aspects of Python syntax
  • Offers a variety of exercises of different lengths and difficulties
  • Contains exercises that help the development of programming skills using if statements, loops, basic functions, lists, dictionaries, files, and recursive functions

Undergraduate students undergoing their first programming course and wishing to enhance their programming abilities will find the exercises and solutions provided in this book to be ideal for their needs.

Dr. Ben Stephenson is a Senior Instructor in the Department of Computer Science at the University of Calgary.

Keywords

Introductory Computer Science Multidisciplinary Studies Programming Python Software Engineering

Authors and affiliations

  • Ben Stephenson
    • 1
  1. 1.University of CalgaryCanada

Bibliographic information

  • DOI https://doi.org/10.1007/978-3-319-14240-1
  • Copyright Information Springer International Publishing Switzerland 2014
  • Publisher Name Springer, Cham
  • eBook Packages Computer Science
  • Print ISBN 978-3-319-14239-5
  • Online ISBN 978-3-319-14240-1
  • Buy this book on publisher's site
Industry Sectors
Pharma
Automotive
Chemical Manufacturing
Biotechnology
Finance, Business & Banking
Electronics
IT & Software
Telecommunications
Energy, Utilities & Environment
Aerospace
Engineering