Question: #7810

IT111 Unit 8 Complete Solution

Assignment Grading Rubric
Course: IT111 Unit: 08 Points: 40
Assignment: Unit 8


Outcomes addressed in this activity:
• Apply an if statement with a function to determine the action that should be taken.
• Apply a random number function in an application.
Course outcome practiced in this unit:
IT111-4: Recognize the programming constructs of functions.
Instructions:
Use the skater you created for the Unit 4 assignment. Add 2 cones to the ice that the skater will skate around
in a figure 8. See Exercise 6-2 Exercise 7 and 8 as an example. You will first check the skater’s position and
use that information in making the decision whether the skater should begin her turn. You will demonstrate
that you understand how to combine functions and if statements.
Requirements:
1. The skater from Unit 4 assignment is placed on a new pond with two cones.
2. Student uses a function to check the skater’s distance from the cones (any one of several functions might
be used here).
3. Student uses an if statement to determine when the skater is close enough to begin a half circle turn
around the cone.
4. When the condition of the if statement is true, the skater begins a half turn around the cone.
5. Final output of the code is that the skater completes a figure 8.
Copyright Kaplan University
Assignment Grading Rubric
Course: IT111 Unit: 08 Points: 40
Assignment grading rubric: 40 points
Project Requirements/Criterion
Points possible
Points earned by student
#1 The skater from Unit 4 assignment is placed on a new pond with two cones.
0-5
#2 Student uses a function to check the skater’s distance from the cones (any one of several functions might be used here).
0-10
#3 Student uses an if statement to determine when the skater is close enough to begin a half circle turn around the cone.
0-10
#4When the condition of the if statement is true, the skater begins a half turn around the cone.
0-10
#5 Skater completes a figure 8.
0-5
TOTAL
40

Solution: #7820

IT111 Unit 8 Complete Solution

The distance method is added to the skater to...
Tutormaster
Rating: A+ Purchased: 11 x Posted By: Vikas
Comments
Posted by: Vikas

Online Users