Pencil Code: A Programming Primer

· David Bau
4.0
106 reviews
eBook
56
Pages
Ratings and reviews aren’t verified  Learn more

About this eBook

This elegant programming primer teaches K-12 students to code through more than 100 graded examples, each one illustrated in color. The second edition includes an appendix with a tutorial in CoffeeScript.

Written by a computer scientist to teach his own children to program, the book is designed for inductive learning. The illustrated programs come with no expository text. Instead, the sequence of projects introduce increasingly sophisticated concepts by example.  Each one invites customization and exploration.

The book begins by suggesting a simple program to draw a line. Subsequent pages introduce core concepts in computer science: loops, functions, recursion, input and output, numbers and text, and data structures. The more advanced material introduces concepts in randomness, animation, HTML5, jQuery, networking, and artificial intelligence.

Ratings and reviews

4.0
106 reviews
SUOMYNONA
2 April 2015
This book simplifies code at its most basic level, making it easy for any one to learn. This book shouldn't simply be for k-12 either. Anyone who is learning to program should read this to understand the basic concepts of what any programming language is made of.
5 people found this review helpful
Did you find this helpful?
Eric VanHelene
7 January 2019
Very thoughtful and detailed. Covers the bases well, includes worked out examples relevant to a spectrum of interests and abilities.
11 people found this review helpful
Did you find this helpful?
Nadeem Ansari
21 September 2018
Sir we can implement on c and c++ plzzz give answer
Did you find this helpful?

Rate this eBook

Tell us what you think.

Reading information

Smartphones and tablets
Install the Google Play Books app for Android and iPad/iPhone. It syncs automatically with your account and allows you to read online or offline wherever you are.
Laptops and computers
You can listen to audiobooks purchased on Google Play using your computer's web browser.
eReaders and other devices
To read on e-ink devices like Kobo eReaders, you'll need to download a file and transfer it to your device. Follow the detailed Help Centre instructions to transfer the files to supported eReaders.