Open main menu

CDOT Wiki β

Changes

OPS435 Assignment 2 Summer

45 bytes removed, 12:37, 19 July 2019
Overview
[[Category:OPS435-Python]][[Category:rchan]]
'''<font color="red">DRAFT</font>
=Assignment 2 - Usage Report=
'''Weight:''' 15% of the overall grade
$ cat usage_data_file
rchan pts/9 10.40.91.236 Tue Feb 13 16:53:42 2018 - Tue Feb 13 16:57:02 2018 (00:03)
cwsmith pts/10 10.40.105.130 Web Wed Feb 14 23:09:12 2018 - Thu Feb 15 02:11:23 2018 (03:02)
rchan pts/2 10.40.91.236 Tue Feb 13 16:22:00 2018 - Tue Feb 13 16:45:00 2018 (00:23)
rchan pts/5 10.40.91.236 Tue Feb 15 16:22:00 2018 - Tue Feb 15 16:55:00 2018 (00:33)
==============================
Month Usage in Seconds
2018 02 15803560Total 15803560
</pre>
* output the required report based on the processed data
==== identify and select appropriate python objects and functions ====
The following python functions (to be created, you may have more) are useful in handling the following sub-tasks:
* reads login records from files and filters out unwanted records
* convert login records into proper python object type so that it can be processed using as much built-in functions as possible
== Sample login/logout records file and sample test run results==
* [https://scswill be posted to the sample repository github.senecac.on.cacom/~raymond.chanrayfreeping/ops435/-a2/ Sample test data files and sample test run results]
== Rubric ==
1,760
edits