A third attempt is not allowed. Do your best to complete this test as accurately as possible.
Note that the maximum attainable score for this retake test is 70% (210/300).
If you passed the first (Theater) test, successfully completing this test will earn 10 extra credit points.
Scroll to the bottom of this assignment to download a starting point for the test.
This test is "open book", meaning you can use any resources other than classmates as an aid to completing the test.
This test is based off of the work completed as part of the assignments from Learning Plans 1 through 3.
To increase your chances of successfully completing the test, complete each of the sections of the test before moving on to the next, as subsequent steps build upon the work completed in earlier steps.
Use the debugger to confirm that your results are as expected.
3.1 School Test: Class Diagram
Implement the changes specified in the following UML class diagram.
When creating classes be sure to:
Ensure the class in the root namespace. This can be done in one of two ways. Either by adding the class in the project, i.e. scenario, or by adding the class to the business classes folder and removing the ".Business_Classes" designation from the namespace.
Open the main window (MainWindow.xaml) in designer mode (right-click and click "View Designer" or press Shift-F7 to go to designer mode).
3.1 School Test: Object Diagram
Instantiate the objects and set their field values as specified in the following UML object diagram.
3.1 School Test: Final Steps
Button details:
Write code in the "3.1 Find Luke's GPA" button to find the grade-point average of Luke and store it in a local variable.
Write code in the "3.1 Find Merrill's popularity" button to find the popularity of Merrill and store it in a local variable.
Write code in the "3.1 Calculate average teacher salary" button to find the average salary of all teachers and store it in a corresponding field of the school.
Test script:
Click the "3.1 New store" button.
Click the "3.1 Find Luke's GPA" button.
Use the debugger to ensure the GPA was returned correctly to a local variable.
Click the "3.1 Find Merrill's popularity" button.
Use the debugger to ensure the popularity was returned correctly to a local variable.
Click the "3.1 Calculate average teacher salary" button.
Use the debugger to ensure the average salary was set correctly on the school object.
Starting Zip File
Unzip the Test 1-Retake zip file, rename both the folder and the solution file to contain your last name, and use it as the starting point for your test.
Test Rubric
Test, Complete and Submit
Build your program - Eliminate compiler errors and warnings
Debug/Test your program - Set breakpoints, step through code, monitor values
Make your code StyleCop-compliant
Close your Visual Studio solution.
Compress your Visual Studio solution to a zip file.