Drawing Basics
Coloring
Variables
Animation Basics
Resizing with Variables
Text and Strings
Functions
Logic and if Statements
Looping
Arrays
Objects
Object-Oriented Design
- // This program isn't making the second eye on my face.
- // How could we debug the program to fix this mistake?
- // The house is missing its roof
- // What do we need to change to add in the roof?
- // I want the OhNoes picture in the center of the screen; however, it is too narrow and in the upper left.
- // How could we fix the placement and shape of the OhNoes picture?
- // I have five fills; however, I only have four colors.
- // In addition, the first scoop is white rather than than blue, and the cherry is yellow rather than red.
- // What mistake did I make with the fill commands and how can we fix it?
- // I have a simple picture of grass, clouds, and a sun; however, all I see is the sky
- // What mistake did I make and how can we fix it?
V3
- // On this plate is a twinkie; however, the twinkie has sharp edges rather than rounded edges.
- // What could we do to make the rectangles edges rounded?
- // This frog has the same size eyes on each eye; however, I want one of his eyes to be twice as big as the other without having to write a new variable
- // How could we make one of the frog’s eyes twice as big?
- // I want one tooth to be five pixels longer than the other; however, it is much longer than that.
- // What mistake did I make and how can we fix it?
- // This frog is missing his big eyes and only has black pupils
- // What mistake did I make and how could we fix this?
- // This program is supposed to take a bit out of the tomato; however, all I see is white.
- // What mistake did I make and how could we fix this?
- // This program is supposed to paint circles wherever my mouse is; however, it's doing something very different
- // What mistake did I make and how could we fix this?
- // I've made an 8-bit moon that moves across the screen; however, nothing is working.
- // What mistake did I make and how could we fix this?
- // I want this bear's body width (bodyW) to be twice as big as its body height (bodyH); however, something is off
- // What mistake did I make and how could we fix this?
- // I drew the bear's eyes; however, I cannot see them.
- // Where are his eyes located and how can we fix this?
- // I want this sun to rise and stop when it gets to 300 pixels; however, it instantly rises
- // Why is the sun instantly rising and what could we change to make it gradually get bigger?
- // This program is supposed to display the X and Y coordinates of the mouse; however, it does nothing right now.
- // Why doesn't this program work and how can we fix this?
- // This program draws Mr. Pink and displays his name; however, the name is right on his face rather than below him/
- // What could we change in the code to fix this problem?
- // This program is supposed to write out your favorite classes; however, it says we have errors
- // What did I forget to add and how can we fix it?
- // I'm trying to draw four different Mr. Pants' around the screen; however, I'm only seeing one I'm getting errors.
- // What did I forget to add in my function and how can we fix it?
- // This function is supposed to add two numbers together; however, something isn't working correctly.
- // What did I forget to change in my function and how can we fix it?
- // This function is supposed to draw Winston in a random location every time the mouse is clicked; however, it keeps drawing him in the same location every time I click
- // What could we delete to fix this problem?
- // This function is supposed to paint when the mouse is pressed; however, it doesn't do anything right now
- // What could we delete to fix this problem?
- // This button isn't really a button as it works regardless of if you're in the rectangle.
- // What do we need to add to our if statement to make it so the answer doesn't show when the mouse is pressed outside of the button?
- // My if statements aren't providing correct hints to get the guess number to the actual number
- // What could we change in our logic to get this to work correctly?
- // I want to offset my bricks so they are staggered from one row to the next; however, they are all lined up right now.
- // What could we add in line 22 that would offset every other row of bricks?
- // I want to draw several trees with grass across the screen; however, it's not working right now
- // What do we need to add to the while loop to get it to work?
- // This program is supposed to draw an X with ellipses; however, we are only getting one half of the X.
- // What could we change to one of the the for loops to get it to work?
- // This program is supposed to list three names that begin with 'Ch' but it spells 'C - H - A' on three lines.
- // What simple mistake did I make in this array?
- // This program is supposed to list four kinds of animals but has some errors.
- // What simple mistake did I make in the for loop?
- // This program is supposed to draw stars wherever you click your mouse; however, it's not working.
- // What simple mistake did I make in the for loop?
- // This object should display a recipe; however, it's not working correctly.
- // What simple mistake did I make in the object?
- // This object should paint Mr. Pink when the mouse moves; however, there are several small mistakes.
- // What simple mistakes did I make in the object?
- // This object should display the title, pages, and characters in a book; however, one of the character names is listed as "undefined".
- // What simple mistake did I make when calling the object?
- // This program should draw a double rainbow; however, it's not drawing any rainbows.
- // What mistakes did I make at the end of this program and how can we fix it?
- // This program is trying to draw two creatures that move around the mouse; however, there are some errors.
- // What mistakes did I make in the draw function?
- // This program is trying to several winged creatures around the mouse; however, there are some errors in the prototypes.
- // What mistakes did I make in the prototypes?