Process and Output (60%): The user enters a course name, credits, and selects a grade from the combo box, then clicks on the “Add Course” button. After data validation, the program will do the...

Process and Output (60%): The user enters a course name, credits, and selects a grade from the combo box, then clicks on the “Add Course” button. After data validation, the program will do the following: 1. Displays the name of the course, the number of credits, the letter grade, and the points in the output text box. ▪ Note: The points are decided based on the letter grade selected: A = 4, B=3, C =2 , D=1, and F =0 3 2. Clears the course and credits textboxes, and brings the combo box back to “Select a Grade” 3. Displays the GPA, Total Credits, and Total Points in the associated textboxes. ▪ Note: The GPA is calculated as the Total Points / Total Credits ▪ Where Total Points is the summation of multiplying points x Credits for each course. ▪ For example: Say you earned an A in BIS260 that has 3 credits A = 4 Points Total Points = 4 x 3 credits = 12 Total Credits so far = 3 GPA = Total Points / Total Credits = 12/3 = 4 Which is an A. You also earned a B in BIS270 that has 3 credits B = 3 Points Total Points = 3 x 3 + 12 (from the BIS260 above) = 21 Total Credits = 3 + 3 = 6 GPA = 21/6 = 3.5 which is an A


1 BIS260 Midterm Test Spring 2023 Please read this page before you start working on the test. Important Note: This is an open book and take-home test. However, you are expected to work on solving the problems on your own with no help from anyone else. If you copy lines of code from a source online, please add a reference to that website. Any confirmed attempt of cheating will result in receiving a zero on the test and the violation will be reported to the academic integrity office. ➢ Due Date: Sunday 03/12 at 11:55 pm – No late work will be accepted. ➢ What to turn in: 1. A copy of your code in a word document. 2. A zipped folder containing all the required files for running the project. ➢ There is a video that shows you how your project is expected to run. 2 A) Build this form in Visual Studio (5%): - All textboxes must be disabled except for Course and Credits - The Grade Combo Box should have the following items: A, B, C, D, F B) Data Validation (15%): The program must check when clicking on the Add Course button that: o The course textbox cannot be empty o The value for credits should be a positive number o A grade must be selected from the combo box Any bad data must result in an error message. C) Process and Output (60%): The user enters a course name, credits, and selects a grade from the combo box, then clicks on the “Add Course” button. After data validation, the program will do the following: 1. Displays the name of the course, the number of credits, the letter grade, and the points in the output text box. ▪ Note: The points are decided based on the letter grade selected: A = 4, B=3, C =2 , D=1, and F =0 3 2. Clears the course and credits textboxes, and brings the combo box back to “Select a Grade” 3. Displays the GPA, Total Credits, and Total Points in the associated textboxes. ▪ Note: The GPA is calculated as the Total Points / Total Credits ▪ Where Total Points is the summation of multiplying points x Credits for each course. ▪ For example: Say you earned an A in BIS260 that has 3 credits A = 4 Points Total Points = 4 x 3 credits = 12 Total Credits so far = 3 GPA = Total Points / Total Credits = 12/3 = 4 Which is an A. You also earned a B in BIS270 that has 3 credits B = 3 Points Total Points = 3 x 3 + 12 (from the BIS260 above) = 21 Total Credits = 3 + 3 = 6 GPA = 21/6 = 3.5 which is an A 4. The letter grade of the GPA is determined using this criteria: 3.5 – 4.0 = A 3.0 – 3.4 = B 2.5 – 2.9 = C 2.0 – 2.4 = D< 2.0="F" ▪="" i="" attached="" a="" video="" that="" explains="" this="" process,="" and="" here="" is="" an="" example="" of="" the="" desired="" output:="" 4="" d)="" the="" clear="" button="" (20%)="" when="" the="" clear="" button="" is="" clicked:="" 1.="" all="" textboxes="" should="" be="" cleared="" 2.="" combo="" box="" goes="" back="" to="" the="" “select="" a="" grade”="" item="" 3.="" do="" not="" forget="" to="" reset="" all="" global="" variable="" values="" to="" zero,="" so="" next="" student="" will="" be="" able="" to="" compute="" their="" gpa="" independent="" from="" previous="" calculations.="" e)="" please="" make="" sure="" you="" attach="" a="" copy="" of="" your="" code="" in="" a="" word="" document.="" good="" luck="" 1="" bis260="" midterm="" test="" spring="" 2023="" please="" read="" this="" page="" before="" you="" start="" working="" on="" the="" test.="" important="" note:="" this="" is="" an="" open="" book="" and="" take-home="" test.="" however,="" you="" are="" expected="" to="" work="" on="" solving="" the="" problems="" on="" your="" own="" with="" no="" help="" from="" anyone="" else.="" if="" you="" copy="" lines="" of="" code="" from="" a="" source="" online,="" please="" add="" a="" reference="" to="" that="" website.="" any="" confirmed="" attempt="" of="" cheating="" will="" result="" in="" receiving="" a="" zero="" on="" the="" test="" and="" the="" violation="" will="" be="" reported="" to="" the="" academic="" integrity="" office.="" ➢="" due="" date:="" sunday="" 03/12="" at="" 11:55="" pm="" –="" no="" late="" work="" will="" be="" accepted.="" ➢="" what="" to="" turn="" in:="" 1.="" a="" copy="" of="" your="" code="" in="" a="" word="" document.="" 2.="" a="" zipped="" folder="" containing="" all="" the="" required="" files="" for="" running="" the="" project.="" ➢="" there="" is="" a="" video="" that="" shows="" you="" how="" your="" project="" is="" expected="" to="" run.="" 2="" a)="" build="" this="" form="" in="" visual="" studio="" (5%):="" -="" all="" textboxes="" must="" be="" disabled="" except="" for="" course="" and="" credits="" -="" the="" grade="" combo="" box="" should="" have="" the="" following="" items:="" a,="" b,="" c,="" d,="" f="" b)="" data="" validation="" (15%):="" the="" program="" must="" check="" when="" clicking="" on="" the="" add="" course="" button="" that:="" o="" the="" course="" textbox="" cannot="" be="" empty="" o="" the="" value="" for="" credits="" should="" be="" a="" positive="" number="" o="" a="" grade="" must="" be="" selected="" from="" the="" combo="" box="" any="" bad="" data="" must="" result="" in="" an="" error="" message.="" c)="" process="" and="" output="" (60%):="" the="" user="" enters="" a="" course="" name,="" credits,="" and="" selects="" a="" grade="" from="" the="" combo="" box,="" then="" clicks="" on="" the="" “add="" course”="" button.="" after="" data="" validation,="" the="" program="" will="" do="" the="" following:="" 1.="" displays="" the="" name="" of="" the="" course,="" the="" number="" of="" credits,="" the="" letter="" grade,="" and="" the="" points="" in="" the="" output="" text="" box.="" ▪="" note:="" the="" points="" are="" decided="" based="" on="" the="" letter="" grade="" selected:="" a="4," b="3," c="2" ,="" d="1," and="" f="0" 3="" 2.="" clears="" the="" course="" and="" credits="" textboxes,="" and="" brings="" the="" combo="" box="" back="" to="" “select="" a="" grade”="" 3.="" displays="" the="" gpa,="" total="" credits,="" and="" total="" points="" in="" the="" associated="" textboxes.="" ▪="" note:="" the="" gpa="" is="" calculated="" as="" the="" total="" points="" total="" credits="" ▪="" where="" total="" points="" is="" the="" summation="" of="" multiplying="" points="" x="" credits="" for="" each="" course.="" ▪="" for="" example:="" say="" you="" earned="" an="" a="" in="" bis260="" that="" has="" 3="" credits="" a="4" points="" total="" points="4" x="" 3="" credits="12" total="" credits="" so="" far="3" gpa="Total" points="" total="" credits="12/3" =="" 4="" which="" is="" an="" a.="" you="" also="" earned="" a="" b="" in="" bis270="" that="" has="" 3="" credits="" b="3" points="" total="" points="3" x="" 3="" +="" 12="" (from="" the="" bis260="" above)="21" total="" credits="3" +="" 3="6" gpa="21/6" =="" 3.5="" which="" is="" an="" a="" 4.="" the="" letter="" grade="" of="" the="" gpa="" is="" determined="" using="" this="" criteria:="" 3.5="" –="" 4.0="A" 3.0="" –="" 3.4="B" 2.5="" –="" 2.9="C" 2.0="" –="" 2.4="D">< 2.0 = f ▪ i attached a video that explains this process, and here is an example of the desired output: 4 d) the clear button (20%) when the clear button is clicked: 1. all textboxes should be cleared 2. combo box goes back to the “select a grade” item 3. do not forget to reset all global variable values to zero, so next student will be able to compute their gpa independent from previous calculations. e) please make sure you attach a copy of your code in a word document. good luck 2.0="F" ▪="" i="" attached="" a="" video="" that="" explains="" this="" process,="" and="" here="" is="" an="" example="" of="" the="" desired="" output:="" 4="" d)="" the="" clear="" button="" (20%)="" when="" the="" clear="" button="" is="" clicked:="" 1.="" all="" textboxes="" should="" be="" cleared="" 2.="" combo="" box="" goes="" back="" to="" the="" “select="" a="" grade”="" item="" 3.="" do="" not="" forget="" to="" reset="" all="" global="" variable="" values="" to="" zero,="" so="" next="" student="" will="" be="" able="" to="" compute="" their="" gpa="" independent="" from="" previous="" calculations.="" e)="" please="" make="" sure="" you="" attach="" a="" copy="" of="" your="" code="" in="" a="" word="" document.="" good="">
Mar 11, 2023
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here