Open main menu

CDOT Wiki β

Changes

OPS435 Python Assignment 2

204 bytes added, 10:59, 14 March 2019
Tasks for this assignment
== Tasks for this assignment ==
In this assignment, your task is to should preform the following activities:# work Work out an algorithm for producing daily, weekly, and monthly usage reports by user or by remote host based on the information obtained from the 'last' command or any given files which contain similar information as the 'last' command. # Once you believe you have a workable algorithm, you should then identify <b>design the structure of your python script</b> by identifying the appropriate python objects and functions to be used for each task in your algorithmand the main control logic. Make sure to identify all the input data,computation tasks, and outputs.# implement your computational solution using a single python script. You can use any built-in functions and functions from the allowed python modules in to implement your scriptsolution.# review your working python code to see whether you can improve the interface of each function and to facilitate better code re-use (this process is called <b>refactoring</b>).
== Allowed Python Modules for this assignment ==
1,760
edits