Due Date: February 27, 2024
Big Idea 3
ALGORITHMS AND PROGRAMMING
3.6 Conditionals
3.7 Nested Conditionals
3.8 Iteration
3.9 Developing Algorithms
3.10 Lists
Purpose: Gain an understanding of "AP Principles 3.6 3.7 3.8 3.9 3.10 MCQ"
-Build your Grading sheet.
-Follow the instruction found on the Grading sheet.
-Once build, e-mail only the LINK to Mr. Cusack.
-jcusack1@kleinisd.net
Lastname - AP Principles 3.6 3.7 3.8 3.9 3.10 MCQ - Grading Sheet
Instructions:
-Duplicate the google document below.
-Insert your last name in front of "AP Principles AP Principles 3.6 3.7 3.8 3.9 3.10 MCQ - Grading Sheet" - Grade Sheet
Insert a standard heading.
-Review Sample:
-Click on the site tab at the top.
-Select "Standard Heading"
Configure the google document below.
-duplicate the google document
-You will find signature boxes.
-Pick the table that is associated with your team.
-Delete all other tables.
-Email me the link for this google document.
I will print it.
Click here to access the google document.
Due Date: February 26, 2024
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)]
Due Date: February 27, 2024
Big Idea 3
ALGORITHMS AND PROGRAMMING
3.11 Binary Search
3.12 Calling Procedures
3.13 Developing Procecudures
3.14 Libraries
3.15 Random Values
Purpose: Gain an understanding of "AP Principles 3.11 3.12 3.13 3.14 3.15 MCQ"
-Build your Grading sheet.
-Follow the instruction found on the Grading sheet.
-Once build, e-mail only the LINK to Mr. Cusack.
-jcusack1@kleinisd.net
Lastname - AP Principles 3.11 3.12 3.13 3.14 3.15 MCQ - Grading Sheet
Instructions:
-Duplicate the google document below.
-Insert your last name in front of "AP Principles 3.11 3.12 3.13 3.14 3.15 MCQ - Grading Sheet" - Grade Sheet
Insert a standard heading.
-Review Sample:
-Click on the site tab at the top.
-Select "Standard Heading"
Configure the google document below.
-duplicate the google document
-You will find signature boxes.
-Pick the table that is associated with your team.
-Delete all other tables.
-Email me the link for this google document.
I will print it.
Click here to access the google document.