Learn to Program with Scratch
- Length: 288 pages
- Edition: 1
- Language: English
- Publisher: No Starch Press
- Publication Date: 2014-02-23
- ISBN-10: 1593275439
- ISBN-13: 9781593275433
- Sales Rank: #44742 (See Top 100 Books)
Learn to Program with Scratch: A Visual Introduction to Programming with Games, Art, Science, and Math
Scratch is a fun, free, beginner-friendly programming environment where you connect blocks of code to build programs. While most famously used to introduce kids to programming, Scratch can make computer science approachable for people of any age. Rather than type countless lines of code in a cryptic programming language, why not use colorful command blocks and cartoon sprites to create powerful scripts?
In Learn to Program with Scratch, author Majed Marji uses Scratch to explain the concepts essential to solving real-world programming problems. The labeled, color-coded blocks plainly show each logical step in a given script, and with a single click, you can even test any part of your script to check your logic. You’ll learn how to:
- Harness the power of repeat loops and recursion
- Use if/else statements and logical operators to make decisions
- Store data in variables and lists to use later in your program
- Read, store, and manipulate user input
- Implement key computer science algorithms like a linear search and bubble sort
Hands-on projects will challenge you to create an Ohm’s law simulator, draw intricate patterns, program sprites to mimic line-following robots, create arcade-style games, and more! Each chapter is packed with detailed explanations, annotated illustrations, guided examples, lots of color, and plenty of exercises to help the lessons stick. Learn to Program with Scratch is the perfect place to start your computer science journey, painlessly.
Table of Contents
Chapter 1. Getting Started
Chapter 2. Motion and Drawing
Chapter 3. Looks and Sound
Chapter 4. Procedures
Chapter 5. Variables
Chapter 6. Making Decisions
Chapter 7. Repetition: Definite and Indefinite Loops
Chapter 8. String Processing
Chapter 9. Lists