Computer Science 2
*********
*********
Due Date: September 16, 2024
Assignment
-Running Python in a Kali Linux environment
-Generate 4 simple shapes using turtle
-See image of output on the next line
-Click here and run the video of this program running.
Code for the program below:
Run the program
python3 PX_DrawShape_lastname.py
Your files to turn in:
- After you code and run your program you need to produce the follow artifacts.
PX_DrawShape_lastname.png (Screen Print of the python program in the Kali)
PX_DrawShape_lastname (Google Drive document)
PX_DrawShape_lastname.py (Actual python program)
PX_DrawShape_lastname.mp4 (Video of python program running)
Drop off your up to 3 files into google classroom.
*********
*********
Due Date: September 12, 2024
Assignment
-Running Python in a Kali Linux environment
-Generate the fibonacci Sequence
Code the program below:
Run the program
python3 P7_fibonacci_lastname.py
Your files to turn in:
- After you code and run your program you need to produce the follow artifacts.
P7_fibonacci_lastname.png (Screen Print of the python program)
P7_fibonacci_lastname.py (Actual python program)
P7_fibonacci_lastname.mp4 (Video of python program running)
Drop off your up to 3 files into google classroom.
*********
*********
Due Date: September 12, 2024
Assignment
-Running Python in a Kali Linux environment
Notes:
To edit and run a python program in Linux
Sample:
nano test.py
-Type print("Lastname");
close nano
Run the python program.
Python3 test.py
Show Mr. Cusack
See code below:
Your file name will be P7_GuessNum_lastname.py
see code below: (a couple of syntax error are in the program.)
control-D to exit python
Use nano P7_GuessNum_lastname.py
Type the code.
Close nano.
Run the program
python3 P7_GuessNum_lastname.py
Your files to turn in:
- After you code your program you need to produce the follow artifacts.
P7_GuessNum_lastname.png (Screen Print of the python program)
P7_GuessNum_lastname.py (Actual python program)
P7_GuessNum_lastname.mp4 (Video of python program running)
Drop off your 3 files into google classroom.
*********
*********
Due Date: September 10, 2023
Mr. Cusack will lecture on this.
See Cyber Range Resources at the bottom.
Notes:
sudo apt install python3-pip
python3 --version
python3
control-D to exit python
Use nano to build a python program with the commands above.
The name of the file will be P7_lastname_Basics.py
(Be sure to save a copy of you python program in google drive under your class directory)
nano P7_lastname_Basic.py
To run the program:
python3 P7_lastname_Basic.py
You will need to drop off the following files off into google classroom.
P7_lastname_Basic.py - Python program
P7_lastname_Basic.png - Screen pring of the Python program
P7_lastname_Basic.mp4 - Video recording of you runing the python python.
*********
*********
*********
*********
*********
Resources you may need (Below)
*********
*********
*********
*********
*********