Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Jun 6th, 2005, 8:54 AM   #1
Akhenaton
Newbie
 
Join Date: Apr 2005
Posts: 7
Rep Power: 0 Akhenaton is on a distinguished road
Wink DB for averages

Hullo there,
I would like to create an application for my school which will help calculate the marks of the students of each class, taking into account his/her coefficient per subject. Finally I would like to calculate the class average following the marks herein.
Is it possible to do this ? And if so can anyone help me out?
Thanks
Aloha
Akhenaton is offline   Reply With Quote
Old Jun 6th, 2005, 9:09 AM   #2
mitakeet
Programmer
 
mitakeet's Avatar
 
Join Date: Jun 2005
Location: Maryland, USA
Posts: 59
Rep Power: 4 mitakeet is on a distinguished road
Of couse it is possible. Why are you posting this in "Feedback and Suggestions"?
__________________

Free code: http://sol-biotech.com/code/.

It is not that old programmers are any smarter or code better, it is just that they have made the same stupid mistake so many times that it is second nature to fix it.
--Mitakeet

The reasonable man adapts himself to the world; the unreasonable one persists in trying to adapt the world to himself. Therefore, all progress depends on the unreasonable man.
--George Bernard Shaw
mitakeet is offline   Reply With Quote
Old Jun 6th, 2005, 9:25 AM   #3
Infinite Recursion
Programming Guru
 
Infinite Recursion's Avatar
 
Join Date: Jul 2004
Location: United States
Posts: 3,467
Rep Power: 8 Infinite Recursion is on a distinguished road
Send a message via MSN to Infinite Recursion Send a message via Yahoo to Infinite Recursion
Very possible... and yes, you have the wrong section. You will need to post this in the section that represents the language in which you are coding in. Also, you would probably receive a better response if you show a bit of effort and state specific problems you are encountering.
__________________
http://jasonpowers.net

"There are a thousand hacking at the branches of evil to one who is striking at the root."
Infinite Recursion is offline   Reply With Quote
Old Jun 8th, 2005, 7:32 AM   #4
Akhenaton
Newbie
 
Join Date: Apr 2005
Posts: 7
Rep Power: 0 Akhenaton is on a distinguished road
hey do you think we can do this together??
Akhenaton is offline   Reply With Quote
Old Jun 8th, 2005, 9:37 AM   #5
Berto
Programming Guru
 
Join Date: Aug 2004
Posts: 1,022
Rep Power: 6 Berto is on a distinguished road
Send a message via AIM to Berto Send a message via MSN to Berto
Do you have any experiance in programming?

How long do you have to complete the project?

and if you come here with questions most people will try to help you out, but also most people work so i doubt you will find someone to help you code it.
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity."

- Albert Einstein
Berto is offline   Reply With Quote
Old Jun 8th, 2005, 9:39 AM   #6
Pizentios
Programming Guru
 
Pizentios's Avatar
 
Join Date: May 2004
Location: Brandon, Manitoba, Canada
Posts: 2,023
Rep Power: 7 Pizentios is on a distinguished road
Send a message via ICQ to Pizentios Send a message via MSN to Pizentios
ummm, we're not a homework service.
__________________
Profanity is the one language that all programmers understand.

Check out my Blog <---updated Nov 30 2007!
Pizentios is offline   Reply With Quote
Old Jun 8th, 2005, 10:16 AM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Lay out for yourself the data you have available. Lay out for yourself the data you wish to derive and present. Determine the formulae or algorithm(s) you will need to transform the one to the other. Define at a high level the operations you will need to perform. An example might be:

1. Get the input data
2. Transform the data
3. Present the results

Look at each of those steps individually, breaking them into smaller tasks. When you are finished, the smallest tasks should be very literal and detailed steps used in accomplishing the task. That would be called pseudocode.

Pick a language. Convert the pseudocode into proper syntax for that language. If you work top-down, you will find that you need things you haven't yet written. Either break into bottom-up mode and write the necessary utility procedures, or, if you can verify the validity of your design at the current level by using stubs, just write a stub. A stub is a substitute: an example would be a message, "Print student record", as opposed to the full-blown procedure for printing a student record. One has to evaluate and choose as one goes along.

When you get into trouble, post in the appropriate forum. If you get into trouble before you choose a language, post back here. IF YOU POST, YOU SHOULD SHOW EFFORT AND WORK. I, for one, never do homework out of hand. If the poster has broken a real sweat, produced things, and fallen into an elephant trap, I'm always more than glad to contribute. I suspect the same is true of others. Tip: design before you code. Know WHAT you're doing, even if you don't know HOW to do it, yet.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 13th, 2005, 4:00 AM   #8
Akhenaton
Newbie
 
Join Date: Apr 2005
Posts: 7
Rep Power: 0 Akhenaton is on a distinguished road
I do not have much experience in Programming, and Ihavea bout two weeks to do this before I turn all the marks in, but this is what I have done so far. I've created a series of tables, namely Classes, coefficients, students, subjects, teachers, terms, tests, and years. In these tables I'll fill in the data. I'm going to try to create relations between them. Now I'm very sure u need pseudocode, but where???
Thanks
Akhenaton is offline   Reply With Quote
Old Jun 13th, 2005, 6:54 AM   #9
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Everywhere you need to express the process. Get a grip. You're writing a list of instructions for an assistant to follow in doing the job for you. You can't do that, of course, until YOU know how to do the job.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Jun 13th, 2005, 8:27 AM   #10
Berto
Programming Guru
 
Join Date: Aug 2004
Posts: 1,022
Rep Power: 6 Berto is on a distinguished road
Send a message via AIM to Berto Send a message via MSN to Berto
or even write down the processes of what you have to do for example

View Marks Of student x:

(basic pseudocode)

Get ID of student
Get class information for student x from database
Display Information

For each process repeat the same as above and you have a basic framework for the program from there it should make it a lot easier to complete.
__________________
"Put your hand on a hot stove for a minute, and it seems like an hour. Sit with a pretty girl for an hour, and it seems like a minute. THAT'S relativity."

- Albert Einstein
Berto is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 11:11 PM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC