Tip: Choose Save as PDF in the print dialog to download. Use A4 paper size.
Shade in the A or B circle for each question.
Draw a line connecting each item on the left to its match on the right.
| Left column | Right column | |
|---|---|---|
| 1<circle cx="50" cy="50" r="40" /> | AAn SVG shape stored as numbers: a circle with its centre at (50, 50) and a radius of 40, drawn when the image is shown | |
| 2<line x1="0" y1="0" x2="100" y2="50" /> | B<svg width="400" height="400" viewBox="0 0 100 100"> | |
| 3A vector image is stored as shapes described by numbers, so it can be scaled up without pixelation | CThis describes a raster (bitmap) image, not a vector image. Vector images store shapes and paths, not a grid of pixels. | |
| 4A curve in a vector image is a path described by numbers (points and commands) | D<path d="M10 80 Q50 10 90 80" /> | |
| 5A vector image is a grid of tiny coloured pixels, and it gets blocky when you zoom in. | EThe SVG tag is not closed. It must end with /> so the rectangle shape is complete. | |
| 6<rect width="50" height="20" fill="red"> | FAn SVG line drawn from the start point (0, 0) to the end point (100, 50) |
Complete each line of code by filling in the missing parts.
Shade in the letter of the line that contains an error.
vector image — An image stored as shapes and paths (lines, curves) described by numbers and drawn when shown, not as a grid of pixels. It can scale up without pixelation. SVG is a common format.<svg width="100" height="100">
<circle cx="50" cy="50" r="40" />
</svg><svg width="100" height="100">
<circle cx="50" cy="50" r="40" />
</svg><svg width="100" height="100">
<rect x="10" y="10" width
="80" height="40" />
</svg><svg width="100" height="100">
<line x1="10" y1="10" x2="90" y2="90" />
</svg><svg width="100" height="100">
<circle cx="50" cy="50" r="40" fill
="red" />
</svg>