Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: Object Oriented Programming

  1. #1
    Junior Member
    Join Date
    Sep 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Object Oriented Programming

    I have these problems to solve and they are over due! Hence, I sincerely need help to solve the problems; this will also serve as a learning opportunity for me.
    The assignment is as follows:

    1.Consider a walking robot that has two legs and two arms. The robot walks towards a screen that has three buttons (red, yellow, and green). On the path towards the screen, there is a chair that blocks the robot. The robot observes the chair and make a left turn of 80 degree, walk 20 cm and make right turn of 100 degree walk forward (to the screen). To reach the correct position, after 40 cm, additional adjustment of 100 degree to the right is needed. After 15 cm, robot makes left turn of 160 degree towards the screen and finally reaches it. The robot lifts left arm and uses color sensor to detect the color on the screen, put down the left arm and lift right arm to press button based on the detected color of the button. Prepare a state diagram of the above scenario using correct UML notations.

    2. Consider a gas station.
    a.List and define necessary states for the system.
    b.Prepare a state diagram using correct UML notation.

    Please kindly help time is not on my side for this assignment. I messed up in my trials.


  2. #2
    Super Moderator curmudgeon's Avatar
    Join Date
    Aug 2012
    Posts
    1,130
    My Mood
    Cynical
    Thanks
    64
    Thanked 140 Times in 135 Posts

    Default Re: Object Oriented Programming

    Hello Calebite and welcome to the forum. We'll be glad to help you out, but we of course won't do your assignment for you as that would be cheating. Please show us what you've done so far, show all errors that your code may be generating, and please ask any answerable questions, and again, we'll be more than glad to try to help you out.

  3. #3
    Junior Member
    Join Date
    Sep 2012
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Object Oriented Programming

    Object Oriented Programming



    I have these problems to solve and they are over due! Hence, I sincerely need help to solve the problems; this will also serve as a learning opportunity for me.
    The assignment is as follows:

    1.Consider a walking robot that has two legs and two arms. The robot walks towards a screen that has three buttons (red, yellow, and green). On the path towards the screen, there is a chair that blocks the robot. The robot observes the chair and make a left turn of 80 degree, walk 20 cm and make right turn of 100 degree walk forward (to the screen). To reach the correct position, after 40 cm, additional adjustment of 100 degree to the right is needed. After 15 cm, robot makes left turn of 160 degree towards the screen and finally reaches it. The robot lifts left arm and uses color sensor to detect the color on the screen, put down the left arm and lift right arm to press button based on the detected color of the button. Prepare a state diagram of the above scenario using correct UML notations.

    2. Consider a gas station.
    a.List and define necessary states for the system.
    b.Prepare a state diagram using correct UML notation.

    Please kindly help time is not on my side for this assignment. I messed up in my trials.

    --- Update ---

    Thanks for your response. The instructor actually told us to seek or search Internet for solutions as this assignment is not the same as quiz or class test. My trials were manually submitted because of blackout which however was why she gave me to the end of the day to submit it.
    Thanks.

  4. #4
    Super Moderator curmudgeon's Avatar
    Join Date
    Aug 2012
    Posts
    1,130
    My Mood
    Cynical
    Thanks
    64
    Thanked 140 Times in 135 Posts

    Default Re: Object Oriented Programming

    Quote Originally Posted by calebite207 View Post
    Thanks for your response. The instructor actually told us to seek or search Internet for solutions as this assignment is not the same as quiz or class test. My trials were manually submitted because of blackout which however was why she gave me to the end of the day to submit it.
    Thanks.
    Regardless, most here will gladly help once you show the fruits of your efforts. Again, please don't dump work here, homework or otherwise, lest you be placed on many folks' "do-not-help" list. Again, please show some effort, even a small amount.

Similar Threads

  1. Can some one teach me how to creat this Object Oriented Programming
    By Rashid in forum Java Theory & Questions
    Replies: 7
    Last Post: September 27th, 2012, 07:55 AM
  2. help for Object Oriented Programming RMI
    By clapton in forum Object Oriented Programming
    Replies: 2
    Last Post: March 22nd, 2012, 05:38 AM
  3. Object oriented programming
    By merr78 in forum What's Wrong With My Code?
    Replies: 3
    Last Post: February 9th, 2012, 01:32 AM
  4. Object oriented programming
    By jonnitwo in forum Object Oriented Programming
    Replies: 8
    Last Post: September 2nd, 2011, 12:18 PM
  5. Object Oriented Programming request please helpp...
    By dini-x in forum Object Oriented Programming
    Replies: 3
    Last Post: April 1st, 2010, 12:57 AM