Podcast
Questions and Answers
What shape is used to represent the spot around the eye in the bunny drawing?
What shape is used to represent the spot around the eye in the bunny drawing?
What is the function name used to draw a Minion?
What is the function name used to draw a Minion?
drawMinion
What parameter does the makePotion
function use to color the liquid in the cauldron?
What parameter does the makePotion
function use to color the liquid in the cauldron?
color
Which method is used to display the time remaining in the scoreboard?
Which method is used to display the time remaining in the scoreboard?
Signup and view all the answers
What does the threeStripeFlag
function draw?
What does the threeStripeFlag
function draw?
Signup and view all the answers
What shape is used to represent a veggie's stem?
What shape is used to represent a veggie's stem?
Signup and view all the answers
What shape is drawn to represent a circular bite in the eat the cookie
function?
What shape is drawn to represent a circular bite in the eat the cookie
function?
Signup and view all the answers
What shapes are used to draw flowers in the tree flowers
function?
What shapes are used to draw flowers in the tree flowers
function?
Signup and view all the answers
What shape is used to draw a candle in the birthday cake
function?
What shape is used to draw a candle in the birthday cake
function?
Signup and view all the answers
Study Notes
CMU CS Academy Concepts
-
Bunny with a spot: Create an oval and two white eye ovals to depict a bunny's face, highlighting an eye spot.
-
Minion Drawing Function: Utilize
Rect
for the body's background,Oval
for the mouth, and multipleCircle
calls for glasses and eyes. Incorporate parameters for color customization. -
Witch Brew Function: Design a cauldron using overlapping
Oval
shapes, create flames below with a pre-defineddrawFire
function, and incorporate bubbles with circles and ovals, utilizing color parameters. -
Scoreboard Setup: Use
Rect
andLabel
to show time and scores. Differentiate home and away team scores using distinct positions and colors for clarity. -
Three Stripe Flag Function: Utilize
Label
for the country name andRect
for colored stripes, applying function parameters to ensure dynamic input for colors and names. -
Veggies Drawing Function: Create a veggie with a star at the top and an oval for the body. Incorporate ovals and circles to depict facial features, maintaining a playful aesthetic.
-
Cookie Bite Simulation: Implement a mouse release event to draw a circular bite using the mouse coordinates, enhancing interactive elements.
-
Tree Flowers Function: Handle mouse press events to draw a flower silhouette using a combination of stars and circles in varied colors, emphasizing creative interaction.
-
Birthday Cake Candle Function: Utilize
Line
to draw a candle on mouse press, indicating the introduction of interactive graphical elements for celebratory themes.
Studying That Suits You
Use AI to generate personalized quizzes and flashcards to suit your learning preferences.
Description
Test your knowledge with these flashcards for the CMU CS Academy. Each card includes a specific word related to programming concepts, along with definitions that provide essential coding examples. Perfect for students learning programming fundamentals.