Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

What sall we do with the drunken sailor ?

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Can anybody write the algorithm for :

https://www.cs.tcd.ie/~vjcahill/1ba2/assignments/Assignment4.pdf

the program ? The applet ?

Cheers !

Michael.
 
Michael McGrath
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
aargh, What Shall we do with the drunken sailors ?

Better still, could some genius create an animation by using Processing 101 ?
 
Michael McGrath
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
This was used as an examination question in Java in " Introduction to programming " ( Java) by Professor Vinny Cahill in last summers Junior Freshman Annual examination at Trinity College Dublin, Ireland's top university, one of the seven ancient universities of the British Isles with the acknowledged toughest Computer Science degree in the world - outside of a couple of top USA universities. Anybody who can get the algorithm for this one is GOOD, the code EVEN BETTER, the applet BEST - and to animate it in Processing 101, the best worldwide :-)

Cheers,
Michael.
 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Welcome to JavaRanch.

When I clicked the link, I got a username / password prompt, so I couldn't see the document.

Are you doing this for a homework assignment? Did you try solving the problem yourself? We here at JavaRanch like to help people to learn Java, but you don't learn anything if we do your homework for you.
 
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Michael McGrath wrote:aargh, What Shall we do with the drunken sailors ?


Put them in rehab of course.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Put them in rehab of course.


But they don't serve alcohol in rehab ...
 
Michael McGrath
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Hi Jasper,
Try my login at tcd - username : mcgratmj, password ictu5Shu

I'm starting the assignment, I think it's fab, I reckon it's a Queue, and that I'll have to use probability, but I'm not sure about the method to use, if you or anyone can help, brown envelope on the way, thanks.
 
Michael McGrath
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
sorry again ! try my username : mcgratmj ,
password : iche5Shu

That should log you into Vinny's delightful Java puzzles,

Enjoy :-)
 
Michael McGrath
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Eventually, though not required by the Professor, I would love to create an entire animation out of this assignment through using Processing 1.01 at which I'm quite good.
 
Michael McGrath
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
And, by the way, Jasper, could you have a look at my Java course while in there, and let me know if there is a similar course at Java Ranch that might help me progress in my college Java course ? We're on eclipse. Thanks.
 
Michael McGrath
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
And I'll buy you a big creamy pint of Guinness whenever you're in Dublin :-)
 
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
You never answered Jesper's original questions....

Are you doing this for a homework assignment? Did you try solving the problem yourself? We here at JavaRanch like to help people to learn Java, but you don't learn anything if we do your homework for you.



Henry
 
Rob Spoor
Sheriff
Posts: 22783
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator
Michael, can you please start using the Edit button? 5 posts right after each other is really not necessary. Editing your previous post and adding the info is a lot better.

Of course this does not apply to posts that already have had replies to them.
 
Rancher
Posts: 3742
16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Michael McGrath wrote:Trinity College Dublin, Ireland's top university, ... with the acknowledged toughest Computer Science degree in the world - outside of a couple of top USA universities.



And I'm the greatest Java programmer in the world (as long as you exclude all those programmers that are better than me)
 
Ranch Hand
Posts: 142
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator

Joanne Neal wrote:

Michael McGrath wrote:Trinity College Dublin, Ireland's top university, ... with the acknowledged toughest Computer Science degree in the world - outside of a couple of top USA universities.



And I'm the greatest Java programmer in the world (as long as you exclude all those programmers that are better than me)



Good spot Joanne, I missed that....we have a little joke over here in Ireland about Trinity College students and how big-headed they are:

Q: "If you are on a bus and a stranger sits beside you; how will you know that they went to Trinity?"
A: "They'll tell you"

 
Henry Wong
author
Posts: 23951
142
jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Report post to moderator


Okay, I am going to lock this topic. It seems that this topic has gone completely off of the rails.... And BTW, that last joke is funny. I have to remember that ...


Michael,

How about this? Read these first....

http://faq.javaranch.com/java/ShowSomeEffort
http://faq.javaranch.com/java/NotACodeMill
http://faq.javaranch.com/java/DoYourOwnHomework

These pages mostly explain why you may be incurring some wrath.

So, please start your project... And if you run into any issues while working on it, here are some pages that explain how to best ask for help...

http://faq.javaranch.com/java/TellTheDetails
http://faq.javaranch.com/java/PostRealCode

Henry
 
Consider Paul's rocket mass heater.
    Bookmark Topic Watch Topic
  • New Topic