Any topic (writer’s choice)
July 1, 2020
RE: Chindogu
July 1, 2020
Show all

C# Assignment

Overall Requirements: A. If you are going to use more than one line of code to do something.  It needs to be a method. B. Nothing should show an error when it is clicked unless it is a planned error. Specific Requirements: 1. The Load Key Button will (A,B,&C should be Methods): A. Open the file containing the key (Or tell me that the load cancelled with a popup) B. Read that file into an array (20 characters long). C. Close the File. D. Change the label to tell me that a key has loaded (Or tell me that the read failed with a popup). 2. The Grade Exam Button will (A,B,C,&E should be Methods, A&C should be the SAME methods as in step 1): A. Open the file containing the answer sheet (Or tell me that the load cancelled with a popup). B. Read the file into an array (20 characters long). C. Close the file. D. Compare the answer array to the key array. (See 3) E. Assign a letter grade. (See 4) 3. The method for D in Step 2 will: A. Tell me if both arrays are equal length. B. Tell me every question that is wrong, what the correct answer was, and what the given answer was. C. Give a final grade report with the percentage score. 4. The method for E in 2 will: A. Pop up the letter grade received based on the percentage calculated in #3 above. 5. Exit and Clear as methods. 6.
A. And finally.  I want to be able to click a line on a listbox and have it show me the entirety of the line as a messagebox.

Leave a Reply

Your email address will not be published. Required fields are marked *