A Visual Introduction to Programming with GAMES, ART, SCIENCE, and MATH, by Majed Marji,
No Starch Press
Scratch is a fun, free, beginner-friendly programming environment where you connect blocks of code to build programs. It is an ideal environment for robotics development and exploration. While most famously used to introduce kids to programming, Scratch can make computer science approachable for people of any age. Rather than typing countless lines of code in a cryptic programming language, Scratch enables you to use colorful command blocks and cartoon sprites to create powerful scripts. In this book, author Majed Marji uses Scratch to explain the concepts essential to solving real-world programming challenges. 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. This books shows you how to use 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 input; and implement key computer science algorithms like linear searches and bubble sorts. Hands-on projects challenge you to create an Ohm’s law simulator, draw intricate patterns, program sprites to mimic line-following robots, create arcade-style games, and much more. Chapters include detailed explanations, annotated illustrations, guided examples, lots of color, and plenty of exercises to help you learn Scratch. It is a great book to start your computer science journey. Majed Marji is a senior development engineer at General Motors and an adjunct faculty member at Wayne State University in Michigan. He holds a PhD in electrical engineering from Wayne State and an MBA in strategic management from Davenport University.