Skip to topic
    ← Back to course topics

    Vector graphics — AQA A-Level Computer Science

    Vector graphics represent images mathematically using geometric primitives such as points, lines, curves, and shapes stored with associated drawing lists and attributes. Unlike bitmapped images, vector graphics scale infinitely without pixelation or loss of quality and typically require smaller file sizes for simple diagrams.

    Vector graphics explained

    Vector graphics store an image not as a grid of pixels but as a list of objects, each defined by mathematical instructions.

    Read the full explanation

    A typical entry might read: circle, centre (120, 80), radius 40, fill colour blue. The file records the shape type, its position and size as coordinates, and its appearance such as fill and outline. When the image is displayed, the software reads each entry in the list and draws the object at the required size on the current screen or print resolution. Because the stored data describes the shape rather than fixed dots, the image can be scaled up or down without losing sharpness. This explanation should be given in your own words, showing that the image is a set of described objects that are rendered when needed, rather than a bitmap of colour values.

    Your focus

    1. Explain how vector graphics represents images using lists of objects.

    Vector graphics exam tips

    Topic Overview

    Vector graphics represent visual data through mathematical descriptions of geometric shapes rather than grids of individual picture elements. This topic explores how drawing lists, coordinates, and shape attributes allow computers to construct resolution-independent imagery suited for icons, fonts, and computer-aided design.

    Understanding vector graphics is fundamental to data representation in AQA A-Level Computer Science. It contrasts directly with bitmapped graphics, illustrating core computational trade-offs between processing overhead, memory consumption, visual scalability, and transmission efficiency across modern networks.

    Key Concepts
    • →Drawing list: A list of instructions and geometric objects detailing the precise sequence and rules to construct the vector graphic.
    • →Primitives: Basic geometric shapes used as building blocks, including points, lines, polylines, circles, ellipses, and Bézier curves.
    • →Attributes: Specific values associated with primitives that dictate appearance, such as start/end coordinates, line thickness, stroke colour, and fill colour.
    • →Resolution independence: The ability of an image to scale infinitely to any display dimension or DPI without degrading in visual sharpness or showing pixelation.
    Marking Points
    • Describes the image as a list of separate objects rather than a grid of pixels.
    • Explains that each object is stored with a shape type and parameters such as coordinates, size and colour.
    • Explains that the software renders each object from its stored description when the image is displayed.
    • Links the object-based storage to the ability to resize the image without loss of quality.
    Examiner Tips
    • 💡Use the phrase 'list of objects' and name at least one example of a stored property to show you understand the structure.
    • 💡Explain the rendering step: the software reads each object and draws it at the required resolution.
    • 💡Connect the explanation to scalability, which is the main advantage examiners expect you to recognise.
    • 💡Use accurate terminology such as 'rasterisation' when describing how a vector graphic is converted into pixels for screen output.
    • 💡When comparing vector graphics with bitmaps, construct a balanced argument covering both advantages (scalability, editing flexibility, small file size for simple images) and limitations (unsuitability for photo-realism, high CPU rendering overhead).
    Common Mistakes
    • Describes vector graphics as a grid of pixels; correct by stating that vector images store objects, not pixel values.
    • Says the file stores the colour of every point in the image; correct by explaining that only the parameters of each object are stored.
    • Explains scaling without linking it to the mathematical description of each object; correct by stating that shapes are recalculated at the new size.
    • Believing vector graphics cannot be displayed on standard monitors without conversion: All modern computer monitors are raster displays composed of physical pixels, which means vector graphics must undergo rasterisation before being displayed.
    • Thinking vector graphics have a fixed DPI: Vector files do not possess an inherent DPI or pixel resolution; DPI only becomes relevant when the graphic is rendered or printed onto a physical medium.
    Revision Plan
    1. 1Step 1: Master core definitions, including drawing lists, primitives, attributes, and resolution independence.
    2. 2Step 2: Construct a comprehensive comparison table contrasting vector graphics and bitmapped images across size, scalability, complexity, and common applications.
    3. 3Step 3: Practise drafting XML-like SVG descriptions of basic shapes to reinforce how primitives and attributes relate directly to stored data.
    4. 4Step 4: Complete past AQA exam questions focusing on 4-mark to 6-mark evaluate and compare questions.
    Exam Question Types
    • 📋Direct definition and description questions: Explaining the components of a vector graphic, such as drawing lists and geometric primitives.
    • 📋Comparative analysis: Comparing vector graphics with bitmapped images for a specific real-world scenario (e.g. logos vs photographic portraits).
    • 📋Application questions: Identifying necessary properties and attributes needed to store specific primitives like polygons, rectangles, or circles.
    Command Word Expectations (AQA)
    Explain

    Set out the mathematical mechanism clearly; for vector graphics, describe how coordinates, primitives, and attributes are used by software to render the image rather than merely stating that it does not blur.

    Compare

    Identify both similarities and differences between vector graphics and bitmaps, covering storage mechanisms, file size scaling, and rendering performance for given contexts.

    How Students Lose Marks (Examiner Pitfalls)
    Pitfall: Stating that vector graphics are 'drawn with maths' without naming specific geometric primitives, attributes, or the drawing list.
    ❌ Weak Answer (Loses Marks):A vector graphic uses mathematical formulas to draw pictures instead of pixels so it does not blur when made bigger.
    Example improved answer:A vector graphic represents images using geometric primitives such as points, lines, curves, and polygons. These shapes are defined using mathematical properties stored in a drawing list, with explicit attributes such as fill colour, stroke colour, line thickness, and coordinates.
    Examiner Tip: Always mention the 'drawing list' and give concrete examples of geometric primitives and geometric attributes to secure technical terminology marks.
    Pitfall: Assuming vector graphics always have smaller file sizes than bitmapped images under all circumstances.
    ❌ Weak Answer (Loses Marks):Vector graphics are always better because they take up less storage than bitmapped images.
    Example improved answer:Vector graphics typically have smaller file sizes for geometric designs and logos because they only store shape parameters. However, for complex continuous-tone images like photographs with millions of individual colour variations, a vector representation would require an impractical number of individual shapes, resulting in a much larger file size and excessive processing overhead compared to a bitmapped image.
    Examiner Tip: AQA examiners often reward critical evaluation; explain when bitmapped images are preferable to vector graphics and vice versa.
    Step-by-Step Worked Solutions

    Question: Compare the storage requirements and scalability of a company logo saved as an SVG vector graphic versus an uncompressed 24-bit bitmap image when scaled up for display on a large billboard.

    1. 1.Step 1: Explain scalability behaviour for both formats. The vector graphic recalculates geometric primitives based on mathematical equations when resized, meaning edges remain sharp and crisp with zero pixelation at billboard scale. In contrast, enlarging the bitmap causes pixelation, blurring, or jagged edges because individual pixels are enlarged or interpolated.
    2. 2.Step 2: Compare file size behaviour when resolution increases. The vector graphic file size remains constant regardless of the display dimensions because only the coordinates, shapes, and attributes are recorded in the drawing list. The bitmap file size must increase proportionally to the resolution (Width x Height x Colour Depth) if high visual fidelity is required at billboard size.
    3. 3.Step 3: Conclude why the vector format is superior for this specific use case. Vector graphics offer resolution independence and significantly smaller file sizes for logos with distinct shapes and solid colours.
    Final Answer: The SVG stores geometric primitives in a drawing list, allowing infinite scalability with perfectly crisp edges and a fixed, small file size. The bitmap scales poorly, resulting in pixelation, and would require an excessively large file size to maintain high quality at billboard dimensions.

    Question: An image format stores a drawing list containing 150 distinct geometric shapes. Explain what is meant by a 'drawing list' and outline two distinct attributes that must be stored for a circle primitive.

    1. 1.Step 1: Define a drawing list. A drawing list is a collection of commands, shape primitives, and associated properties that dictate the order and method by which an image is rendered on screen.
    2. 2.Step 2: Identify geometric attributes of a circle primitive. Identify at least two mandatory parameters needed to draw the circle mathematically. Valid parameters include centre point coordinates (x, y) and radius (r).
    3. 3.Step 3: Identify visual styling attributes. Valid visual properties include stroke colour, fill colour, stroke width, and opacity.
    Final Answer: A drawing list is a structured list of geometric shapes and commands specifying how to draw the vector image. For a circle primitive, required attributes include its centre coordinates (x, y), radius, line/stroke width, and fill colour.
    Active Recall Memory Test
    What data structure does a vector graphic file use to store shapes and rendering commands?
    Key Fact: A drawing list.
    What is the technical term for converting a vector graphic into a grid of pixels for display?
    Key Fact: Rasterisation.
    State three attributes required to define a line primitive in a vector drawing list.
    Key Fact: Starting coordinates (x1, y1), ending coordinates (x2, y2), stroke colour, and line thickness.
    Frequently Asked Questions
    What is a vector graphic in A-Level Computer Science?
    In AQA A-Level Computer Science, a vector graphic is an image defined by mathematical formulas rather than a grid of pixels. It consists of a drawing list containing geometric primitives such as points, lines, curves, and shapes, along with their associated attributes like line thickness, fill colour, and coordinates. This allows the computer to dynamically recalculate the image at any scale without visual degradation.
    Why cannot photographs be easily stored as vector graphics?
    Photographs contain continuous tones, subtle gradients, and millions of tiny irregular variations in colour and lighting. Representing a photograph as a vector graphic would require millions of microscopic polygons or curves, each with individual attribute definitions. This would produce an enormous drawing list requiring vast storage space and significant processor time to render, making bitmapped formats far more efficient.
    What is the difference between a vector graphic and a bitmap image?
    A bitmap image represents an image as a two-dimensional grid of individual pixels, each with an assigned colour value defined by its colour depth. In contrast, a vector graphic stores mathematical instructions in a drawing list to render shapes dynamically. Bitmaps lose quality and pixelate when enlarged, whereas vector graphics are resolution independent and scale infinitely without quality loss.
    How are vector graphics actually shown on a standard computer monitor?
    Computer monitors are physical raster displays that show images using a grid of hardware pixels. When a vector graphic is opened, the graphics processor executes the instructions in the drawing list and maps the shapes onto the screen grid. This process of converting vector commands into pixels at the display resolution is called rasterisation.