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

{
    "url": "https://numbas.mathcentre.ac.uk/api/questions/11927/?format=api",
    "name": "Calculate expectation and a probability from a frequency table, , , ",
    "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/11927/calculate-expectation-and-a-probability-from-a-fre/?format=api",
    "preview": "https://numbas.mathcentre.ac.uk/question/11927/calculate-expectation-and-a-probability-from-a-fre/preview/?format=api",
    "download": "https://numbas.mathcentre.ac.uk/question/11927/calculate-expectation-and-a-probability-from-a-fre.zip?format=api",
    "source": "https://numbas.mathcentre.ac.uk/question/11927/calculate-expectation-and-a-probability-from-a-fre.exam?format=api",
    "metadata": {
        "notes": "<p><strong>7/07/2012:</strong></p>\n                <p>Added tags.</p>\n                <p>Checked calculation.</p>\n                <p><strong>22/07/2012:</strong></p>\n                <p>Added description.</p>\n                <p>Ticked stats extension box.</p>\n                <p><strong>31/07/2012:</strong></p>\n                <p>Added tags.</p>\n                <p>Question appears to be working correctly.</p>\n                <p><strong>20/12/2012:</strong></p>\n                <p>Could increase the number of scenarios by using random string variables. Query tag added for that.</p>\n                <p>Also very cumbersome use of variables. But no change proposed for now.</p>\n                <p>Checked calculation, OK. Added tested1 tag.</p>\n                <p><strong>21/12/2012:</strong></p>\n                <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>",
        "licence": "Creative Commons Attribution 4.0 International",
        "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>"
    },
    "status": "ok",
    "resources": []
}