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

Answer : C

Explanation

Both of the above options are correct.

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

A - x

B - y

C - dx

D - dy

Answer : C

Explanation

'dx' attribute of text tag of SVG represents the shift along with x-axis.

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

A - y

B - cy

C - r

D - None of the above

Answer : C

Explanation

r − radius of the circle.

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.

Answer : A

Explanation

When commands are in Upper case, these represents absolute path.

Q 8 - What is the default value of x-axis co-ordinate of top left of the rectangle?

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 end 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 - v command of path element creates a horizontal line.

A - true

B - false

Answer : B

Explanation

v command of path element creates a vertical line.


svg_questions_answers.htm

Advertisements