Coding for Beginners in easy steps – programming made easy for all ages

£10.99

Buy direct from us:

In Stock

SKU: 9781840786422

Ideal for the newcomer to coding computer programs, including youngsters needing to learn programming basics for the school curriculum. Learn how to write code to create your own computer programs – in easy steps!

192 pages
By: Mike McGrath
Publication Date: May 19th, 2015
ISBN: 9781840786422

View or download first chapter and Table of ContentsFREE!

ebook (PDF) version also available

Coding for Beginners in easy steps has an easy-to-follow style that will appeal to anyone, of any age, who wants to begin coding computer programs. You need have no previous knowledge of any computer programming language so it’s ideal for the newcomer, including youngsters needing to learn programming basics for the school curriculum.

Coding for Beginners in easy steps instructs you how to write code to create your own computer programs. It contains separate chapters demonstrating how to store information in data structures, how to control program flow using control structures, and how to create re-usable blocks of code in program functions. There are complete step-by-step example programs that demonstrate each aspect of coding, together with screenshots that illustrate the actual output when each program has been executed.

Coding for Beginners in easy steps begins by explaining how to easily create a programming environment on your own computer, so you can quickly begin to create your own working programs by copying the book’s examples. After demonstrating the essential building blocks of computer programming it describes how to code powerful algorithms and demonstrates how to code classes for Object Oriented Programming (OOP). The examples throughout this book feature the popular Python programming language but additionally the final chapter demonstrates a comparison example in the C, C++, and Java programming languages to give you a rounded view of computer coding.

The code in the listed steps within the book is colour-coded to precisely match the default colour-coding of the Python IDLE editor, making it easier for beginners to grasp.

By the end of this book you will have gained a sound understanding of coding and be able to write your own computer programs that can be run on any compatible computer.

The Python 3.x language is under active development so frequent new releases are made available as small improvements are added to the language and Coding for Beginners in easy steps and Python in easy steps both feature the very latest versions of Python at the time of publication. Python development is one of evolution, rather than revolution, so the examples provided in these books can be used in subsequent releases – simply download the latest version of Python then follow the easy steps.

 

9781840786422.IN01

9781840786422.IN02Print

 

 

 

 

 

 

 

About the author

Mike McGrath now lives in South-east Europe, on the sun-kissed shores of the Aegean Sea. Mike gained his extensive knowledge of computer languages while working as a developer contracting to companies around the world. His interests include coins of ancient Greece, dining-out with friends, and the ongoing evolution of the world wide web.

  1. Getting started
  2. Saving data
  3. Performing operations
  4. Making lists
  5. Controlling blocks
  6. Creating functions
  7. Sorting algorithms
  8. Importing libraries
  9. Managing text
  10. Programming objects

Freely download the original source code for checking against your own work from our Downloads page

Revisions (all code is correct in downloadable code examples):

Revised pages for the 2015 original print:

  • Page 27 – in Steps 1-5, the “+” is replaced with a “,”
  • Page 29 – in Step 5, last line – the “+” is replaced with a “,”
  • Page 56 – set.discard line in table corrected
  • Page 60 – 10th bullet – “ordered” changed to “unordered”
  • Page 68 – Step 3, the “+” is replaced with a “,”
  • Page 91 – Step 1 – final line of code corrected
  • Page 93 – Step 2 – first line of code corrected

Revised pages for the 2016 reprint:

  • Page 56 – set.discard line in table corrected
  • Page 60 – 10th bullet – “ordered” changed to “unordered”
  • Page 91 – Step 1 – final line of code corrected
  • Page 93 – Step 2 – first line of code corrected

Revised pages for the 2017 reprint:

  • Page 56 – set.discard line in table corrected
  • Page 60 – 10th bullet – “ordered” changed to “unordered”

Revised pages for the January 2020 reprint.

These pages have been updated for the latest versions of Python and cx_Freeze:

  • Pages 10-12 – updated for Python 3.8.1.
  • Pages 14-15– updated for Python 3.8.1.
  • Page 101– updated for Python 3.8.1.
  • Pg 107 – image replaced and the second Hot tip has been updated for 2020.
  • Pg 170 – Hot tip added relating to cx_Freeze.

These pages have also been updated:

  • Page 27 – the download file has been renamed “datatypes.py” (also changed in the source code file above for the January 2020 reprint)
  • Page 149 – references to In Easy Steps books have been changed from “HTML5” to “HTML”, and “CSS3” to “CSS”.
  • Page 151 – references to In Easy Steps books have been changed from “HTML5” to “HTML”, and “CSS3” to “CSS”.
  • Page 153 – references to In Easy Steps books have been changed from “HTML5” to “HTML”, and “CSS3” to “CSS”.

Reviews from Amazon readers:

5 stars Amazing programming book for beginners
Couldn’t ask for more. The book is very useful, you could say that even a dumb one can learn from that book . The illustrations are useful and nicely described. A very good book for beginners.

5 stars Excellent book for beginners
I really like this book. It presents coding in a user-friendly manner. I think that this book really represented great value for money.

 5 stars Great Book
My son likes this book and has found it very helpful.