5 - Programming 20/21 1345-1445-T1P5 - 20/21 Assignments
- Instructors
- Term
- Tri I 2020-2021
- Department
- Technology
- Description
-
Upcoming Assignments
No upcoming assignments.
Past Assignments
Due:
Your math teacher gives you a worksheet with 30 problems to solve. You start out with a newly sharpened pencil, but everytime you solve 6 problems, you need to sharpen it. Write a code using the following commands to describe the process of completing your math homework.
solveProblem()
sharpenPencil()
solveProblem()
sharpenPencil()
Due:
You have basketball practice every Wednesday and your coach always makes you run the same drill where you have to wait in line, dribble 10 times, shoot a layup, catch your rebound, bounce the ball to your teammate, and get back in line. You have to run this whole drill 15 times. Write a code to describe this basketball drill using the following commands.
waitInLine()
dribble()
shootLayup()
catchRebound()
ballToTeammate()
waitInLine()
dribble()
shootLayup()
catchRebound()
ballToTeammate()
Due:
When your mom makes you a peanut butter and jelly for lunch, you have to chew at least 5 times before you can swallow each bite. It takes you 25 bites to eat your sandwich. Write a code that describes eating your lunch using the following commands.
takeBite()
chew()
takeBite()
chew()
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
What would be the output of the following code? for i in range(3): print ("hi") print ("hello") A. hi hi hi hello B. hi hello hi hello hi hello C. hihihi hellohellohello D. hi hello
Due:
Your school is a mile away. That means it takes you (roughly) 5,280 total steps to get there. Write a code using the following commands to describe your walk to school.
stepWithRightFoot()
stepWithLeftFoot()
stepWithRightFoot()
stepWithLeftFoot()
Due:
On a normal week, school is in session for 5 out of 7 days. If you could only use the following two commands, write a code to describe your morning schedule during a 7-day week in the shortest possible way, starting on Monday.
wakeUpForSchool()
sleepIn()
wakeUpForSchool()
sleepIn()
Due:
Selection A.
# Program checks if the number is positive or negative
# And displays an appropriate message
num = int(input("Choose a from -5 to 5: "))
if num >= 0:
else:
print("Positive or Zero")
print("Negative number")
=====================================================
Selection B.
# Program checks if the number is positive or negative
# And displays an appropriate message
num = int(input("Choose a from -5 to 5: "))
if num >= 0
print("Positive or Zero")
else
print("Negative number")
=====================================================
Selection C.
if num >= 0:
print("Positive or Zero")
else:
print("Negative number")
num = int(input("Choose a from -5 to 5: "))
# Program checks if the number is positive or negative
# And displays an appropriate message
=====================================================
Selection D.
# Program checks if the number is positive or negative
# And displays an appropriate message
num = int(input("Choose a from -5 to 5: "))
if num >= 0:
print("Positive or Zero")
else:
print("Negative number")
# Program checks if the number is positive or negative
# And displays an appropriate message
num = int(input("Choose a from -5 to 5: "))
if num >= 0:
else:
print("Positive or Zero")
print("Negative number")
=====================================================
Selection B.
# Program checks if the number is positive or negative
# And displays an appropriate message
num = int(input("Choose a from -5 to 5: "))
if num >= 0
print("Positive or Zero")
else
print("Negative number")
=====================================================
Selection C.
if num >= 0:
print("Positive or Zero")
else:
print("Negative number")
num = int(input("Choose a from -5 to 5: "))
# Program checks if the number is positive or negative
# And displays an appropriate message
=====================================================
Selection D.
# Program checks if the number is positive or negative
# And displays an appropriate message
num = int(input("Choose a from -5 to 5: "))
if num >= 0:
print("Positive or Zero")
else:
print("Negative number")
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Which is the correct way to create a variable for the first instance in Python?
Select the correct answer.
Select the correct answer.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Understand that GC won't allow two lines per answer so imaginee there are two lines.
player = input (‘Enter your name: ')
print((player),(’ vs ‘),(’Computer = ‘))
player = input (‘Enter your name: ')
print((player),(’ vs ‘),(’Computer = ‘))
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Create 2 games using the instructions attached - make them your own. The more creativity and parts used a whole for your individual game will be worth more points.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Complete the following sequence: "name-cards". Complete the exercise in mBlock. Save the exercise as an mBlock file named: Last name_First name_name. Turn it in along with a document describing each of your blocks.
Due:
Take what you've learned in the week's projects (events: "jump" and "glide" AND sequence: "name-cards") and combine them into one project. Save the project as an mBlock file named: Last name_First name_wk2. Turn it in along with a document describing each of your blocks.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
1. Read en2-Sequence.pdf
2. Follow along with 2-Sequencing.pdf
3. Explain a sequence and give mBlock examples.
4. Give the sequence of making a peanut butter and jelly sandwich.
2. Follow along with 2-Sequencing.pdf
3. Explain a sequence and give mBlock examples.
4. Give the sequence of making a peanut butter and jelly sandwich.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Complete the following events: "jump" and "glide". Complete the exercise in mBlock. Save the exercises as an mBlock file named: Last name_First name_jump and Last name_First name_glide. Turn them in along with a document describing each of your blocks.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
1. Read en1-Event.pdf
2. Follow along with 1-Event-1.pdf.
3. Finish up and explain a coding event and give mBlock examples.
2. Follow along with 1-Event-1.pdf.
3. Finish up and explain a coding event and give mBlock examples.
Due:
Please answer the attached question. These questions will change every day. They are to help you think outside of the "box" and help you with thinking differently for coding.
Due:
"Forwards I am heavy, I sure weigh a lot. But when I'm backwards, I certainly am not.
What am I?"
What am I?"
Due:
Read all the content on the attached website and complete the form on the "Expectations" page. This will be your first "project" grade (worth 70% of your grade for the week).
By completing this form you (the student) and your guardian (parent/guardian) have read the syllabus for the class.
By completing this form you (the student) and your guardian (parent/guardian) have read the syllabus for the class.
Due:
Your sock drawer contains 24 white socks and 30 black socks. The lights in your room are off, so you cannot see the color of the socks. How many socks must you grab to ensure to have at least one matching pair?