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.


The ellipse command in JavaScript is used to make which shape?

  1. Rectangle

  2. Circle

  3. Oval

  4. Triangle

The correct answer is: Oval

The ellipse command in JavaScript is used to create an oval shape, which can also represent a circle in specific cases where the height and width are equal. This command typically takes parameters that define the position, size, and other properties of the oval. For instance, by specifying the width and height parameters, a user can control the horizontal and vertical radii of the resulting shape. If both values are equal, the shape created is a perfect circle; however, when they differ, the resulting shape is an elongated oval or ellipse. Therefore, the ellipse command is specifically designed for these types of shapes, making the choice of oval the most appropriate answer in this context.