GET /api/questions/12046/?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "https://numbas.mathcentre.ac.uk/api/questions/12046/?format=api",
    "name": "Calculate probability of either of two events occurring",
    "published": true,
    "project": "https://numbas.mathcentre.ac.uk/api/projects/601/?format=api",
    "author": {
        "url": "https://numbas.mathcentre.ac.uk/api/users/697/?format=api",
        "profile": "https://numbas.mathcentre.ac.uk/accounts/profile/697/?format=api",
        "full_name": "Newcastle University Mathematics and Statistics",
        "pk": 697,
        "avatar": {
            "20x20": "https://numbas.mathcentre.ac.uk/media/avatars/UnivNcle-shield_mKn5GZP.20x20.png",
            "40x40": "https://numbas.mathcentre.ac.uk/media/avatars/UnivNcle-shield_mKn5GZP.40x40.png",
            "150x150": "https://numbas.mathcentre.ac.uk/media/avatars/UnivNcle-shield_mKn5GZP.150x150.png"
        }
    },
    "edit": "https://numbas.mathcentre.ac.uk/question/12046/calculate-probability-of-either-of-two-events-occu/?format=api",
    "preview": "https://numbas.mathcentre.ac.uk/question/12046/calculate-probability-of-either-of-two-events-occu/preview/?format=api",
    "download": "https://numbas.mathcentre.ac.uk/question/12046/calculate-probability-of-either-of-two-events-occu.zip?format=api",
    "source": "https://numbas.mathcentre.ac.uk/question/12046/calculate-probability-of-either-of-two-events-occu.exam?format=api",
    "metadata": {
        "licence": "Creative Commons Attribution 4.0 International",
        "description": "<p>Example showing how to calculate the probability of A or B using the law $p(A \\;\\textrm{or}\\; B)=p(A)+p(B)-p(A\\;\\textrm{and}\\;B)$.&nbsp;</p>\n<p>Also converting percentages to probabilities.</p>\n<p>Easily adapted to other applications.</p>"
    },
    "status": "ok",
    "resources": []
}