Week 5

Additional Practice

Welcome to week 5 of Intro to Code. Note that we will be using this week to review any of the fundamentals in more detail through a series of fun exercises. Along with that we will present Demo Day projects you can select from and work towards starting on your Demo Day Project!

The agenda for today is:

  • Review the fundamentals of code
  • Draw Chess Board and/or Magic Eight Ball
  • Introduce Demo Day Projects
  • Extended Learning Opportunities

Below are the slides to reference for today’s class:

Review of Fundamentals of Code

Congratulations, you have learned everything there is to know about the basics of code. Be proud that you are now familiar with functions, for loops, if statements, conditionals, variables, and while loops. These fundamentals of code will carry you further along in your coding career. Below is a summary of what each fundamental of code does:

  1. Functions – Allows you to directly communicate to the computer to do some task.
  2. For Loops – Allows you to repeat a call to function(s) multiple times.
  3. If Statements – Will execute a function only if a certain condition is true.
  4. Conditional – True or False statement used for if statements and while loops
  5. Variables – store either numeric or string information.
  6. While Loops – Allows you to execute function(s) continuously until a certain condition is reached.

Draw Chess Board and/or Magic Eight Ball

To practice your skills above, its just a matter of doing more and more practice everyday. Please take the time to do either (or both) Draw Chess Board or Magic Eight Ball in your Repl.it Classroom. The visualizations are below for reference.

Introduce Demo Day Projects

As we head into the last two weeks of our class, we will prepare you to develop your own project of your choosing in Repl.it. In the event that you don’t have an idea of what you want to build, we offer 2 custom projects in Intro to Code:

  • Tic-Tac-Toe
  • Build a Calculator

Both of these projects allow you practice the fundamentals of code in meaningful ways.

Extended Learning Opportunities

As we have covered most of the content for Intro to Code, please feel free to navigate to these other parts of the legacy version of Intro to Code. We have more graphics fun with processing along with other Reeborg challenges you can engage with!