# MCQ | Circle Drawing and Ellipse Drawing Algorithms in Computer Graphics

**Multiple choice questions and answers (MCQ)** based on the **Circle Drawing and Ellipse Drawing Algorithms in computer graphics** with 4 choices, correct answer and explanation.

Submitted by Monika Sharma, on October 12, 2020

**Question 1: What is the equation for a circle?**

- y = mx + c
- y
^{2 }= r^{2}– x^{2} - r
_{x}^{2}y^{2}= r_{x}^{2}r_{y}^{2}- r_{y}^{2}x^{2} - None of the above

**Answer: b. y ^{2 }= r^{2} – x^{2}**

**Explanation:**

The Equation of circle is:

x^{2 }+ y^{2 }= r^{2}y^{2 }= r^{2}– x^{2}

**Question 2: Which among the following is the correct equation for an ellipse?**

- y = mx + c
- y
^{2 }= r^{2}– x^{2} - r
_{x}^{2}y^{2}= r_{x}^{2}r_{y}^{2}- r_{y}^{2}x^{2} - None of the above

**Answer: c. r _{x}^{2}y^{2} = r_{x}^{2}r_{y}^{2} - r_{y}^{2}x^{2}**

**Explanation:**

The Equation of an ellipse is:

r_{y}^{2}x^{2 }+ r_{x}^{2}y^{2 }= r_{x}^{2}r_{y}^{2}r_{x}^{2}y^{2}= r_{x}^{2}r_{y}^{2}- r_{y}^{2}x^{2}

**Question 3: Which of the following properties is followed by the ellipse?**

- 4 – symmetry property
- 8 – symmetry property
- 6 – symmetry property
- All of the above

**Answer: a. 4 – symmetry property**

**Explanation:**

An ellipse is identical through all its quadrant values. i.e., if you place the origin at the center of the ellipse, then it will have the mirror images for its points on all the four quadrants. Hence, the ellipse is said to have the 4-symmetry property.

**Question 4: Which of the following are the methods to define a circle?**

- Using polynomial method.
- Using polar coordinates methods.
- Both a. and b.
- None of the above

**Answer: c. Both a. and b.**

**Explanation:**

A circle can be defined from both the stated options: Using the polynomial method as well as the polar coordinates method.

**Question 5: "The mid-point algorithm is used for both circle drawing as well as ellipse drawing, but the procedure is different for both of them."Based upon the above statement, determine whether the following condition is true or false."The circle follows 8 - symmetry property whereas the ellipse follows 4 – symmetry property."**

- True
- False

**Answer: a. True**

**Explanation:**

The circle is identical along all its octants whereas an ellipse is identical long all its quadrants. Hence the given statement: "The circle follows 8 - symmetry property whereas the ellipse follows 4 – symmetry property" is true.

TOP Interview Coding Problems/Challenges

- Run-length encoding (find/print frequency of letters in a string)
- Sort an array of 0's, 1's and 2's in linear time complexity
- Checking Anagrams (check whether two string is anagrams or not)
- Relative sorting algorithm
- Finding subarray with given sum
- Find the level in a binary tree with given sum K
- Check whether a Binary Tree is BST (Binary Search Tree) or not
- 1[0]1 Pattern Count
- Capitalize first and last letter of each word in a line
- Print vertical sum of a binary tree
- Print Boundary Sum of a Binary Tree
- Reverse a single linked list
- Greedy Strategy to solve major algorithm problems
- Job sequencing problem
- Root to leaf Path Sum
- Exit Point in a Matrix
- Find length of loop in a linked list
- Toppers of Class
- Print All Nodes that don't have Sibling
- Transform to Sum Tree
- Shortest Source to Destination Path

Comments and Discussions

**Ad:**
Are you a blogger? Join our Blogging forum.