Purchase Solution

Visual Basic (VB) Program to Assign Letter Grade from Marks

Not what you're looking for?

Ask Custom Question

Design and develop a project to assign a letter grade (A >= 90, B = [80..89], C = [70..79], D = [60..69], and F = [0..59]) to a student's Assignment based on a test score and other criteria.

Use a NumericUpDown control to allow the instructor's assistant to enter a test score between 0 and 100.
Use a group of RadioButton controls to determine the grade on Extra Credit Project #1: None (0 points), Average (3 point bonus), Above average (5 point bonus).
Use a second group of RadioButton controls to select whether a student handed in the assignment on time, with the default being On Time. The other choices are 1 to 2 days late (5 point penalty) and more than 2 days late (automatic score of 0).
Display the final total grade in a read-only TextBox control. Use global variables to keep track of which RadioButton control is checked before determining the final grade.
Deliverable Detail
Create user interface similar to the one pictured in this link.
Submit only ONE file. The file should be a zip of all necessary files to demonstrate your program. Tips for Unit 2 IP (ITP330)
You need to read chapter 6 to understand the use of if-then-else and select-case statements. The individual project assignment requires the use of these decision making statements. The final grade must be a letter grade (A, B, C, D, or F). Make sure that your program only accepts test scores in the range [0..100] and final grades in the range [0..105]
Logic:
Declare global variables by placing the Dim statement outside all methods.
gdbExtraCredit: to remember how much extra-credit should be given.
gdbLate: remember how much late penalty should be taken off depending on whether it is: on time, 1-2 days late, or more than 2 days late.
For each radio button, code a sub that handles the CheckedChanged event.
For example:
Private Sub rad1_2DayLate_CheckedChanged (...)
gdbLate = -5
End Sub

Code a method to handle btnCompute_Click(...) event.

Purchase this Solution

Solution Summary

Use a NumericUpDown control to allow the instructor's assistant to enter a test score between 0 and 100.
Solution includes a Visual Basic Project to assign letter grades to students' marks obtained in an examination. Boththe Source and Compiled Executable are included in addition to a form that includes the following:
1. A group of RadioButton controls to determine the grade on Extra Credit Project #1: None (0 points), Average (3 point bonus), Above average (5 point bonus).
2. A second group of RadioButton controls to select whether a student handed in the assignment on time, with the default being On Time. The other choices are 1 to 2 days late (5 point penalty) and more than 2 days late (automatic score of 0).
3. TextBox control that displays the final total grade.

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Excel Introductory Quiz

This quiz tests your knowledge of basics of MS-Excel.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

C# variables and classes

This quiz contains questions about C# classes and variables.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.