Coding with Mrs. K!!
Where will it take you??
Welcome to Computer Science Class!
We will be working through Code.org's Elementary Course 2 to learn some fundamentals of Computer Science. Lessons will consist of both Unplugged and Plugged in activities! By the end of this course, you will be able to code simple programs using Blockly script. You will also learn the following foundational concepts in Computer Science:
- Loops
- Conditionals
- Algorithms
- Binary code
- Debugging
- Societal impacts of computing
All lessons in this course meet the Texas Math Process Standards:
- 1. Use math efficiently and effectively in daily life.
- 2. Apply math to problems arising in everyday life, society, and the workplace.
- 3. Use a problem-solving model that incorporates ANALYZING GIVEN INFORMATION, FORMULATING A PLAN OR STRATEGY, determining a solution, justifying the solutions, and evaluating the problem-solving process and reasonableness of the solution.
- 4. Select tools such as real objects, manipulatives, ALGORITHMS, paper and pencil, and technology and techniques such as mental math, estimation, number sense, GENERALIZATION AND ABSTRACTION to solve problems.
- 5. Communicate math ideas, reasoning, and their implications using representations such as symbols, diagrams, graphs, COMPUTER PROGRAMS, and language.
- 6. Use math relationships to connect and communicate math ideas.
- 7. Display, explain, or justify math ideas and arguments using precise math language in written or oral communication.
state/national Standards Taught In this course:
ISTE Standards (formerly NETS):
- 1.b - Create original works as a means of personal or group expression.
- 1.c - Use models and simulation to explore complex systems and issues.
- 2.d - Contribute to project teams to solve problems.
- 4.b - Plan and manage activities to develop a solution or complete a project.
- 4.d - Use multiple processes and diverse perspectives to explore alternative solutions.
TEKS Math Standards:
- 5.3 (a)Estimate to determine solutions to mathematical and real-world problems involving addition, subtraction, multiplication, or division
- 5.3 (k) Add and subtract positive rational numbers fluently.
5.4(b) Algebraic reasoning. Apply math process standards to develop concepts of expressions and equations.
5.4 (h) Represent and solve problems related to perimeter and/or area and related to volume
Think About it:
What do you want to be when you grow up?
Your job may not even be created yet!!
What Most Schools Don't Teach
Lesson 1: Graph Paper Programming
Unplugged - Graph Paper Programming
If we are going to be programmers... we have to talk the talk!
Look at this Algorithm
Ok...that's easy... What about this?
Isn't there a simpler way?
We can take our algorithm piece and use these arrow symbols as a program "code" to guide our partner's Automatic Realization Machine (ARM) to make our drawing.
The program looks like this:
Now Try this on your own
How'd you do?
Challenge:
With a partner:
- Choose a drawing to program
- Discuss the algorithm needed to draw that image with a partner
- Convert the algorithm into a program using symbols
- Trade programs with another pair and draw one another's image
- Trade and do it again!
Let's See what you know!
Graph Paper Programming Assessment
Let's get plugged in!
Taylor Creek Coding Class
- Scan the QR Code
- Find Your Name
- Enter Your Secret Words
Kline Whitis Coding Class
- Scan the QR Code
- Find Your Name
- Enter Your Secret Words
Lesson 2: Sequences
Hour of Code - Introduction
Lesson 3: Getting Loopy!
Unplugged - Getting Loopy
talk the talk!
Dance Party Time:
Follow the Iteration...
- Do you find any "loops" in the instruction?
- Is there a more efficient way we can write this?
Ready, Set... Let's Get loopy!!
WALK THE MOON - Shut Up and Dance (Audio)
Lesson 4: More About Loops
Hour of Code - Mark Zuckerburg teaches Repeat Loops
Today you will work through 3 stages:
- Stage 6 : Maze Loops
- Stage 7: Artist Loops
Loops with the Artist in Course 2
Hint with Angles:
- Stage 8: Bee Loops
Course 2 - Loops with the Bee
Lesson 5: Relay Programming
Talk the Talk
Unplugged Activity - Relay Programming
The rules of this game are simple:
- You will be in groups of 3-5.
- Each group will have an identical image at the other side of the room.
- The first student in line will dash over to the image, review it, and write down the first symbol in the program to reproduce that image.
- The next person in line dashes to the image, reviews the image, reviews the program that has already been written, then either debugs the program by crossing out an incorrect symbol, or adds a new one.
- First group to finish is the winner!
Flash Chat:
- What if we were each able to do five arrows at a time?
- How important would it be to debug our own work and the work of the programmer before us?
- How about with 10 arrows?
- 10,000? Would it be more or less important?
- Is it easier or harder to have multiple people working on the same program?
- Do you think people make more or fewer mistakes when they're in a hurry?
- If you find a mistake, do you have to throw out the entire program and start over?
Lesson 6: Debugging
Today we will work through these stages:
- Stage 10 ~ Bee Debugging
Course 2 - Debugging with the Bee
- Stage 11: Debugging with the Artist
Debugging with the Artist in Code Studio
Lesson 7: Conditionals with Cards
Unplugged - Conditionals with Cards
Let's play cards
Look at this algorithm:
Here is what it looks like in pseudocode:
Let's Play w/ Conditionals
True/False Tag
- Line up as if to play Red Light / Green Light.
- One person will stand in front as the Caller.
- The Caller chooses a condition and asks everyone who meets that condition to take a step forward.
- If you have a red belt, step forward.
- If you are wearing sandals, take a step forward.
- Try switching it up by saying things like "If you are not blonde, step forward."
Lesson 8: Working with Conditionals
- Bee Conditionals
Conditionals with the Bee
Lesson 9: Binary Bracelets
Have you ever seen inside of a computer?
- Wires carry information through the machine in the form of electricity.
- The two options that a computer uses with respect to this electrical information are "off" and "on."
- When computers represent information using only two options, it's called "Binary."
- That theme of two options doesn't stop when the information gets to its destination.
- The two options that a computer uses with respect to this electrical information are "off" and "on."
- Computers also store information using binary.
- Binary isn't always off and on.
- Hard Disk Drives store information using magnetic positive and magnetic negative.
- DVDs store information as either reflective or non-reflective.
- How do you suppose we can convert the things we store in a computer into binary?
- Let's start with letters.
- Binary isn't always off and on.
Binary Decoder Key
Unplugged - Binary Bracelets
Lesson 10: The Big Event
Do you remember guiding your friends to fill in an image of squares in Graph Paper Programming?
- In that exercise, you knew in advance exactly what you wanted your friends to draw, so you could make a program that took them from start to finish without any interruptions.
- In most real programs, we can't do that because we want to have options, depending on what the user needs.
- Say that I only want my character to move when my finger is on the screen of my phone. I would need to program the character to only move when I put my finger on the screen of my phone.
- Putting my finger on the screen would then become an "event" that tells my character to move.
Event-O-Matic-Inator
- Pink Button -> Say “Wooooo!”
- Teal Button -> “Yeah!”
- Purple Dial -> “Boom!”
- Green Button -> Clap
- Orange Dial -> Stomp
Unplugged - The BIG Event
Lesson 11: Your Digital Footprint
Pause and Think Online song from www.commonsensemedia.org
Pause & Think Online
There are different levels of websites and we can discuss them in the following way:
- Green: A “green” website is:
- A good site for kids your age to visit
- Fun, with things for you to do and see
- Has appropriate words
- Doesn’t let you talk to people you don’t know
- Yellow: A “yellow” website is:
- A site you are not sure is right for you
- One that asks for information such as who you are, where you live, your phone number or email address, etc.
- A place where you are allowed to communicate freely with others
- Red: A “red” website is:
- A site that is not right for you
- A place you might have gone to by accident
- Filled with things that are for older kids or adults
Let's Learn about Mizzle the Mouse and Electra the Elephant...
flappy!
Today, you will get to code your own Flappy game. We will be creating and sharing our games with each other to play! Some things to remember:
Look Under the Hood
When you share a link to your game, you also share all of the code that goes behind it. This is a great way to learn from each other!
- I will post links to completed games on the board and on the class padlet.
- When you load up a link, remember to click the "How it Works" button to see the code behind the game.
- Reflect on the different ways your classmates coded their games.
- What suprised you?
- What would you like to try?
- Choose someone else's game and build on it. (Don't worry; the original game will be safe.)
Play Lab! Create your own story!
Congratulations! You are a Coder!
Shelley Kozma
Curriculum Instructional Technologist
Lampasas ISD
Email: kozmas@lisdtx.org
Website: shelleykozma.com
Location: Lampasas ISD, U.S. 281, Lampasas, TX, United States
Phone: (512)564-2965
Facebook: https://www.facebook.com/mrsKedtech/?ref=settings
Twitter: @shelleykozma