5.2,3 Programming and Software Development
Introduction to IT - 5.2 & 5.3

Topic Description

This lesson uses Scratch and describes the methods of moving sprites through coordinates

Objectives

Students will be able to:

●Explain how coordinates are used in Scratch

●Use 3 major ways to move sprites

●Select the appropriate method of moving to make a sprite circle the bases

Intro to IT Objectives

STANDARD 5: Students will complete projects and assignments in the area of Programming and Software Development.

Objective 2: Understand the process to software/program design.

  1. Follow software design steps. (1. State the problem, 2. Develop an algorithm or solutions, 3. Code the project, 4. Test & debug the project, 5. Provide internal & external document.)
  2. Use walk through steps to see all the steps to describe a problem solution.
  3. Design a flowchart to solve a basic problem.
  4. Develop an algorithm to solve a simple problem.

Objective 3: Create applications using a programming language. (MIT Scratch, Alice, QBASIC, Visual Basic, C++, Java, Scheme, etc.).

  1. Use a software design process to plan a software program.
  2. Understand and use programming conventions. (indentation, capitalization, etc.)
  3. Understand and in a program use: variables, data types, constants, calculations, operators, decisions, loops, functions, etc.
  4. Design the screen layout for a software program.
  5. Understand how GUI software development environments are used.
  6. Design and develop a software program that gets input, processes the data, and displays output.

Teaching Guide

Materials and Preparation Required

●PowerPoint

●Coordinate Worksheet

●Scratch Example - Inside PowerPoint

●Scratch File - baseball.sb

●Discussion Questions

Outline of the Lesson

●Start PowerPoint

○Journal Entry - Brainstorm Algorithms

○Have students work individually and then share with their elbow partners.

○Analyze Coordinates

●Analyze Coordinates

○Teacher instructs how to read and label X & Y Coordinates

○Use Coordinate Worksheet with PowerPoint

■Find

■Correct

■Repeat

●Explain the three moves - Use Example in Scratch

○Move

○Go To

○Glide

●Do the baseball.sb as a class

●Discussion of answers to questions

○Emphasize that the “repeat” block will do whatever is inside it n times. This behavior is called iteration or looping

○Point out that iteration is a construct that is used in other programming languages

○Emphasize the difference between the 3 ways to move.

○Emphasize how the sprites will re-initialize themselves when the green flag is clicked.

●Assign: Castle 4 or Brick Wall with Stairs

○Circulate the room and help students finish Castle or Brick Wall with Stairs

○Extra Credit - use the point in direction and new costume and switch costume

Student Activities

●Play game of coordinates

●List an algorithm for possible solutions

Vocabulary

●X Axis -- The line on a graph that runs horizontally (left-right) through zero. It is used as a reference line so you can measure from it.

●Y Axis -- The line on a graph that runs vertically (top-bottom) through zero. It is used as a reference line so you can measure from it.

●Coordinates - each of a group of numbers used to indicate the position of a point, line, or plane.

●Scratch - move ? Steps - move one pixel at at a time

●Scratch - go to X:? Y:? - jumps from one place to the next

●Scracth - glide ? secs to x: ? y: ? - slides from one place to the next

Credits:

●Parts of this lesson is taken from cs10Kcommunity.org

Teaching/Learning Strategies

Story or Video Introduction

  1. Share a story or video that relates to activity. …..

Activities

  1. Step by step on what to do with instructions, graphics and/or videos...
  2. Load ….
    asdf
  3. Open ….

Wrap Up

●Share ...

●Journalize …..

Assessment

●Turn in link to ….

●Quiz on ….

Related Careers

●Software developer — Watch video ….

Additional Resources

●Search Google or Bing for ...

●Watch videos …..

●Look at website ….

Extensions

●Watch ...

●Search ….

M Taylor & C Brandt November 2015Programming 5.2 & 5.3Page 1