Question: CMSY 1 5 6 - Final Project a . The program must keepate a list of strings that contains listed above b . The program

CMSY 156- Final Project
a. The program must keepate a list of strings that contains listed above
b. The program must aleses that start with the values close the file these are IP adis Once the entire is read, the program must close oneate the output report:
c. Once the entireate and call a function to create the of the file, the list of suspect IP
4. The program function must take the total number parameters
a. The funce and the output file handle as parameters
b. The function must create the output res screen shot exactly
the output report MUST match the file with the exact format as shown in the
c. The function must create the the output format must match the screen shot exactly screen shot below; again, contain the following:
d. The output report mber of records in the file
i. The number of suspect IP addresses (the number must be determined
ii. The number function)
iii. The percentage of IP addresses that are suspect (formatted to display to 3 decimal places)
iv. The list of suspect IP addresses sorted by the IP address (the code must I
a list function to perform this sort and string slicing to separate the IP address from the data and time stamp)
e. The function must close the output file once the output report is complete
f. NOTE - the file name prompts are NOT in the output file. Only the report information itself is in the output file.
code must display an end of program message
 CMSY 156- Final Project a. The program must keepate a list

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!