Karel The Robot: A Gentle Introduction to the Art of Programming / Edition 2

Paperback (Print)
Rent from BN.com
(Save 75%)
Est. Return Date: 08/01/2015
Buy Used
Buy Used from BN.com
(Save 39%)
Item is in good condition but packaging may have signs of shelf wear/aging or torn packaging.
Condition: Used – Good details
Used and New from Other Sellers
Used and New from Other Sellers
from $5.00
Usually ships in 1-2 business days
(Save 92%)
Other sellers (Paperback)
  • All (28) from $5.00   
  • New (9) from $46.65   
  • Used (19) from $4.98   


Uses a creative approach to teach the basic skills and concepts of programming quickly. This edition offers excellent insights into problem solving and program design processes. It will also improve comprehension of such computer science considerations as loop invariants and recursion. Includes 60 color line drawings.

Read More Show Less

Editorial Reviews

Library Journal
Since 1981, Karel the Robot has been instructing students in the delicate practice of programming. With all sorts of new ways to teach programming, is the Karel method still valid? As long as introductory programming is about learning to think, there's room for Karel and his universe. You learn in the beginning about Karel's world and how to move him around ever so carefully in his streets and avenues. From these simple steps, you learn how to improve Karel's programming vocabulary so that you can do more with less code. You then advance to conditional statements and more complicated repeating instructions, ending up with skills such as ordering your robot to search his space for objects. Karel proves that a lot of programming expertise can be taught with a few well-chosen exercises and an emphasis on logical thinking and clean programming. Let's hope Karel the Robot never ends up on the junk heap.
This small text teaches the fundamental concepts and skills of programming by emphasizing logic and structure over calculation. Using KAREL, a simple but instructive programming language, the author guides the reading into the programming world in a gentle and conceptual way. Annotation c. Book News, Inc., Portland, OR (booknews.com)
Read More Show Less

Product Details

  • ISBN-13: 9780471597254
  • Publisher: Wiley
  • Publication date: 7/25/1994
  • Edition description: New Edition
  • Edition number: 2
  • Pages: 176
  • Product dimensions: 6.00 (w) x 9.00 (h) x 0.41 (d)

Table of Contents

Chapter 1. The Robot World 1

1.1. Karel's World 1

1.2. Karel's Capabilities 3

1.3. Tasks and Situations 4

1.4. Problem Set 6

Chapter 2. Primitive Instructions and Simple Programs7

2.1. Changing Position 7

2.2. Handling Beepers 9

2.3. Finishing a Task 9

2.4. A Complete Program 10

2.5. Error Shutoffs 13

2.6. Programming Errors 14

2.7. Problem Set 19

Chapter 3. Extending Karel's Vocabulary 25

3.1. Creating a More Natural Programming Language 25

3.2. A Mechanism That Defines New Instructions 26

3.3. Block Structuring 27

3.4. The Meaning and Correctness of New Instructions 28

3.5. Defining New Instructions in a Program 29

3.6. Boxing: How Karel Understands a Program 32

3.7. An Ungrammatical Program 34

3.8. Tools for Designing and Writing Karel Programs 35

3.9. Advantages of Using New Instructions 53

3.10. Writing Understandable Programs 57

3.11. Problem Set 59

Chapter 4. Conditionally Executing Instructions 65

4.1. The IF/THEN Instruction 65

4.2. The Conditions Karel Can Test 66

4.3. Simple Examples of the IF/THEN Instruction 67

4.4. The IF/THEN/ELSE Instruction 74

4.5. Nested IF Instructions 76

4.6. More Complex Tests 79

4.7. When to Use an IF Instruction 80

4.8. Transformations for Simplifying IF Instructions 81

4.9. The Dangling ELSE 84

4.10. Problem Set 87

Chapter 5. Instructions That Repeat 93

5.1. The ITERATE Instruction 93

5.2. The WHILE Instruction 95

5.3. Errors to Avoid with WHILE Loops 100

5.4. Nested WHILE Loops 104

5.5. WHILE and IF Instructions 112

5.6. Reasoning About Loops 112

5.7. A Large Program Written by Stepwise Refinement 116

5.8. When to Use a Repeating Instruction 126

5.9. Problem Set 128

Chapter 6. Advanced Techniques for Karel 141

6.1. Recursion 141

6.2. Searching 145

6.3. Doing Arithmetic 149

6.4. Problem Set 152

Appendix 155

Technical Term Index 157

Instruction Index 159

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star


4 Star


3 Star


2 Star


1 Star


Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation


  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)