Computer Science 3
*********
*********
Due Date: January 26, 2024
Exam on IP address:

Click on this link to practice:

 

*********
*********
Due Date: February 26, 2024
Assignment:
-Copy fully functioning program to cyber range
-Run the python program.
-Drop it off into google classroom

use nano to create a python file.
example
nano PX_rockPaper_lastname.py

Be sure to create the following files:
PX_rockPaper_lastname.py (Actual python program)
PX_rockPaper_lastname.txt (Copy of python program (use google docs))
PX_rockPaper_lastname.png (Screen shot of program running)
PX_rockPaper_lastname.mp4 (Video of you running the program)
Be sure to drop these off into google classroom.

Source code:
from random import randint

#create a list of play options
t = ["Rock", "Paper", "Scissors"]

#assign a random play to the computer
computer = t[randint(0,2)]

#set player to False
player = False

while player == False:
#set player to True
    player = input("Rock, Paper, Scissors?")
    if player == computer:
        print("Tie!")
    elif player == "Rock":
        if computer == "Paper":
            print("You lose!", computer, "covers", player)
        else:
            print("You win!", player, "smashes", computer)
    elif player == "Paper":
        if computer == "Scissors":
            print("You lose!", computer, "cut", player)
        else:
            print("You win!", player, "covers", computer)
    elif player == "Scissors":
        if computer == "Rock":
            print("You lose...", computer, "smashes", player)
        else:
            print("You win!", player, "cut", computer)
    else:
        print("That's not a valid play. Check your spelling!")
    #player was set to True, but we want it to be False so the loop continues
    player = False
    computer = t[randint(0,2)]
	

*********
*********

Assignment instruction for above code:
-Copy and paste the code above into 
-Your cyber range / file PX_rockPaper_lastname.py

Click here to see watch a video on how to do this.
(www.cusack2.com)
Click here to see watch a video on how to do this.
(Youtube)

*********
*********

Assignment
-Using Linux and the python interpreter
  
Cyber Range Sign on ids and passwords (Period 1)
Click here and get your id and password.

Click here for your cyber range.
https://apps.cyber.org/login

If you have forgotten how to boot up your Kali Linux machine and run python.
Click here for full instructions.

*********
*********
Due Date: March 1, 2024
Assignment
-Watch this video on IPSec.
-Take a quiz on IPSec

What is IPSec?
Click here.
https://youtu.be/yMJ0Kzxwpko?si=vTsI67XZaxq_u8Il
8:41

Click on this link to practice: