• Post Reply 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

B&S: Interpretation Question, Please!

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi each and every member,

I'm about to submit my assignment, but when I made the final
review of the specification I found a sentance seeming stranger
than what I had thought earlier.
In the DBAccess interface, the comment close to the updateRecord() reads:

"... The new value for field n appears in data[n]."

I originally interpreted the 1st field as appearing in data[0],
the second in data[1], ... etc.

But I'm considering of another interpretation that
the 1st field appears in data[1],
the second in data[2], ... etc.


What do you interpret it as the specification really wanted?

Thanks in advance!

Best regards,
Scott
 
Ranch Hand
Posts: 64
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Scott,

To be honest, I think you're reading too much into this. I would not worry.


Barend
 
author and jackaroo
Posts: 12200
280
Mac IntelliJ IDE Firefox Browser Oracle C++ Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Scott,

I agree with Barend.

In this assignment, as in real life, you are unlikely to get perfect instructions. Sometimes this could be because the person writing the instructions has a different "mindset" (e.g. they may be a DBA moving into writing programming specifications - in which case they may well write that field 1 goes into data[1]), and sometimes the confusion could be deliberate (so that the customer has more time to think / clarify instructions, or (in the case of assignments for certification) it could be that the instructions are meant to mirror the vaguarities of a real life assignment ).

Go with what seems a reasonable interpretation for us: that the "1st field as appearing in data[0]"

Regards, Andrew
 
Scott H. Kao
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Barend and Barend,

Thank you for your replies and thoughts!

Best Regards,
Scott
reply
    Bookmark Topic Watch Topic
  • New Topic