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 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.

Answer : D

Explanation

All of the above are correct.

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 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 radius of the ellipse?

A - x

B - cx

C - rx

D - None of the above

Answer : C

Explanation

rx - x-axis radius of the ellipse.

Q 7 - SVG images supports interactivity and animation.

A - false

B - true

Answer : B

Explanation

SVG images supports interactivity and animation.

Q 8 - What is the default value of x-axis co-ordinate of center of the circle?

A - 0

B - -1

C - Any arbitrary value.

D - None of the above.

Answer : A

Explanation

Default value is 0.

Q 9 - Which of the following is used to pass points to draw a polyline?

A - points

B - d

B - path

B - None of the above.

Answer : A

Explanation

points − List of points to make up a polyline.

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