This assignment you will be asked to make a program that somehow relates to UCF. This assignment must be completed with concepts and tools we learned in class. This is limited to text based program (running from the console), using Turtle graphics, or using pyGame. You can decide which you want to do.
Your program must include everything from the semester. The list includes:
1 Input (Using the input command or using keyboard/mouse listener in pygame.
2 Output (text, turtle, or something on the screen in pyGame)
3 Variables
4 If Statements
5 Loops (For or While)
6 Functions
7 Lists
8 Strings
Rubric
- 40 points - If program does not have a meaningful purpose. For example, you cannot just do all of the things. If you can say, "My program purpose is to do ___" and you don't say anything from the list above, this is correct. You also shouldn't say "to complete the assignment" either.
5 points - Has some sort of input
5 points - Has some sort of output
5 points - Uses variables in a meaningful way.
5 points - Uses if statements in a meaningful way.
10 points - Uses a loop(s) in a meaningful way.
10 points - Creates at least 2 functions to format code
10 points - Uses a list(s) to save data
5 points - Uses a string in a meaningful way.
5 points - Has a purpose related to UCF.
Sample Project
This project earns all points but the purpose to UCF. The program does have overall purpose so it will not get the negative penalty.
# Example 1 - Earns all point but related to UCF
# Function
def orderList(items):
for count in range(len(items)):
print((count+1),"-", items[count])
def menu():
print("Menu")
print("1. Order")
print("2. Print")
print("3. Done")
return int(input()) # Input
# First output + 5 ponts
print("Welcome to ordering software")
# Creates list
orders = []
# Creates variable
value = 0
# loop
while (value != 3):
value = menu()
# If Statement
if (value == 1):
# Takes in a string
orders.append(input("What would you like to order?"))
print("Added")
elif (value == 2):
orderList(orders)
elif (value == 3):
print("Good Bye")
else:
print("Invalid Input")