Open main menu

CDOT Wiki β

Changes

OPS445 Online Lab2

338 bytes added, 15:44, 20 January 2023
wget addr switched to github
= INVESTIGATION 1: USER INPUT =
<blockquote style="margin-left:35px;">{{Admon/note|style="padding-left:25px"|NOTE|If your professor is asking you to submit labs on GitHub, first follow their instructions on Blackboard to clone the lab2 repository.}}</blockquote>
== PART 1 - Prompt the user for input data ==
cd ~/ops445/lab2/
pwd #confirm that you are in the right directory
ls CheckLab2.py || wget 'https://ictgithub.senecacollege.cacom/~eric.brauersenecaops445/ops445lab2-template/labsblob/LabCheckScriptsmaster/CheckLab2.py?raw=true' -O CheckLab2.py
python3 ./CheckLab2.py -f -v lab2a
</source>
cd ~/ops445/lab2/
pwd #confirm that you are in the right directory
ls CheckLab2.py || wget 'https://ictgithub.senecacollege.cacom/~eric.brauersenecaops445/ops445lab2-template/labsblob/LabCheckScriptsmaster/CheckLab2.py?raw=true' -O CheckLab2.py
python3 ./CheckLab2.py -f -v lab2b
</source>
cd ~/ops445/lab2/
pwd #confirm that you are in the right directory
ls CheckLab2.py || wget 'https://ictgithub.senecacollege.cacom/~eric.brauersenecaops445/ops445lab2-template/labsblob/LabCheckScriptsmaster/CheckLab2.py?raw=true' -O CheckLab2.py
python3 ./CheckLab2.py -f -v lab2c
</source>
cd ~/ops445/lab2/
pwd #confirm that you are in the right directory
ls CheckLab2.py || wget 'https://ictgithub.senecacollege.cacom/~eric.brauersenecaops445/ops445lab2-template/labsblob/LabCheckScriptsmaster/CheckLab2.py?raw=true' -O CheckLab2.py
python3 ./CheckLab2.py -f -v lab2d
</source>
cd ~/ops445/lab2/
pwd #confirm that you are in the right directory
ls CheckLab2.py || wget 'https://ictgithub.senecacollege.cacom/~eric.brauersenecaops445/ops445lab2-template/labsblob/LabCheckScriptsmaster/CheckLab2.py?raw=true' -O CheckLab2.py
python3 ./CheckLab2.py -f -v lab2e
</source>
cd ~/ops445/lab2/
pwd #confirm that you are in the right directory
ls CheckLab2.py || wget 'https://ictgithub.senecacollege.cacom/~eric.brauersenecaops445/ops445lab2-template/labsblob/LabCheckScriptsmaster/CheckLab2.py?raw=true' -O CheckLab2.py
python3 ./CheckLab2.py -f -v lab2f
</source>
cd ~/ops445/lab2/
pwd #confirm that you are in the right directory
ls CheckLab2.py || wget 'https://ictgithub.senecacollege.cacom/~eric.brauersenecaops445/ops445lab2-template/labsblob/LabCheckScriptsmaster/CheckLab2.py?raw=true' -O CheckLab2.py
python3 ./CheckLab2.py -f -v lab2g
</source>
= LAB 2 SIGN-OFF (Completing the lab) =
:'''Run the CheckLab2.py script and capture the result'''
<source>python3 ./CheckLab2.py -f -v &> lab2_[seneca_id]lab2_yoursenecaid.txt</source>
: Submit the following files individually to Blackboard:
::<span style="color:green;font-size:1.5em;">&#x2713;</span> <code>lab2_[seneca_id]lab2_yoursenecaid.txt</code>
::<span style="color:green;font-size:1.5em;">&#x2713;</span> <code>lab2a.py, lab2b.py lab2c.py, lab2d.py, lab2e.py, lab2f.py, and lab2g.py</code>