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

{
    "url": "https://numbas.mathcentre.ac.uk/api/questions/12175/?format=api",
    "name": "Calculate probabilities from 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/12175/calculate-probabilities-from-frequency-table/?format=api",
    "preview": "https://numbas.mathcentre.ac.uk/question/12175/calculate-probabilities-from-frequency-table/preview/?format=api",
    "download": "https://numbas.mathcentre.ac.uk/question/12175/calculate-probabilities-from-frequency-table.zip?format=api",
    "source": "https://numbas.mathcentre.ac.uk/question/12175/calculate-probabilities-from-frequency-table.exam?format=api",
    "metadata": {
        "notes": "\n\t\t    \t\t            \t\t<p><strong>28/12/2012:</strong></p>\n\t\t    \t\t            \t\t    <p>Using the inbuilt table function for now. This needs to be changed - either to direct input of an html table or improving the table function e.g. adding borders etc.</p>\n\t\t    \t\t            \t\t    <p>The udf accumdisp(a,t) outputs a string of the form a[0]+a[1]+..a[t-1] &nbsp;- useful to show in the solution the elements of the list we are summing over.</p>\n\t\t    \t\t            \t\t    <p>There is a scenario variable sk, which is intended to be the beginning of a list of possible randomised scenarios. Probably best if this included other text based string variables (e.g. car loans could be the value of such a variable).</p>\n\t\t    \t\t            \t\t    <p>Easy to make this have a variable number of ranges of loans. Only need to pay some attention to the creation of the list n giving the number of loans in each range - need to make that sensible.</p>\n\t\t    \t\t            \n\t\t    \n\t\t",
        "licence": "Creative Commons Attribution 4.0 International",
        "description": "<p>Simple probability question. Counting number of occurrences of an event in a sample space with given size and finding the probability of the event.</p>"
    },
    "status": "ok",
    "resources": []
}