SVG - Online Quiz



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 circle?

A - circle

B - ellipse

C - Both of the above.

D - None of the above.

Answer : A

Explanation

circle tag of SVG is used to draw a circle.

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 is a valid SVG filter?

A - feComposite

B - feConvolveMatrix

C - feDiffuseLighting

D - All of the above.

Answer : D

Explanation

All of the above are valid SVG filters.

Q 4 - Can SVG images be made responsive to user actions?

A - true

B - false

Answer : A

Explanation

Yes! SVG images can be made responsive to user actions. SVG supports pointer events, keyboard events and document events.

Q 5 - Which of the following represents height of the rectangle?

A - y

B - ry

C - height

D - None of the above

Answer : C

Explanation

height − height of the rectangle.

Q 6 - Which of the following represents x-axis co-ordinate of the start point of a line?

A - x1

B - y1

C - x2

D - y2

Answer : A

Explanation

x1 − x-axis co-ordinate of the start point. Default is 0.

Answer : B

Explanation

When commands are in Lower case, these represents relative path.

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 - What is the default value of y-axis co-ordinate of center of the ellipse?

A - 0

B - -1

C - Any arbitrary value.

D - None of the above.

Answer : A

Explanation

Default value is 0.

Q 10 - c command of path element creates a curve.

A - true

B - false

Answer : A

Explanation

c command of path element creates a curve.

svg_questions_answers.htm
Advertisements