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 sets the rotation to be applied to all glyphs?

A - rotation

B - y

C - dx

D - dy

Answer : A

Explanation

'rotation' attribute of text tag of SVG sets the rotation to be applied to all glyphs.

Answer : D

Explanation

All of the above are correct.

Q 4 - Can we get an active SVG element using javascript?

A - true

B - false

Answer : A

Explanation

In javascript functions, event represents current event and can be used to get the target element on which event got raised.

Q 5 - Which of the following is used to round the corner of the rounded rectangle along y-axis?

A - y

B - ry

C - height

D - None of the above

Answer : B

Explanation

ry − used to round the corner of the rounded rectangle.

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 quadratic Bezier curve?

A - C

B - S

C - Q

D - T

Answer : D

Explanation

T command of path element creates a smooth quadratic Bezier curve.

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 - What is the default value of x-axis co-ordinate of start point of the line?

A - -1

B - 0

C - Any arbitrary value.

D - None of the above.

Answer : B

Explanation

Default value is 0.

Q 10 - h command of path element creates a horizontal line.

A - true

B - false

Answer : A

Explanation

h command of path element creates a horizontal line.

svg_questions_answers.htm
Advertisements