Open main menu

CDOT Wiki β

Changes

OPS435 Assignment 2 Summer

128 bytes added, 19:45, 10 July 2019
Suggested Script Development and Testing
</pre>
== Suggested Script Development and Testing workflow for this assignment ===== create your own user account on github ====== Algorithm design ===
The following python functions (to be created) are useful in handling the following sub-tasks:
* reads login records from files and filters out unwanted records
* create function which generates monthly usage reports by user and/or by remote host
To help you with this assignment, [[OPS435 A1 Usage Report Template|here is a template]] you can use as a starting point in designing your own Python Usage Report script.
=== Python script coding and debugging ===
For each function, identify what type of objects should be passed to the function, and what type of objects should be returned to the caller.
 
Once you have finished coding a function, you should start a Python3 interactive shell, import your functions and manually call the function you want to test under interactive mode and verify its correctness.
=== Final Test===
Once you have all the individual function tested and that each is working properly, perform the final test with test data provided by your professor and verify that your script produces the correct results before submitting your python program on Blackboard.
1,760
edits