CMU CS Academy Flashcards
9 Questions
100 Views

CMU CS Academy Flashcards

Created by
@MarvelousPascal

Questions and Answers

What shape is used to represent the spot around the eye in the bunny drawing?

  • Rectangle
  • Polygon
  • Oval (correct)
  • Circle
  • 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?

    color

    Which method is used to display the time remaining in the scoreboard?

    <p>Label</p> Signup and view all the answers

    What does the threeStripeFlag function draw?

    <p>a flag with three stripes</p> Signup and view all the answers

    What shape is used to represent a veggie's stem?

    <p>not explicitly defined, but likely a rectangle or another shape</p> Signup and view all the answers

    What shape is drawn to represent a circular bite in the eat the cookie function?

    <p>Circle</p> Signup and view all the answers

    What shapes are used to draw flowers in the tree flowers function?

    <p>Star and Circle</p> Signup and view all the answers

    What shape is used to draw a candle in the birthday cake function?

    <p>Line</p> 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 multiple Circle 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-defined drawFire function, and incorporate bubbles with circles and ovals, utilizing color parameters.

    • Scoreboard Setup: Use Rect and Label 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 and Rect 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.

    Quiz Team

    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.

    More Quizzes Like This

    CMU College of Engineering M
    10 questions

    CMU College of Engineering M

    FavoriteCommonsense avatar
    FavoriteCommonsense
    CMU New Thrusts (2024-2028) Quiz
    10 questions
    cmu chpt 1
    12 questions

    cmu chpt 1

    UnaffectedWendigo avatar
    UnaffectedWendigo
    Use Quizgecko on...
    Browser
    Browser