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

{
    "url": "https://numbas.mathcentre.ac.uk/api/questions/480/?format=api",
    "name": "IP3.1",
    "published": true,
    "project": "https://numbas.mathcentre.ac.uk/api/projects/3/?format=api",
    "author": {
        "url": "https://numbas.mathcentre.ac.uk/api/users/6/?format=api",
        "profile": "https://numbas.mathcentre.ac.uk/accounts/profile/6/?format=api",
        "full_name": "Bill Foster",
        "pk": 6,
        "avatar": null
    },
    "edit": "https://numbas.mathcentre.ac.uk/question/480/ip3-1/?format=api",
    "preview": "https://numbas.mathcentre.ac.uk/question/480/ip3-1/preview/?format=api",
    "download": "https://numbas.mathcentre.ac.uk/question/480/ip3-1.zip?format=api",
    "source": "https://numbas.mathcentre.ac.uk/question/480/ip3-1.exam?format=api",
    "metadata": {
        "notes": "\n            \t\t<p><strong>7/07/2012:</strong></p>\n            \t\t        <p>Added tags.</p>\n            \t\t        <p>Checked calculation.</p>\n            \t\t        <p><strong>22/07/2012:</strong></p>\n            \t\t        <p>Added description.</p>\n            \t\t        <p>Ticked stats extension box.</p>\n            \t\t        <p><strong>31/07/2012:</strong></p>\n            \t\t        <p>Added tags.</p>\n            \t\t        <p>Question appears to be working correctly.</p>\n            \t\t        <p><strong>20/12/2012:</strong></p>\n            \t\t        <p>Could increase the number of scenarios by using random string variables. Query tag added for that.</p>\n            \t\t        <p>Also very cumbersome use of variables. But no change proposed for now.</p>\n            \t\t        <p>Checked calculation, OK. Added tested1 tag.</p>\n            \t\t        <p><strong>21/12/2012:</strong></p>\n            \t\t        <p>Although asks for solution to 2 dps, there is no rounding as the raw values are to 2 dps. Added sc tag for possible scenarios.</p>\n            \t\t",
        "description": "<p>Given a probability mass function $P(X=i)$ with outcomes $i \\in \\{0,1,2,\\ldots 8\\}$, find the expectation $E$ and $P(X \\gt E)$.</p>",
        "licence": "Creative Commons Attribution 4.0 International"
    },
    "status": "ok",
    "resources": []
}