Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Passed - 384/400 (96%)

 
Ewan Livingstone
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Woo & yay, after initially getting a rather confusing result on the website (384/400, but a grade of F), Sun have confirmed that I've passed.

Max marks on everything except for the GUI, where I got 24/40. Not too fussed about that - it was a bit ugly, but I lost patience after working on this thing for far too long (on and off - mostly off! - since Sept '07).

Happy to answer design questions if anyone has one...
 
satishkumar janakiraman
Ranch Hand
Posts: 334
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ewan,

Congrats!!!

btb, can you tell me why you have lost points in GUI? I see, most of the ranchers loosing points in UI Section
 
Ewan Livingstone
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My GUI wasn't polished, because I just came to a point where I just wanted to submit rather than spending more time on it.

Some things I might've lost points for (they don't tell you, so this is guesswork):
1. Not using separate threads for non-trivial actions triggered by button clicks. For instance, where a button click results in an RMI call to the server, this should be in a separate thread, so the GUI remains responsive.
2. Everything was centred. Looked a bit weird. Just a result of me giving up after struggling to make AWT/Swing behave itself...
3. You could argue that having a popup booking/unbooking dialog is actually less maintainable than simply letting the user type in bookings into the JTable directly - the obvious future expansion would be to allow users to change other column values (e.g. change # staff for a particular contractor); having a dialog for bookings sets a precedent whereby each such action requires a dialog.

It wasn't horrific, though... some GUI features I did implement:
1. splash screen (new feature of Java 6; splash screen is loaded before the JVM)
2. Tooltips.
3. Everything could be done from the keyboard.
4. Sensible restrictions on field input as you type - you were prevented from typing anything other than a number in the range 0-65535 in the port field, or something roughly resembling an IP or hostname into the hostname field.

I think it's easy to go overboard with this assignment (I'm guilty of this). The 80% pass mark sounds daunting, but the marking is generally not so harsh. You can afford to drop a few points here and there so long as the requirements are met.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!