Class 304 – Unit 1.3 Shapes

Learning to use different shapes in your programs

Today's Goals

  • Learn the main shapes used in CMU CS Academy
  • Understand how position and size work
  • Create drawings using circles, rectangles, ovals, and lines

Agenda

  • Short lesson and demos
  • Review how coordinates work
  • Practice in CMU CS Academy – Unit 1.3
  • Quick check for understanding

What You Must Finish Today

  • Log into CMU CS Academy
  • Work through Unit 1.3 – Shapes
  • Complete assigned exercises using:
    • Circle
    • Rect
    • Oval
    • Line
    • Star or Polygon

Homework

Finish any Unit 1.3 activities you did not complete in class

Quick Reminder

  • x and y control position
  • width, height, and radius control size
  • Code runs from top to bottom, so order matters