BIS260 Midterm Test Spring 2023Please read this page before you start working on the test.Important Note:This is an open book and take-home test. However, you...
















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.






















1




























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






















  1. B)




    Data Validation (15%):
    The program must check when clicking on the Add Course button that:










    o




    Thecoursetextboxcannotbeempty






    o




    Thevalueforcreditsshouldbeapositivenumber




    o




    Agrademustbeselectedfromthecombobox










    Any bad data must result in an error message.
















  2. 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 2


































  1. Clears the course and credits textboxes, and brings the combo box back to







    Select a Grade



















  2. 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






















  3. 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="">















    I attached a video that explains this process, and here is an example of the desired output:




























3


































  1. 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.






















  2. E) Please make sure you attach a copy of your code in a word document.










    Good Luck




























4











Mar 13, 2023
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here