473,320 Members | 1,804 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,320 software developers and data experts.

Grading Students Scores

I am writing a Visual Basic program for calculating students scores, and also grading the highest 3 scores as "First" , "Second" and "Third" respectively.

I have been able to get the program to compute the score of each student. I have not been able to grade the highest three scores into First, second and third.

Kindly assist me, please.
Nov 3 '06 #1
3 4708
LacrosseB0ss
113 100+
how are you saving the grades? if they are in an array, you can use a sorting algorithm to sort them (in any order) and then take the highest 3 and assign your labels to them. Not sure how it would be done without an array however.

This also may not be the most efficient solution out there but it will work. If the data amount is small enough (<100 elements), it may not matter anyway.
Nov 3 '06 #2
sashi
1,754 Expert 1GB
I am writing a Visual Basic program for calculating students scores, and also grading the highest 3 scores as "First" , "Second" and "Third" respectively.

I have been able to get the program to compute the score of each student. I have not been able to grade the highest three scores into First, second and third.

Kindly assist me, please.
Hi there,

No one will be able to assist you unless u show ur coding segment, think, how to validate the code without seeing the code? take care.
Nov 3 '06 #3
I am writing a Visual Basic program for calculating students scores, and also grading the highest 3 scores as "First" , "Second" and "Third" respectively.

I have been able to get the program to compute the score of each student. I have not been able to grade the highest three scores into First, second and third.

Kindly assist me, please.


yes, some sample code would be nice. BUUUUT you should do a loop to test the numbers and find which is the highest and then count down from there 2 places and store those. = D
Nov 7 '06 #4

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

Similar topics

1
by: Louis | last post by:
Hi, I am a first time poster here. I have been given an assignment to do from college and it is ot create a student gradebook. I have planned all the tables etc. to what I believe to be correct. I...
4
by: hjc | last post by:
i am trying to created a program that will write a grading program for a class with the following policies there are 2 quizzes each graded on the basis of 10 points there is 1 midterm and 1...
3
by: spike29 | last post by:
write an application in Javascriopt that will process peoplesgrades Each person has 4 test grades and you are to compute the average for each sudent. The input will include: 1. student name -...
17
by: Brian Blais | last post by:
Hello, I have a couple of classes where I teach introductory programming using Python. What I would love to have is for the students to go through a lot of very small programs, to learn the...
1
by: wilberato | last post by:
Hi Guys I need help in using the rank function. I have a table with the following fields but would like to rank the students according to their total scores. How do I do it. Name Score 1 ...
4
by: CCSi | last post by:
Write C++ program to read the scores of 10 students and print the average, number of faild and passed students ?
9
by: Grimmjow04 | last post by:
first of all, im a beginner with this thing.. turbo C,, my prof gave us a homework: we must do a grading system consist of: format>>> Grading System Enter your name:
8
by: d24706 | last post by:
Hello, I hope someone can help me. I had to do the following assignment( i have most of it done just cant finish it off, question and source code below). Question? Write a Java program that...
3
by: tomshorts07 | last post by:
hey everyone, i'm new to JAVA, and i'm trying to make a program that takes a .txt file with the format 10 4 2 2 3 1 5 4 2 4 4 Joe, 4 4 1 3 2 5 4 2 4 3 Mary, 4 2 2 3 2 5 3 2 4 4 Fred, 3 2 2 3 1...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.