Loading

Quipoin Menu

Learn • Practice • Grow

html / Interactivity and Animation in SVG
mcq
Direction: Choose the correct option

Q1.

How can you add interactivity to SVG?
A. Using CSS only
B. Using JavaScript event listeners
C. Using SVG only
D. Using special tags
Direction: Choose the correct option

Q2.

<circle onclick="alert('Clicked')" ... />
What happens when the circle is clicked?
A. Circle disappears
B. An alert shows "Clicked"
C. Nothing
D. Circle changes color
Direction: Choose the correct option

Q3.

What is SMIL in SVG?
A. Synchronized Multimedia Integration Language for animations
B. A JavaScript library
C. A new SVG format
D. A CSS framework
Direction: Choose the correct option

Q4.

<circle ...>
<animate attributeName="r" from="10" to="20"
dur="2s" repeatCount="indefinite" />
</circle>
What does this animate?
A. The radius of the circle
B. The circle's position
C. The circle's color
D. The circle's opacity
Direction: Choose the correct option

Q5.

What's a modern alternative to SMIL for SVG animation?
A. ActiveX controls
B. Java applets
C. CSS animations or JavaScript/GreenSock
D. Flash