Assignment 3

This assignment will enable you to continue learning the Swift coding language using Swift Playgrounds. You will complete the lessons in the app and then have the opportunity to choose a different robot to code and complete a task to demonstrate your understanding of the concepts.

Objective: Students will be able to code a robot of their choice using swift code on the Swift Playgrounds app that demonstrates their understanding of conditional code. Students will also be able to describe how they used these elements in their code and the process they took to complete the assignment.

Timeline:

  • Learn to code - 1 Week (week 6)
  • Project - 1 week (week 7)

Flow for class:

  1. On your own, watch the videos above about conditional coding.

All done watching the videos? Move to #2.

2. Individually on your own iPad but also working with your group, complete the entire Conditional Code section. When finished with all lessons, send screenshot in the Google Classroom assignment assigned to you. Finished everything in #2? Move to #3.

3. You and your group need to choose a robot to use to complete this assignment (remember - it must be different than the first robot you chose, except 8th grade you can chose the same robot if you want). Let me know what robot you will be using. Have your robot chosen and have told Mr. McCann? Move to #4.

4. Once your group has decided on the robot you want to use, complete the robot specific Swift Playgrounds lessons on ONE iPad only. You will need to connect to the robot via bluetooth and connecting with multiple iPads is not possible. When finished with all lessons, send screenshot in the Google Classroom assignment assigned to you.

Click on the links below for robot specific help and instructions.

We are using a Mambo Drone

We are using a Lego Mindstorms

We are using a Sphero

We are using a MeeBot

We are using Dash

Finished? Move to #5.


5. Complete Assignment 3.


Project:

You and your group are tasked with coding your robot to demonstrate your understanding of conditional code. You have free reign as to what robot you want to use (you are only allowed to use each type of robot one time during the rotation) and what you want your robot to do for this assignment, but you need to have at least 2 instances of conditional code. You may include more if you choose to go for a 4 or 5. Remember, to go for a 4 you need multiple examples of the concepts and the code also needs to be the shortest code possible. For a 5 you must include the requirements for the 4 but also need to construct something that your robot uses in the code you write. If you and your group want to go for the 5, please conference with the teacher so you are able to obtain the building materials you will need.

Once you have completed your code, create the Google Slides presentation that was sent to you and include slides that have the following things:


Slide 1: Name and title of assignment

Slide 2: A screenshot of your code

Slide 3: An explanation of how you created the code, how you sequenced, used loops and how you debugged your code.

Slide 4: A video of your robot completing your code.

Slide 5: Reflection - What obstacles did you face during this assignment? How did you persevere?

Rubrics
Computer Coding Project Rubrics

Finished Early?!?!

Practice your coding vocabulary: