SVG - Online Quiz


Advertisements

Following quiz provides Multiple Choice Questions (MCQs) related to SVG Framework. You will have to read all the given answers and click over the correct answer. If you are not sure about the answer then you can check the answer using Show Answer button. You can use Next Quiz button to check new set of questions in the quiz.

Questions and Answers

Q 1 - Which of the following tag of SVG is used to draw a ellipse?

A - circle

B - ellipse

C - Both of the above.

D - None of the above.

Answer : B

Explanation

ellipse tag of SVG is used to draw a ellipse.

Q 2 - Which of the following attribute of text tag of SVG represents shift along with y-axis?

A - x

B - y

C - dx

D - dy

Answer : D

Explanation

'dy' attribute of text tag of SVG represents the shift along with y-axis.

Q 3 - Which of the following stroke property defines thickness of text, line or outline of any element?

A - stroke

B - stroke-width

C - stroke-linecap

D - stroke-dasharray

Answer : B

Explanation

'stroke-width' property defines thickness of text, line or outline of any element.

Q 4 - Which of the following represents x-axis co-ordinate of top left of the rectangle?

A - x

B - rx

C - width

D - None of the above

Answer : A

Explanation

x − x-axis co-ordinate of top left of the rectangle. Default is 0.

Q 5 - Which of the following represents x-axis co-ordinate of the center of the ellipse?

A - x

B - cx

C - rx

D - None of the above

Answer : B

Explanation

cx − x-axis co-ordinate of the center of the ellipse.

Q 6 - Which of the following represents y-axis radius of the ellipse?

A - y

B - cy

C - ry

D - None of the above

Answer : C

Explanation

ry − y-axis radius of the ellipse.

Q 7 - Which of the following command of path element creates a smooth curve?

A - C

B - S

C - Q

D - T

Answer : B

Explanation

S command of path element creates a smooth curve.

Q 8 - Others image formats like raster images can also be clubbed with SVG images.

A - true

B - false

Answer : A

Explanation

Others image formats like raster images can also be clubbed with SVG images.

Q 9 - m command of path element move from one point to another point.

A - true

B - false

Answer : A

Explanation

m command of path element move from one point to another point.

Q 10 - v command of path element creates a vertical line.

A - true

B - false

Answer : A

Explanation

v command of path element creates a vertical line.

svg_questions_answers.htm

Useful Video Courses


Advertisements