Opinions Please. :D

Discussion in 'Programming General' started by SuF, Jan 14, 2009.

Opinions Please. :D
  1. Unread #1 - Jan 14, 2009 at 8:56 PM
  2. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Opinions Please. :D

    I am trying to keep the programming section alive, and I just want your opinions.

    I am currently working on a program that teachers can use to keep their grades in, and it will eventually calculate averages for them.

    The way I am organizing the program is by using a subject object that holds section objects in an array list. I decided to go this way because many teachers at my school teach the same class in 2 or 3 different sections, but it could be dropped out if you think it should be and I think I am leaning that way.

    Now my main issue is about the students. I have a student object, and a assignment object. I can not think of a good way to relate the students to the section they are in and hold their grade for each assignment. Everything I have thought of is either too complex or just not very efficient and annoying to code.

    Now, keep the programming section alive by posting your thoughts. It helps you, me and sythe. :D
     
  3. Unread #2 - Jan 15, 2009 at 8:22 PM
  4. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Opinions Please. :D

  5. Unread #3 - Jan 15, 2009 at 8:34 PM
  6. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Opinions Please. :D

    Well, I could do that... But I want to know your opinions of how to hold the data in the program. I would use a 2d array, but then it would be annoying if they added another student or something. :/
     
  7. Unread #4 - Jan 15, 2009 at 11:49 PM
  8. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    Opinions Please. :D

    How would that make it annoying... don't see where you're coming from.
     
  9. Unread #5 - Jan 16, 2009 at 6:25 AM
  10. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Opinions Please. :D

    If you need to add a new student, and the array is full then you have to copy it and shit... I could do it, just wanting to know if anyone has any better ideas...
     
  11. Unread #6 - Jan 16, 2009 at 6:33 AM
  12. Phlasko
    Joined:
    Jan 7, 2009
    Posts:
    286
    Referrals:
    0
    Sythe Gold:
    0

    Phlasko Forum Addict
    Banned

    Opinions Please. :D

    Im thinking about getting into Java coding, read a couple of tuts but all seems a bit advanced for me I think.

    Also, I am doing computing next year which requires programming so I pretty much need to learn the basics to get my credits, lol.
     
  13. Unread #7 - Jan 17, 2009 at 7:53 PM
  14. cp
    Joined:
    Jan 30, 2007
    Posts:
    3,278
    Referrals:
    6
    Sythe Gold:
    0

    cp an cat
    Banned

    Opinions Please. :D

    Um... I think you have more to worry about... What would happen when they close the program? Do you have something to take care of that, or are you just going to lose your students every time you close it? -.-

    Completely irrelevant.
     
  15. Unread #8 - Jan 17, 2009 at 7:59 PM
  16. SuF
    Joined:
    Jan 21, 2007
    Posts:
    14,212
    Referrals:
    28
    Sythe Gold:
    1,234
    Discord Unique ID:
    203283096668340224
    <3 n4n0 Two Factor Authentication User Community Participant Spam Forum Participant Sythe's 10th Anniversary

    SuF Legend
    Pirate Retired Global Moderator

    Opinions Please. :D

    I need to be able to hold them in the program first... Saving them is easy... I think I am just going to hold the grades in a list in the student object, and just use the assignment object to write what assignments and shit...
     
  17. Unread #9 - Jan 18, 2009 at 9:42 AM
  18. Nullware
    Joined:
    Jan 30, 2007
    Posts:
    1,761
    Referrals:
    4
    Sythe Gold:
    0

    Nullware Guru

    Opinions Please. :D

    Oh you were talking about the problem with full arrays... In that case just use dynamically sized ones.

    Reference:
    http://java.sun.com/j2se/1.4.2/docs/api/java/util/ArrayList.html
     
< C++ and Web Leeching... | new runescape cheats how to dupe phats >

Users viewing this thread
1 guest


 
 
Adblock breaks this site