Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

For this project, you’ll develop an application to read incidents and dis. The d

ID: 3631886 • Letter: F

Question

 

 

 

 

For this project, you’ll develop an application to read incidents and dis.

The design of the Incidents by Technician form

Operation

When this application starts, all the closed incidents are listed by technician in a ListView control.

Users can export the closed incidents report to a XML file

Specifications

Add the following classes to the project:

 

The class Technician is a subclass of the class Person. The GetTechnicians method is a shared method in the TechnicianDB class returning a List(Of Technician) object, and the GetIncidents method is a shared method in the IncidentDB class which returns a List(Of Incident) object. Both the incident object and the technician objects should be loaded from the text files named Technicians.txt and Incidents.txt .

The format of Technicians.txt is <tech ID>| <Tech Name>

The format of Incidents.txt is <IncidentID>|<CustomerID>|<ProductCode>|<TechID>|<DateOpened>|<Dateclosed>|<title>|<Description>

Include the text files in the project

Use LINQ to define a query expression that will return the fields required by this application from the List() objects. Only the closed incidents should be returned, and those incidents should be sorted by the date opened within the technician name.

Include the technician name only for the first incident for each technician.


technician

11|Alison Diaz
12|Jason Lee
13|Andrew Wilson
14|Gunter Wendt
15|Gina Fiori

 

incidents

27|1010|LEAG10    |14|6/5/2007|6/6/2007|Could not install|Media appears to be bad.
28|1117|TRNY20    |11|6/14/2007|6/15/2007|Error importing data|Received error message 415 while trying to import data from previous version.
29|1116|DRAFT10   |13|6/20/2007|6/22/2007|Could not install|Setup failed with code 104.
30|1010|TEAM10    |14|6/21/2007|6/22/2007|Error launching program|Program fails with error code 510, unable to open database.
31|1010|TRNY20    |14|6/21/2007|6/25/2007|Unable to activate product|Customer's product activation key does not work.
32|1056|TRNY20    |12|6/25/2007|6/28/2007|Product activation error|Customer could not activate product because of an invalid product activation code.
34|1018|DRAFT10   |13|7/2/2007|7/3/2007|Error launching program|Program fails with error code 340: Database exceeds size limit.
36|1065|LEAG10    |14|7/5/2007|7/7/2007|Error adding data|Received error message 201 when trying to add records: database must be reorganized.
42|1097|TRNY20    |11|7/9/2007|7/11/2007|Unable to import data|Import command not available for importing data from previous version.
44|1063|LEAG10    |13|7/9/2007|7/10/2007|Installation error|Error during installation: cmd.exe not found.
45|1089|LEAGD10   |12|7/9/2007|7/13/2007|Problem upgrading from League Scheduler 1.0|Program fails with error 303 when trying to install upgrade.
46|1016|TEAM10    |14|7/9/2007|7/12/2007|Unable to restore data from backup|Error 405 encountered while restoring backup: File not found.
47|1034|DRAFT10   |13|7/9/2007||Can't activate product|Product activation code invalid.
48|1049|TRNY20    |11|7/9/2007||Unable to print brackets|Program doesn't recognize printer.
49|1083|LEAGD10   |14|7/10/2007||Can't start application|Error 521 on startup: database must be reorganized.
50|1116|DRAFT10   ||7/10/2007||Error during data file backup|Program abends with error 228 during database backup
51|1067|LEAGD10   |12|7/10/2007||Error when adding new records|Received error 340: database exceeds size limit.
52|1066|TEAM10    ||7/11/2007||Installation problem|Customer states that the setup program failed with code 203 during configuration.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

For this project, you?ll develop an application to read incidents and dis. The design of the Incidents by Technician form Operation When this application starts, all the closed incidents are listed by technician in a ListView control. Users can export the closed incidents report to a XML file Specifications Add the following classes to the project: The class Technician is a subclass of the class Person. The GetTechnicians method is a shared method in the TechnicianDB class returning a List(Of Technician) object, and the GetIncidents method is a shared method in the IncidentDB class which returns a List(Of Incident) object. Both the incident object and the technician objects should be loaded from the text files named Technicians.txt and Incidents.txt . The format of Technicians.txt is | The format of Incidents.txt is ||||||| Include the text files in the project Use LINQ to define a query expression that will return the fields required by this application from the List() objects. Only the closed incidents should be returned, and those incidents should be sorted by the date opened within the technician name. Include the technician name only for the first incident for each technician. technician 11|Alison Diaz 12|Jason Lee 13|Andrew Wilson 14|Gunter Wendt 15|Gina Fiori incidents 27|1010|LEAG10 |14|6/5/2007|6/6/2007|Could not install|Media appears to be bad. 28|1117|TRNY20 |11|6/14/2007|6/15/2007|Error importing data|Received error message 415 while trying to import data from previous version. 29|1116|DRAFT10 |13|6/20/2007|6/22/2007|Could not install|Setup failed with code 104. 30|1010|TEAM10 |14|6/21/2007|6/22/2007|Error launching program|Program fails with error code 510, unable to open database. 31|1010|TRNY20 |14|6/21/2007|6/25/2007|Unable to activate product|Customer's product activation key does not work. 32|1056|TRNY20 |12|6/25/2007|6/28/2007|Product activation error|Customer could not activate product because of an invalid product activation code. 34|1018|DRAFT10 |13|7/2/2007|7/3/2007|Error launching program|Program fails with error code 340: Database exceeds size limit. 36|1065|LEAG10 |14|7/5/2007|7/7/2007|Error adding data|Received error message 201 when trying to add records: database must be reorganized. 42|1097|TRNY20 |11|7/9/2007|7/11/2007|Unable to import data|Import command not available for importing data from previous version. 44|1063|LEAG10 |13|7/9/2007|7/10/2007|Installation error|Error during installation: cmd.exe not found. 45|1089|LEAGD10 |12|7/9/2007|7/13/2007|Problem upgrading from League Scheduler 1.0|Program fails with error 303 when trying to install upgrade. 46|1016|TEAM10 |14|7/9/2007|7/12/2007|Unable to restore data from backup|Error 405 encountered while restoring backup: File not found. 47|1034|DRAFT10 |13|7/9/2007||Can't activate product|Product activation code invalid. 48|1049|TRNY20 |11|7/9/2007||Unable to print brackets|Program doesn't recognize printer. 49|1083|LEAGD10 |14|7/10/2007||Can't start application|Error 521 on startup: database must be reorganized. 50|1116|DRAFT10 ||7/10/2007||Error during data file backup|Program abends with error 228 during database backup 51|1067|LEAGD10 |12|7/10/2007||Error when adding new records|Received error 340: database exceeds size limit. 52|1066|TEAM10 ||7/11/2007||Installation problem|Customer states that the setup program failed with code 203 during configuration.

Explanation / Answer

/* prime2.C only worked for primes less than 10. An undetected overflow caused the program to give bogus answers. We must fix that by computing a^b % n without actually calculating a^b. The idea is to use the following property: (a * b) % n = ((a % n) * (b % n)) % n */ #include #include #include int fermatTest (int n) { int a, result, i; a = rand() % n; cout
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote