Karel++

Karel++

Infobox programming language
name = Karel++

paradigm = object-oriented
year = 1990s
designer =
developer =
latest release version =
latest release date =
typing =
implementations =
dialects =
influenced_by = Karel
influenced =

Karel++ is a didactic object-oriented programming language designed solely as an introduction to preliminary, object-oriented programming. It is conceptually based upon a separate programming language called Karel.

Nomenclature

The Karel++ programming language was appropriately named after Czech writer, Karel Čapek (most commonly associated with contriving the common word, 'robot'). The 'plus plus' suffix of the title was presumably adapted from the popular object-oriented programming language, C++.

Contrasting Karel the Robot with Karel++

yntax and methodology

Karel the Robot, released in 1981, contains syntax and methodology deriving from Pascal; whereas Karel++ provides a basis for the logistics of C++ and Java. In Karel the Robot, the programmer is provided with the funamental problem solving medium, although in Karel++, the user has the ability to apply their problem solving skills with the construction of classes.

Robot World

Because Karel++ is an OOP language, a virtual world is provided for the user in order to physically see their code application.

These robots inhabit a world lacking any sort of definite structure — it is simply a grid of horizontal "streets" and vertical "avenues" along which each robot can move. The map of each world is only capable of containing a set of walls and/or beepers. Beepers are items capable of manipulation granted the robot can lift these objects and place them in its beeper bag; walls are items incapable of any manipulation.

Example

An example of a Karel++ program when robot is located on (1, 2), facing east and holding 0 beepers (This code is intended to be placed within task{}): ur_Robot Karel(1, 2, East, 0); Karel.move(); Karel.move(); Karel.pickBeeper(); Karel.move(); Karel.turnLeft(); Karel.move(); Karel.move(); Karel.putBeeper(); Karel.move(); Karel.turnOff();

References

*Bergin, Joseph (1997) "Karel++: A Gentle Introduction to the Art of Object-Oriented Programming", John Wiley & Sons, Inc. ISBN 0-471-13809-6

External links

* [http://pclc.pace.edu/~bergin/karel.html Karel++ Homepage] - official homepage for Karel++
* [http://www.cs.xu.edu/csci170/00s/karel.html Karel++ Info] - provides Karel++ download for Windows


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Karel — ist ein Vorname und Familienname. Inhaltsverzeichnis 1 Herkunft und Bedeutung 2 Bekannte Namensträger 2.1 Vorname 2.2 Zweitname …   Deutsch Wikipedia

  • Karel — (prénom) Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom. Karel est un prénom mixte et un patronyme. C est un prénom dont la fréquence augmente en France, très usité notamment en Tchèquie. Sommaire 1… …   Wikipédia en Français

  • Karel — may refer to: * Karel (given name) * Karel (programming language), an educational programming language for absolute beginners * Charles Karel Bouley, on the air as Karel, San Francisco radio personalityIn surnames: * William Karel, French film… …   Wikipedia

  • Karel — m Dutch and Czech form of CHARLES (SEE Charles). Pet forms: Czech: Karlí(če)k, Karloušek …   First names dictionary

  • Karel — (as used in expressions) Appel Karel Capek Karel Mander Karel van * * * …   Universalium

  • Karel — (as used in expressions) Appel, Karel Capek, Karel Mander, Karel van …   Enciclopedia Universal

  • karel — Kareliyanin əsas əhalisini təşkil edən xalq və bu xalqa mənsub adam. Karel dili. Karel ədəbiyyatı …   Azərbaycan dilinin izahlı lüğəti

  • Karel, O. — (1921 1996) (Czechoslovakia)    Graphic artist and painter. Probably the graphic artist Karel Oberthor (7/15/1921 Prague ).    Reproductions: Bookplates; Kronhausen, 1970b: p. 42 .    [b]Source: Vollmer III 1956: p. 502 …   Dictionary of erotic artists: painters, sculptors, printmakers, graphic designers and illustrators

  • Karel Sys — Daten Geburtsname Charles Sys Gewichtsklasse Schwergewicht Nationalität Belgier Geburtstag …   Deutsch Wikipedia

  • Karel Goeyvaerts — est un compositeur belge (Anvers, 8 juin 1923 Anvers, 3 février 1993). « La musique a pour tâche de présenter ‘l’essence’ dans le temps et l’espace » Goeyvaerts Sommaire 1 Biographie 2 La Sonate pour 2 pianos et l émergence du …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”