Synopses & Reviews
This creative approach to learning C++ programming introduces readers to Karel the Robot and then shows them how to design programs that instruct Karel to perform complex tasks. Karel's world is essentially a practice field on which readers learn valuable lessons about creating and debugging program. The programs instruct the robot to move and manipulate its environment using object orientation.
Synopsis
Using the same format that has become so popular in Pascal, Karel the Robot has now become object-oriented. This book is intended to teach novice programmers the fundamentals of object-oriented programming. It accomplishes this goal with an analog equivalent of C++ that allows introductory computer science students to work through a programming project from start to finish.
The book opens by explaining the elaborate Robot world that Karel lives in, a world filled with objects. The text continues this strong metaphor throughout. Through the metaphor, students learn the art of solving programming problems in an object-oriented paradigm.
This text is suitable for any introductory or second course in computer science where C++ is used.
Table of Contents
The Robot World.
Primitive Instructions and Simple Programs.
Extending the Robot Programming Language.
Conditionally Executing Instructions.
Instructions That Repeat.
Advanced Techniques for Robots.
Appendices.