File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes aonther problem surprised to me Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "aonther problem surprised to me " Watch "aonther problem surprised to me " New topic
Author

aonther problem surprised to me

Sun qinlong
Greenhorn

Joined: Apr 03, 2003
Posts: 14
hello everyone:
except that I have the same problem as many of you .I have another problem that in my assigment the full mark is 400.what about you ??/
sun email to me that I can download a new assignment once aggain till april 2ed . but I can't do that now !!
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11525
    
100

Interesting. My project, which I downloaded on 25 March, only has 155 marks. Namely:
General Considerations (Total 58)
Ease of use (23)
Coding Standards (23)
Clarity and Maintainability (12)
Documentation (Total 20)
user (10)
javadoc (5)
Comments (5)
User Interface (Total 24)
Good Human/Computer Interaction (24)
Server Design (Total 53)
locking (30)
error handling (8)
search algorithm (15)
Feel like explaining where your points are allocatted?
Regards, Andrew
PS: Hello everyone. I am very new here. Just starting my assignment, and only recently found out about this site.


The Sun Certified Java Developer Exam with J2SE 5: paper version from Amazon, PDF from Apress, Online reference: Books 24x7 Personal blog
Alex McLachlan
Greenhorn

Joined: Feb 19, 2003
Posts: 2
I just downloaded my assignment yesterday and the new marking scheme now looks like this:

Marking Criteria
Your work will be evaluated based on the following criteria. The minimum passing score is 320 out of a possible 400 points.
General Considerations (100 points)
Documentation (70 points)
Object-orietned design (30 points)
User Interface (40 points)
Locking (80 points)
Data class (40 points)
Server (40 points)
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

Data class (40 points)

Alex,
I am curious, does your version of assignment instructs you to define the lock/unlock methods in the Data class?
Eugene.
Alex McLachlan
Greenhorn

Joined: Feb 19, 2003
Posts: 2

I am curious, does your version of assignment instructs you to define the lock/unlock methods in the Data class?

It does - the data access class (Data.java) must implement the interface DB, which contains (amongst others) these two methods:

Alex.
Andrew Monkhouse
author and jackaroo
Marshal Commander

Joined: Mar 28, 2003
Posts: 11525
    
100

In case anyone else is interested in what is being emphasised / de-emphasised in the new marking:
Still 80% to pass.
Gerneral considerations was 37% now 25%
Documentation was 13% now 18%
User Interface was 16% now 10%
Locking was 19% now 20%
Server was 15% now 10%
New:
Data class 10%
Object Orientated Design 8%
I am glad user interface has gone down in importance.
John Smith
Ranch Hand

Joined: Oct 08, 2001
Posts: 2937

public void unlock(int recNo, long cookie) throws RecordNotFoundException, SecurityException;

Aha, that's something completely new, -- now a cookie is supposed to identify the client? I suppose Sun is pushing for a particular design so that it is easier for them to grade the solutions.
Eugene.
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
Originally posted by Eugene Kononov:

Aha, that's something completely new, -- now a cookie is supposed to identify the client? I suppose Sun is pushing for a particular design so that it is easier for them to grade the solutions.
Eugene.

yep, and i dont know if marking was always like this, but based on the following i can see how the cookie and the data class being implemented in that way makes it easier to grade the solutions.

The marking is done in three phases. First, software checks that overall structure and nomenclature conform to specification. Second the examiner runs the code ensuring that it functions correctly through the specified operations. If any automatic failures are noted at this stage, the marking process terminates and the assignment is failed.
Michael Dreese
Ranch Hand

Joined: Apr 02, 2003
Posts: 45
Originally posted by Ta Ri Ki Sun:
yep, and i dont know if marking was always like this, but based on the following i can see how the cookie and the data class being implemented in that way makes it easier to grade the solutions.

Hi,
Would you mind to tell us more about the implementation? I don't know how to generate the unique cookie for lock method.
Cheers,
Michael
Vitaly Zhuravlyov
Greenhorn

Joined: Apr 11, 2003
Posts: 16
Hi,
When I first downloaded my assignment there was no database and the interface DBAccess had cookies. Later on they replaced the assignment and now it has the interface DBMain without any cookie.
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
Originally posted by Michael Dreese:

Hi,
Would you mind to tell us more about the implementation? I don't know how to generate the unique cookie for lock method.
Cheers,
Michael

my new assignment no longer has a cookie, except for the magic cookie value which identifies the files as a data file, but that has nothing to do with the previously mentioned cookie.
are you sure you're using you're new instructions file?
frank sun
Ranch Hand

Joined: Apr 11, 2003
Posts: 102
I also don't have a cookie file, so where can I find the magic number? and how?
best regards!
Frank
Michael Dreese
Ranch Hand

Joined: Apr 02, 2003
Posts: 45
Originally posted by Ta Ri Ki Sun:
my new assignment no longer has a cookie, except for the magic cookie value which identifies the files as a data file, but that has nothing to do with the previously mentioned cookie.
are you sure you're using you're new instructions file?

My DB interface has those cookie for lock/unlock/write methods. My intstruction file hasn't changed since first I downloaded. Did yours change? I hope there is no cookie for those methods.
Cheers,
Michael
Michael Dreese
Ranch Hand

Joined: Apr 02, 2003
Posts: 45
Originally posted by frank sun:
I also don't have a cookie file, so where can I find the magic number? and how?
best regards!
Frank

You can open your given db file with any hex editor and you can locate the magic number (just follow your data format instruction). Mine is 0x00000202.
Cheers,
Michael
Ta Ri Ki Sun
Ranch Hand

Joined: Mar 26, 2002
Posts: 442
Originally posted by Michael Dreese:

My DB interface has those cookie for lock/unlock/write methods. My intstruction file hasn't changed since first I downloaded. Did yours change? I hope there is no cookie for those methods.
Cheers,
Michael

mine changed, my instructions went from 1.2.1 to 1.3.1 and theres no cookie for those methods
Sun qinlong
Greenhorn

Joined: Apr 03, 2003
Posts: 14
hi
in my assignment i have the cookie and it appears at two place . one called magic cookie at the data formate and another one appears at data interface whit the name cookie and lockcookie
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: aonther problem surprised to me