InterviewSolution
This section includes InterviewSolutions, each offering curated multiple-choice questions to sharpen your knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
Which Attribute Of Text Tag Of Svg Represents The Shift Along With X-axis? |
|
Answer» 'dx' attribute of text tag of SVG represents the SHIFT ALONG with x-axis. 'dx' attribute of text tag of SVG represents the shift along with x-axis. |
|
| 2. |
Which Attribute Of Text Tag Of Svg Represents The Shift Along With Y-axis? |
|
Answer» 'dy' ATTRIBUTE of text tag of SVG REPRESENTS the shift along with y-axis 'dy' attribute of text tag of SVG represents the shift along with y-axis |
|
| 3. |
Which Attribute Of Text Tag Of Svg Sets The Rotation To Be Applied To All Glyphs? |
|
Answer» 'ROTATION' attribute of TEXT tag of SVG sets the rotation to be applied to all glyphs. 'rotation' attribute of text tag of SVG sets the rotation to be applied to all glyphs. |
|
| 4. |
Which Attribute Of Text Tag Of Svg Sets The Rendering Length Of The Text? |
|
Answer» 'textlength' attribute of TEXT tag of SVG sets the RENDERING LENGTH of the text. 'textlength' attribute of text tag of SVG sets the rendering length of the text. |
|
| 5. |
Which Stroke Property Defines Color Of Text, Line Or Outline Of Any Element? |
|
Answer» 'stroke' property defines color of TEXT, LINE or OUTLINE of any ELEMENT. 'stroke' property defines color of text, line or outline of any element. |
|
| 6. |
Which Stroke Property Defines Thickness Of Text, Line Or Outline Of Any Element? |
|
Answer» 'stroke-width' property DEFINES thickness of TEXT, line or outline of any ELEMENT. 'stroke-width' property defines thickness of text, line or outline of any element. |
|
| 7. |
Which Stroke Property Defines Different Types Of Ending Of A Line Or Outline Of Any Path? |
|
Answer» 'stroke-linecap' PROPERTY defines different TYPES of ENDING of a LINE or outline of any PATH. 'stroke-linecap' property defines different types of ending of a line or outline of any path. |
|
| 8. |
Which Stroke Property Used To Create Dashed Lines? |
|
Answer» 'stroke-dasharray' PROPERTY USED to CREATE DASHED LINES. 'stroke-dasharray' property used to create dashed lines. |
|
| 9. |
What Are Svg Filters? |
|
Answer» SVG uses <filter> element to define filters. <filter> element uses an id ATTRIBUTE to uniquely IDENTIFY it.Filters are DEFINED within <def> elements and then are referenced by graphics elements by their ids. SVG uses <filter> element to define filters. <filter> element uses an id attribute to uniquely identify it.Filters are defined within <def> elements and then are referenced by graphics elements by their ids. |
|
| 10. |
Name Some Of The Commonly Used Filers? |
|
Answer» SVG PROVIDES a rich SET of filters. Following is the list of the COMMONLY used filters:
SVG provides a rich set of filters. Following is the list of the commonly used filters: |
|
| 11. |
What Are Svg Patterns? |
|
Answer» SVG uses <pattern> ELEMENT to define patterns. Patterns are DEFINED using <pattern> element and are used to fill graphics elements in tiled FASHION. SVG uses <pattern> element to define patterns. Patterns are defined using <pattern> element and are used to fill graphics elements in tiled fashion. |
|
| 12. |
What Are Svg Gradients? |
|
Answer» GRADIENT REFERS to SMOOTH transition of one color to ANOTHER color within a shape. SVG provides TWO types of gradients:
Gradient refers to smooth transition of one color to another color within a shape. SVG provides two types of gradients: |
|
| 13. |
What Is Linear Gradients In Svg? |
|
Answer» Linear GRADIENTS REPRESENTS linear transition of one COLOR to another from one direction to another. It is defined USING <linearGradient> ELEMENT. Linear Gradients represents linear transition of one color to another from one direction to another. It is defined using <linearGradient> element. |
|
| 14. |
What Is Radial Gradients In Svg? |
|
Answer» Radial Gradients REPRESENTS CIRCULAR transition of one color to another from one direction to another. It is DEFINED using <RADIALGRADIENT> element. Radial Gradients represents circular transition of one color to another from one direction to another. It is defined using <radialGradient> element. |
|
| 15. |
Can Svg Images Be Made Responsive To User Actions? |
|
Answer» YES! SVG images can be made responsive to user ACTIONS. SVG supports pointer events, KEYBOARD events and document events. Yes! SVG images can be made responsive to user actions. SVG supports pointer events, keyboard events and document events. |
|
| 16. |
Can We Write Javascript Functions In Svg Images? |
|
Answer» Yes! SVG SUPPORTS JavaScript/ECMAScript functions. Script BLOCK is to be in CDATA block CONSIDER character data support in XML. Yes! SVG supports JavaScript/ECMAScript functions. Script block is to be in CDATA block consider character data support in XML. |
|
| 17. |
Are Mouse Events, Keyboard Events Supported In Svg? |
|
Answer» YES! SVG elements support mouse events, KEYBOARD events. We've used onClick event to CALL a JAVASCRIPT functions. Yes! SVG elements support mouse events, keyboard events. We've used onClick event to call a javascript functions. |
|
| 18. |
How To Get A Svg Document Using Javascript? |
|
Answer» In javascript functions, DOCUMENT represents SVG document and can be USED to GET the SVG elements. In javascript functions, document represents SVG document and can be used to get the SVG elements. |
|
| 19. |
How To Get A Active Svg Element Using Javascript? |
|
Answer» In javascript functions, event REPRESENTS CURRENT event and can be USED to get the TARGET element on which event got raised. In javascript functions, event represents current event and can be used to get the target element on which event got raised. |
|
| 20. |
Which Element Of Svg Is Used To Create Links? |
|
Answer» <a> ELEMENT is used to create hyperlink. "xlink:href" attribute is used to pass the IRI (Internationalized RESOURCE Identifiers) which is complementary to URI (Uniform Resource Identifiers). <a> element is used to create hyperlink. "xlink:href" attribute is used to pass the IRI (Internationalized Resource Identifiers) which is complementary to URI (Uniform Resource Identifiers). |
|
| 21. |
How Will You Embed An Svg Image In Html Page? |
|
Answer» SVG image can be embedded using following WAYS: SVG image can be embedded using following ways: |
|
| 22. |
How To Draw A Rectangle In Svg? |
|
Answer» 'rect' tag of SVG is used to draw a rectangle. Following are the commonly used attributes:
Example: <rect 'rect' tag of SVG is used to draw a rectangle. Following are the commonly used attributes: Example: <rect |
|
| 23. |
How To Draw A Circle In Svg? |
|
Answer» 'circle' tag of SVG is used to DRAW a circle. Following are the commonly used attributes:
Example: 'circle' tag of SVG is used to draw a circle. Following are the commonly used attributes: Example: |
|
| 24. |
How To Draw A Ellipse In Svg? |
|
Answer» 'ellipse' tag of SVG is used to draw a ellipse. Following are the COMMONLY used ATTRIBUTES:
EXAMPLE: 'ellipse' tag of SVG is used to draw a ellipse. Following are the commonly used attributes: Example: |
|
| 25. |
How To Draw A Line In Svg? |
|
Answer» 'LINE' tag of SVG is used to draw a line. Following are the commonly used attributes:
Example: 'line' tag of SVG is used to draw a line. Following are the commonly used attributes: Example: |
|
| 26. |
How To Draw A Close Ended Polygon In Svg? |
|
Answer» 'polygon' tag of SVG is used to draw a polygon. FOLLOWING is the COMMONLY used attribute −points - LIST of points to make up a polygon. Example − 'polygon' tag of SVG is used to draw a polygon. Following is the commonly used attribute −points - List of points to make up a polygon. Example − |
|
| 27. |
How To Draw A Open Ended Polygon In Svg? |
|
Answer» 'POLYLINE' TAG of SVG is used to draw a open ended polygon. Following is the commonly used attribute − POINTS − List of points to make up a polygon. Example − <polyline points = "150,75 258,137.5 258,262.5 150,325 42,262.6 42,137.5" 'polyline' tag of SVG is used to draw a open ended polygon. Following is the commonly used attribute − points − List of points to make up a polygon. Example − <polyline points = "150,75 258,137.5 258,262.5 150,325 42,262.6 42,137.5" |
|
| 28. |
How To Draw A Free Flow Path In Svg? |
|
Answer» 'path' tag of SVG is used to draw a free flow path. Following is the commonly used attribute − d − path data,USUALLY a set of commands like moveto, lineto etc. Example − <path d = "M 100 100 L 300 100 L 200 300 z" 'path' tag of SVG is used to draw a free flow path. Following is the commonly used attribute − d − path data,usually a set of commands like moveto, lineto etc. Example − <path d = "M 100 100 L 300 100 L 200 300 z" |
|
| 29. |
Which Command Of Path Element Moves Cursor From One Point To Another Point? |
|
Answer» M COMMAND of PATH ELEMENT move from ONE point to ANOTHER point. M command of path element move from one point to another point. |
|
| 30. |
Which Command Of Path Element Creates A Line? |
|
Answer» L COMMAND of PATH element creates a LINE. L command of path element creates a line. |
|
| 31. |
Which Command Of Path Element Creates A Horizontal Line? |
|
Answer» H COMMAND of PATH ELEMENT CREATES a horizontal line. H command of path element creates a horizontal line. |
|
| 32. |
Which Command Of Path Element Creates A Vertical Line? |
|
Answer» V COMMAND of PATH element CREATES a VERTICAL line. V command of path element creates a vertical line. |
|
| 33. |
Which Command Of Path Element Creates A Curve? |
|
Answer» C COMMAND of PATH element creates a CURVE. C command of path element creates a curve. |
|
| 34. |
Which Command Of Path Element Creates A Smooth Curve? |
|
Answer» S COMMAND of PATH ELEMENT CREATES a SMOOTH curve. S command of path element creates a smooth curve. |
|
| 35. |
Which Command Of Path Element Creates Quadratic Bezier Curve? |
|
Answer» Q COMMAND of path ELEMENT CREATES a quadratic Bezier CURVE. Q command of path element creates a quadratic Bezier curve. |
|
| 36. |
Which Command Of Path Element Creates A Smooth Quadratic Bezier Curve? |
|
Answer» T COMMAND of path element creates a SMOOTH QUADRATIC Bezier curve. T command of path element creates a smooth quadratic Bezier curve. |
|
| 37. |
Which Command Of Path Element Closes The Path? |
|
Answer» Z COMMAND of PATH ELEMENT CLOSES the path. Z command of path element closes the path. |
|
| 38. |
Which Command Of Path Element Creates A Elliptical Arc? |
|
Answer» A COMMAND of path ELEMENT CREATES a ELLIPTICAL ARC. A command of path element creates a elliptical arc. |
|
| 39. |
When Commands Of Path Element Takes Absolute Path? |
|
Answer» When commands are in Upper CASE, these REPRESENTS ABSOLUTE path. In case their LOWER case commands are used, then RELATIVE path is used When commands are in Upper case, these represents absolute path. In case their lower case commands are used, then relative path is used |
|
| 40. |
What Are The Features Of Svg? |
|
Answer» Following are the core FEATURES of SVG:
Following are the core features of SVG: |
|