Programme for create the class in the karel++ , Programming Languages

Create the class Robot described in the Karel++ book.

Description:

The Robot class described in the Karel++ text is a derived class of ur_Robot. Create class Robot as a derived lass of yourur_Robot class

Notes:

- The big change is that Robot has the boolean tests described in the Karel++ text.
- This class should be able to work with the world model you have, including performing tests.
- You must now consider multiple robots since there is a nextToARobot test a Robot can execute. However, leave this as a low priority item. Get all the other tests functioning first. (But don't forget about it.)
- Make your test program run a reasonable suite of test instructions to convince you, and to illustrate to me, that your classes are working. Your test code can now be much more interesting since you can test/probe your world model with a Robot without generating an error.

- Also, consider refining/reworking your world model.
- Consider reworking your ur_Robot model.
- Are there any flaws or difficulties with your current models? If so rework/refactor your models.

Note: Our ur_Robot class is intended to model the Karel++ ur_Robot class. So tests and any superfluous methods should not be available through ur_Robot. {We will give a little here to allow for a few useful utility methods like getter methods, a setWorld method and perhaps a display method.} Again, this to satisfy the requirement that we produce a class as similar to
ur_Robot as possible.

If your ur_Robot class is utilizing test-type methods, rename them and restrict them so that they are not publicly available. {They can be there for the programmer's use, but they are not supposed to be there for a consumer/user of the class. ur_Robot is supposed to only provide the 5 primitive instructions}

Posted Date: 2/14/2013 7:30:37 AM | Location : United States







Related Discussions:- Programme for create the class in the karel++ , Assignment Help, Ask Question on Programme for create the class in the karel++ , Get Answer, Expert's Help, Programme for create the class in the karel++ Discussions

Write discussion on Programme for create the class in the karel++
Your posts are moderated
Related Questions
Object-oriented programming paradigm Object  Oriented  Programming  is  an  aproach  in  which  a  program  is  viewed  as  a  dynamic  network  of collaborating objects, where

can you give me online education system E-R daigram..

Write an assembly program that computes Fibonacci numbers 2-5. a. Assume Fib(0)=0 and Fib(1)=1. b. Store Fib(2) in EAX, Fib(3) in EBX, Fib(4) in ECX and Fib(5) in EDX. c. Use a LOO

Suppose you have a ?le orase of city and country names, like this: Cluj, Romania Debrecen, Hungary Klagenfurt, Austria Berlin, Germany Szeged, Hungary Budapest, Hungary Lintz, A

Silver light uses WPF to provide included web handles Microsoft Technologies Silverlight uses WPF to provide included web handles similar to Adobe Display, but with more focus on a

Write a program that repeatedly prompts for and reads a positive integer value n and then calculates and displays the nth Fibonacci number

Using the concept of structures, write a program to assign passenger seats in an airplane. Assume a small airplane with seats numbered as follows: 1 A B C D 2 A B C D 3 A

I have an assignment that requires from me to run multiple clients and one server ( Corba)

Write a python script that will take two file names as input (src, dest). Open src reading each line in the file, and replacing any occurrences of name with the string "redacted".

Characteristics of object-oriented programming: •   Emphasis is on data rather than procedure. •   Programs are divided into what are known as objects. •