Pages

Friday, October 25, 2013

Move the Robot Program


Fig 1 Move the Robot

 
1
2
3
4
1
Robot



2




3




4





Fig 2. Screen output when the program Move the Robot is executed. (For simplicity I have made a table to track the robot position.)


This is a sample program, named Move the Robot.

Move the Robot has two sub-modules, Move left and Move Right.


When left key is pressed on keyboard, the Robot invokes module Move left and moves one place to its left.

When right key is pressed on keyboard, the Robot invokes module Move right and moves one place to its right.
The main program Move the Robot calls Move left and Move right modules from within.
Initial position of the Robot is (1,1).

                                            Find us on facebook: facebook.com/softwaretestingbykunti


17 comments:

  1. What could it be used for? Software testing is everything but easy, so I decided to trust the professionals and let them do it for my company. If you're perhaps looking for a trustworthy software development service, check here!

    ReplyDelete

  2. Through this post, I realize that your great information in playing with all the pieces was exceptionally useful. I advise this is the primary spot where I discover issues I've been scanning for. You have a smart yet alluring method of composing.

    https://360digitmg.com/course/project-management-professional-pmp

    ReplyDelete
  3. This post is incredibly simple to examine and recognize without disregarding any nuances. Inconceivable work!
    hrdf claimable

    ReplyDelete
  4. This is a great motivational article. In fact, I am happy with your good work. They publish very supportive data, really. Continue. Continue blogging. Hope you explore your next post
    360DigiTMG big data course in malaysia

    ReplyDelete

  5. Your astounding wise data involves a lot to me and particularly to my friends. Much obliged a ton; from us all.
    hrdf claimable

    ReplyDelete
  6. On the off chance that you are being mindful to gain proficiency with a few methodologies, at that point you should peruse this article, I am sure you'll get a lot of extra from this article.
    https://360digitmg.com/course/project-management-professional-pmp

    ReplyDelete

Appreciate your comment...