Certified Animation Professional (CAP) Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Certified Animation Professional Exam. Use engaging quizzes with flashcards and multiple choice questions, each with hints and detailed explanations. Gear up for success!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


In the command ellipse(200, 300, 150, 150), the second number in parentheses controls which variable?

  1. x-coordinate

  2. y-coordinate

  3. radius

  4. diameter

The correct answer is: y-coordinate

In the command `ellipse(200, 300, 150, 150)`, the second number specifies the y-coordinate of the ellipse's center. In this context, the command is typically used in graphical programming environments, such as Processing or p5.js, where the ellipse function requires parameters to define its position and size. The first number represents the x-coordinate, locating the center of the ellipse horizontally. The second number, which is the correct choice in this case, dictates the vertical positioning of the ellipse, or its y-coordinate. This means that when you set the second parameter to 300, you are effectively placing the center of the ellipse 300 units down from the top of the drawing canvas. The remaining two numbers specify the width and height of the ellipse, with both set to 150, indicating a circle in this instance, since the width and height are equal.