Media Computation Skills Lab

MTEC 1003 - Spring 2015

Lab 11 - Canvas

In this lab, you’ll be creating the following programs:

  1. square
  2. squarecircle
  3. customcircle
  4. five
  5. car
  6. alternating

Instructions

Note that ALL OF THESE FILES MUST BE SAVED IN THE LOCAL REPOSITORY THAT YOU CREATED FOR THIS LAB.

square

Write a program that draws a square.

square


squarecircle

Write a program that draws a square and a circle next to each other.

squarecircle


customcircle

Write a program that asks for a number and a color - red, green, or blue. It will draw a circle with that radius and color.

customcircle1

customcircle2

customcircle3


five

Draw five squares using a for loop

five


car

Draw a car…

car


alternating

Draw a row of circles and squares.

alternating

MTEC 1003 - Media Computation Skills Lab - Spring 2015