130 likes | 425 Views
Karel J Robot. A Gentle Introduction to the Art of Object Oriented Programming Introduction. Hi there!. Let’s Meet Karel. This small robot is well known to fame, He is clever, and Karel is his name; If you are his pal, He will teach you PASCAL (and Java),
E N D
Karel J Robot A Gentle Introduction to the Art of Object Oriented Programming Introduction
Hi there! Let’s Meet Karel This small robot is well known to fame, He is clever, and Karel is his name; If you are his pal, He will teach you PASCAL (and Java), And turn programming into a game. Isaac Asimov, February 7, 1983.
Let’s Meet Karel • Welcome to the wonderful world of Karel (sounds like “Carl”) J Robot!
Let’s Meet Karel • When Isaac Asimov wrote the poem you just read, Pascal was the learning language of choice. • Since then the “Karel” case study has also been developed for C++, and now for Java.
Let’s Meet Karel • It is a wonderful way to learn the basics of object oriented programming, without all the fuss of syntax we all tend to get bogged down with.
It’s easy, and fun, too! Let’s Meet Karel • Throughout this case study, a friendly robot named Karel helps you explore the world of programming.
Let’s Meet Karel • Part of the fun of learning how to write simple program instructions is that they give you the ability to move Karel through his “world”.
Let’s Meet Karel • As Karel responds to the simple instructions you give him, you can watch him move on your screen. Just say, “Karel.move()”, and I’ll move!
Let’s Meet Karel • Karel’s world is displayed as a grid of intersecting streets and avenues that can contain walls and beepers – objects that Karel can sense and manipulate.
Let’s Meet Karel • In class you will learn how to use the special software package that enables you to write programs for Karel. • The software is downloadable from the web…just search for “Karel J Robot”.
Let’s Meet Karel • “It’s going to be fun, so let’s go to Lesson One!”