473,387 Members | 1,515 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Help with a program please!

1
In this assignment, you will write grading program for a class with the following grading policies.
1. there are 2 quizzes, each graded on the basis of 10 points.
2. there is 1 midterm exam and one final exam, each graded on the basis of 100 points.
3. the final exam counts for 50% of the grade, the midterm counts for 25%, and the 2 quizzes together count for a total of 25%. (Do not forget to normalize the quiz scores.)
A letter grade will be given based on the following criterion:
90 – 100 A
80 – 89 B
70 – 79 C
60 – 69 D
0 – 59 E
The program will read in the student’s scores from a text file, and output the student’s record, which consists of the name, 2 quiz and 2 exam scores as well as the student’s average numeric score for the entire course and final letter grade.
Define and use a class for the student record. All the scores are integers and a student name consists of no more than 10 characters. You must justify your output file.


_______________________________________________


Thanks so much.
Jul 10 '07 #1
2 2130
nomad
664 Expert 512MB
In this assignment, you will write grading program for a class with the following grading policies.
1. there are 2 quizzes, each graded on the basis of 10 points.
2. there is 1 midterm exam and one final exam, each graded on the basis of 100 points.
3. the final exam counts for 50% of the grade, the midterm counts for 25%, and the 2 quizzes together count for a total of 25%. (Do not forget to normalize the quiz scores.)
A letter grade will be given based on the following criterion:
90 – 100 A
80 – 89 B
70 – 79 C
60 – 69 D
0 – 59 E
The program will read in the student’s scores from a text file, and output the student’s record, which consists of the name, 2 quiz and 2 exam scores as well as the student’s average numeric score for the entire course and final letter grade.
Define and use a class for the student record. All the scores are integers and a student name consists of no more than 10 characters. You must justify your output file.


_______________________________________________


Thanks so much.
Sorry theScripts will not help you write a program. Please read the
Posting Guidelines http://www.thescripts.com/forum/faq....ing_guidelines.
TheScripts are here to help you when you get stuck.

Try to write some code, how many objects do I need. Your instructed told you that the scores are integers, your student name should be what?
How are you going to store the info, array, arraylist?
Once you figure out how integer are need, you need to start to figure out the math part.
the final exam counts for 50% of the grade, the midterm counts for 25%, and the 2 quizzes together count for a total of 25%.
What kind of statements are you going to use for the grade



nomad
hint start out slowly do one step at a time do the student part first, store the value and then print it out. then work on the integer part, same thing, next the math part and so on down the line.
Jul 10 '07 #2
praveen2gupta
201 100+
Hint use SWITCH statement to solve the problem. SWITCH statement is used to solve this types of cases.
Jul 10 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: the_proud_family | last post by:
HELP ME PLEASE!! my email is the_proud_family@yahoo.com I can't get the ball to go up right side and then I need it to turn around and keep turning until velocity=0 I have been at it for the ...
12
by: Christo | last post by:
borland c++ 5.01 character constant must be one or two characters long get this when compiling my first c++ program can anyone out there help? it is highlighting this line as the problem ...
17
by: JT | last post by:
Help me the following C++ question: Write a program to help a local bookshop automate its billing system. The program should do the following: (a)Let the user enter the ISBN, the system will...
7
by: tyler_durden | last post by:
thanks a lot for all your help..I'm really appreciated... with all the help I've been getting in forums I've been able to continue my program and it's almost done, but I'm having a big problem that...
8
by: skumar434 | last post by:
i need to store the data from a data base in to structure .............the problem is like this ....suppose there is a data base which stores the sequence no and item type etc ...but i need only...
1
by: alfie27 | last post by:
Hi, Here is what the final output to the screen should look like. Below this is the code I have so far. Can someone please help me as to what i need to do next?? I'm really clueless right now. ...
2
by: Bsnpr8 | last post by:
I need help guys, i have to many stuff to do, because i am in my last 2 weeks of the university, my last assignment is to do a spell checker in C++, i have an idea but nothing is coming out. I really...
1
by: al2004 | last post by:
Write a program that reads information about youth soccer teams from a file, calculates the average score for each team and prints the averages in a neatly formatted table along with the team name....
12
by: adamurbas | last post by:
ya so im pretty much a newb to this whole python thing... its pretty cool but i just started today and im already having trouble. i started to use a tutorial that i found somewhere and i followed...
1
by: lilbit02 | last post by:
Hi, I have a form that utilizes validation as most do via javascript. This form worked totaly fine until I needed to add a dynamic div now the validation doesn't work. It does work for the first...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.