// Numbas version: exam_results_page_options {"name": "Getting Started", "metadata": {"description": "
A collection of information and activities to introduce students to Numbas. There is some information on how Numbas works, information on how to write answers to mathematical expression and number entry parts, and a \"test yourself\" explore mode activity.
\nNote: This exam was written for students accessing Numbas exams through the Numbas LTI tool. Some of the information does not apply to exams accessed standalone or through a generic SCORM player.
", "licence": "Creative Commons Attribution 4.0 International"}, "duration": 0, "percentPass": "0", "showQuestionGroupNames": true, "shuffleQuestionGroups": false, "showstudentname": true, "question_groups": [{"name": "Introduction", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", ""], "variable_overrides": [[], [], []], "questions": [{"name": "Make yourself comfortable", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "tags": [], "metadata": {"description": "This question describes how students can adjust Numbas to their liking, using the exam display options and their browser's settings.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "You can adjust Numbas to make it easier for you to use.
", "advice": "", "rulesets": {}, "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": true, "customName": "Display options", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Click the Display options button to choose colours for text and the page's background. You can change these settings at any time during the exam.
\nYou can change the size of text using the control in Display options, or use your browser's zoom feature to enlarge everything on the page.
"}, {"type": "information", "useCustomName": true, "customName": "Zoom in", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "On devices with a keyboard, pressing Ctrl and + together, or \u2318 and + on a Mac, zooms in, while Ctrl and -, or \u2318 and - on a Mac, zooms out. The browser's settings menu also usually has buttons to zoom in and out.
\nOn devices with a touchscreen, you can usually use the pinch gesture to zoom in or out.
\nWhen a question includes an image, you can click on the image to magnify it as much as possible. Click outside the image, or press the Esc key, to return to the question.
"}, {"type": "information", "useCustomName": true, "customName": "Controlling Numbas", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Numbas can be accessed on a touch screen; with a mouse and keyboard; or with just a keyboard.
\nIf you're just using a keyboard, note that you can press Enter in an answer input box to submit it.
"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "How Numbas works", "extensions": [], "custom_part_types": [], "resources": [["question-resources/640px-Numbat.jpg", "/srv/numbas/media/question-resources/640px-Numbat.jpg"]], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "tags": [], "metadata": {"description": "This question contains information on how Numbas works, from the beginning of an exam to the end.
\nNote: it was written for students who access Numbas exams through the Numbas LTI provider. Some of the information does not apply to standalone exams, or those delivered through a generic SCORM player.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "A Numbas exam consists of one or more questions, each of which consists of one or more parts.
\nYour score for the question is the sum of your scores for each of the parts.
\n", "advice": "If this was a real question, there'd be a fully worked solution here. Instead, there's just this text to show where it would go.
\nAnd a picture of a numbat.
\n", "rulesets": {}, "variables": {"n": {"name": "n", "group": "Ungrouped variables", "definition": "random(1..20)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["n"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": true, "customName": "Exam navigation modes", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "This Numbas exam is presented in menu mode - you can choose to access any question in the exam from the menu.
\nExams that count towards course credit are normally presented in sequential mode - you work through a list of questions, and you can end the exam to lock your answers and see the feedback.
\nYou can move between questions however you like. It's a good idea to have a look at each of the questions in an exam before choosing the first one to answer.
\nIf the instructor has chosen to restrict your movement between questions, you'll be asked to confirm before leaving a question.
"}, {"type": "information", "useCustomName": true, "customName": "Randomisation", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Many Numbas questions are randomised. This means that for each attempt at the question, numbers and other information in the question are picked at random.
\nFor practice material, this provides an inexhaustible supply of questions on a particular topic, while for assessed material it means that you're very unlikely to be shown exactly the same question as another student.
\nInstructors set up the randomisation so that all possible versions of a randomised question are as difficult as each other.
\nAn example: this time, I have randomly picked the number {n}, which is {if(mod(n,2)=0,\"even\",\"odd\")}.
"}, {"type": "information", "useCustomName": true, "customName": "Submitting an answer", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "After you enter an answer for a part, click the Submit part button. Your answer is marked immediately. You might be immediately shown the number of marks awarded and some feedback text, if the instructor has enabled it, or you might have to wait until the exam is finished.
\nYou can submit an answer to a part as many times as you like, with no penalty.
\nAnswers entered but not submitted are not marked: it's important that you submit each answer after entering it.
\nIf you submit an answer that is not valid - for example, if it's in the wrong format - Numbas will not mark it and will show a message describing what is wrong. Some kinds of errors, such as missing brackets, can be caught before you submit - you'll be shown a warning message next to the input box.
"}, {"type": "numberentry", "useCustomName": true, "customName": "Try submitting an answer", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The correct answer to this part is the number $1$.
\nTry submitting the number $1$. Try submitting a different number. Try writing an invalid answer, such as £1
.
Notice the feedback you get for each answer.
", "minValue": "1", "maxValue": "1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "information", "useCustomName": true, "customName": "Saving your progress", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The data to do with your attempt at the exam is saved automatically as you progress. If you leave an exam and come back to it, everything will be just as you left it.
\nUnsubmitted answers are saved too, but you must submit them before ending the exam in order for them to be marked.
\nTry closing this exam and re-entering it.
"}, {"type": "information", "useCustomName": true, "customName": "Steps", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The instructor might offer a hint, or an opportunity to enter intermediate steps in a calculation, under the Show steps button. Text next to the button will tell you if a penalty will be applied for showing the steps. When there is a penalty, it reduces the maximum score you can obtain: your final score for the part is scaled down appropriately.
"}, {"type": "1_n_2", "useCustomName": true, "customName": "A part with steps", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Is $\\var{n}$ even, or odd?
", "stepsPenalty": "1", "steps": [{"type": "numberentry", "useCustomName": true, "customName": "Hint", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A number is even if there's no remainder when you divide it by $2$.
\nWhat's the remainder when you divide $\\var{n}$ by $2$?
", "minValue": "mod(n,2)", "maxValue": "mod(n,2)", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minMarks": 0, "maxMarks": 0, "shuffleChoices": false, "displayType": "radiogroup", "displayColumns": 0, "showCellAnswerState": true, "choices": ["Even", "Odd"], "matrix": ["award(3,mod(n,2)=0)", "award(3,mod(n,2)=1)"], "distractors": ["", ""]}, {"type": "information", "useCustomName": true, "customName": "Adaptive marking", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Some questions can account for your answers to previous parts while marking, either to prevent errors from being carried forward, or to allow you to make a free choice of a parameter.
\nWhen a question uses one of your previous answers, the message \"This part has been marked using your answers to previous parts\" is shown in the feedback area. The question might apply a penalty, reducing your score, when this happens.
"}, {"type": "information", "useCustomName": true, "customName": "Timed exams", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "When an exam has a timer, it begins immediately after you click the Begin button. The timer continues running even if you close the exam.
"}, {"type": "information", "useCustomName": true, "customName": "Try another question", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "For practice material, the instructor might turn on the Try another question like this one button.
\nWhen you click it, the question is regenerated from scratch. If it's randomised, you'll be shown new random values.
\nClick the Try another question like this one button now. The number in the \"Randomisation\" section will change, and all the answer inputs will be cleared.
"}, {"type": "information", "useCustomName": true, "customName": "Advice", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "If the instructor allows it, you can click Reveal answers to reveal the answers to all of the question parts, and the Advice text. This normally contains a fully worked solution to the question.
\nAfter the exam has ended, the answers and advice are automatically revealed, unless the instructor has chosen to delay or disable them.
\nTry clicking Reveal answers now.
"}, {"type": "information", "useCustomName": true, "customName": "Ending the exam", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "After you click End exam, all of your answers are locked: you can't change them any more. If the instructor allows it, you will be shown your score and feedback for each question. You can click on a question to review it: you'll see the question text along with any answers you submitted.
\nYou can print a transcript of your attempt for your records. You can usually re-enter an attempt in review mode at a later date, too.
\nIf you re-enter an exam after ending it, you can see any feedback, and review your answers but not change them.
\nThe instructor might choose only to reveal the expected answers and advice after a certain date. If you re-enter the exam after this date, you will be shown all of the advice; until then, you will only be able to see your own answers.
\nIf you don't manage to end the exam before the deadline passes, the total score from the parts you answered is saved. So it's really important to submit your answers as you go!
\nThis exam is in menu mode, so there's no End exam button.
"}, {"type": "information", "useCustomName": true, "customName": "Receipts", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "After the exam ends, you will be shown a code representing your result. You might also be emailed a copy of the same information.
\nIf there's any uncertainty about whether your score was saved correctly, you can send this code to the instructor to verify it.
"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "What to do if you have trouble", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "tags": [], "metadata": {"description": "This question describes what to do if the student thinks there's a mistake in the exam, or if they have connection trouble.
\nNote: this advice was written for students who access Numbas exams through the Numbas LTI provider.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "If you have any trouble using Numbas, or a query about a test, contact your instructor first. If they can't solve the problem, they'll pass your message on to the Numbas team.
", "advice": "", "rulesets": {}, "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": true, "customName": "Incorrectly marked answers", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Numbas exams are tested before being used for assessment, but errors can go unnoticed.
\nIf you think your answer was marked incorrectly, contact your module leader. Tell them which question you think was marked incorrectly. If you can, include a screenshot of the Numbas exam, showing both your answer and the feedback.
\nThe module leader is able to review your attempt, and will decide if your answer was marked incorrectly. If it was, they can amend your mark.
"}, {"type": "information", "useCustomName": true, "customName": "Connection problems", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "If your device loses its connection to the Numbas server during an exam, you will be shown a large red box explaining that there is no connection.
\nYou can continue working through the exam while there's no connection - all the marking happens on your device, and your progress is saved to your device's storage.
\nWhen the connection is restored, all of the data will be sent back to the server. Once all the data is saved, the red box will disappear.
\nIf you have to close the exam while there's no connection to the server, your data is still saved locally. The next time you open the exam on the same device, it will resume exactly where you were, and it will again try to save the data to the server.
\nIf you open the exam on a different device, it will resume at the last point that was successfully saved to the server.
\nIf you end the exam while there's no connection, leave the exam open until the red warning message disappears and is replaced by the green success message.
"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Entering answers", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", ""], "variable_overrides": [[], []], "questions": [{"name": "Mathematical expressions", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "tags": [], "metadata": {"description": "This question gives information on how to answer mathematical expression parts, and some opportunities to try submitting answers.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "\n", "advice": "", "rulesets": {}, "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": "#everything table td:nth-child(2) {\n text-align: left;\n padding: 0.5em;\n}\n\n#everything table tr:not(:last-child) td {\n border-bottom: 1px solid lightgray;\n}"}, "parts": [{"type": "information", "useCustomName": true, "customName": "Writing a mathematical expression", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Use your keyboard to write mathematical expressions. As you type, a rendering of your expression as it was interpreted by Numbas will be shown next to the input box.
"}, {"type": "information", "useCustomName": true, "customName": "Syntax reference", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "To produce | \nYou write | \n
---|---|
$a+b$ | \na+b | \n
$a \\times b$ | \na*b | \n
$a \\div b$ or $\\frac{a}{b}$ | \na/b | \n
$\\frac{a+b}{c+d}$ | \n(a+b)/(c+d) | \n
$e^x$ | \ne^x or exp(x) | \n
$x^2$ | \nx^2 | \n
$\\sqrt{x}$ | \nsqrt(x) | \n
$\\sqrt[3]{x}$ | \nx^(1/3) | \n
$n!$ | \nn! or fact(n) | \n
$\\sin(\\theta)$ | \nsin(theta) | \n
$\\sin^2(\\theta)$ | \nsin(theta)^2 | \n
$\\sin^{-1}(\\theta)$ | \narcsin(theta) | \n
$|x|$ | \nabs(x) | \n
The order of operations is:
\nFor multiplication/division and addition/subtraction, the leftmost operation is performed first.
\n"}, {"type": "information", "useCustomName": true, "customName": "Implicit multiplication", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "In handwritten mathematics, the multiplication symbol is often omitted. Numbas allows this when there is no ambiguity about what the expression could represent.
\nYou can always omit the multiplication symbol when a number is followed by a variable name, function, or a set of brackets.
\nYou can always omit the multiplication symbol between two sets of brackets.
\nBe careful when writing the product of two variables - xy might be interpreted as a single variable with a two-letter name, instead of the product of $x$ and $y$. Long variable names are rendered using an upright style, instead of italics.
\nA space character between two variable names will cause Numbas to interpret them as separate items with an implicit multiplication. For example, xy
represents a single variable, while x y
represents the product of the two variables $x$ and $y$.
Use brackets to group parts of an expression, overriding the normal order of operations.
\nFor example, x/(a+b)
represents $\\frac{x}{a+b}$, while x/a+b
represents $\\frac{x}{a} + b$.
Only round brackets are used for grouping; square brackets delimit lists, and curly brackets are ignored.
"}, {"type": "information", "useCustomName": true, "customName": "Functions", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "A function application is a name followed by one or more parameters, enclosed in brackets.
\nYou must put brackets around the argument.
\nsin
, cos
, tan
, sec
, cosec
, cot
, arcsin
, arccos
, arctan
The common notation for powers of trigonometric functions, $\\sin^2(x)$, is not supported: you must write sin(x)^2
.
sinh
, cosh
, tanh
, sech
, cosech
, coth
, arcsinh
, arccosh
, arctanh
ln(x)
represents the natural logarithm of $x$.
log(x)
represents the logarithm of $x$ with base 10.
log(x,b)
represents the logarithm with base $b$ of $x$.
abs(x)
represents the absolute value of a number $x$, or the length of a vector $x$.
sqrt(x)
represents the square root of $x$.
Numbas understands the following logical connectives:
\nTo produce | \nWrite | \nMeaning | \n
---|---|---|
$\\neg P$ | \nnot P | \nnot $P$ | \n
$P \\wedge Q$ | \nP and Q | \nBoth $P$ and $Q$ | \n
$P \\vee Q$ | \nP or Q | \nEither $P$ or $Q$ | \n
$P \\operatorname{XOR} Q$ | \nP xor Q | \n$P$ or $Q$, but not both | \n
$P \\implies Q$ | \nP implies Q | \n$P$ implies $Q$ | \n
Numbas understands the following relation symbols:
\nTo produce | \nWrite | \nMeaning | \n
---|---|---|
$=$ | \n= | \nis equal to | \n
$\\ne$ | \n<> | \nis not equal to | \n
$\\lt$ | \n< | \nis less than | \n
$\\gt$ | \n> | \nis greater than | \n
$\\leq$ | \n<= | \nis less than or equal to | \n
$\\geq$ | \n>= | \nis greater than or equal to | \n
You can write a chain of relations: x < y < z
is equivalent to (x<y) and (y<z)
.
Numbas also understands a few other symbols:
\nTo produce | \nYou type | \nMeaning | \n
---|---|---|
$\\pi$ | \npi | \nThe ratio of a circle's circumference to its diameter | \n
$e$ | \ne | \nThe base of the natural logarithm | \n
$i$ | \ni | \nThe imaginary unit, $\\sqrt{-1}$ | \n
Use the underscore character _
to produce a subscript. For example, to produce $x_1$, write x_1
.
To produce | \nYou write | \n
---|---|
$\\alpha$ | \nalpha | \n
$\\beta$ | \nbeta | \n
$\\gamma$ | \ngamma | \n
$\\delta$ | \ndelta | \n
$\\epsilon$ | \nepsilon | \n
$\\zeta$ | \nzeta | \n
$\\eta$ | \neta | \n
$\\theta$ | \ntheta | \n
$\\iota$ | \niota | \n
$\\kappa$ | \nkappa | \n
$\\lambda$ | \nlambda | \n
$\\mu$ | \nmu | \n
$\\nu$ | \nnu | \n
$\\xi$ | \nxi | \n
$\\omicron$ | \nomicron | \n
$\\pi$ | \npi | \n
$\\rho$ | \nrho | \n
$\\sigma$ | \nsigma | \n
$\\tau$ | \ntau | \n
$\\upsilon$ | \nupsilon | \n
$\\phi$ | \nphi | \n
$\\chi$ | \nchi | \n
$\\psi$ | \npsi | \n
$\\omega$ | \nomega | \n
$\\Gamma$ | \nGamma | \n
$\\Delta$ | \nDelta | \n
$\\Theta$ | \nTheta | \n
$\\Lambda$ | \nLambda | \n
$\\Xi$ | \nXi | \n
$\\Pi$ | \nPi | \n
$\\Sigma$ | \nSigma | \n
$\\Upsilon$ | \nUpsilon | \n
$\\Phi$ | \nPhi | \n
$\\Psi$ | \nPsi | \n
$\\Omega$ | \nOmega | \n
Write a mathematical expression in the box below.
", "answer": "x", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "information", "useCustomName": true, "customName": "Interpreting the preview rendering", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Use the rendering to check that your answer has been interpreted as you intended.
\nVariable names are displayed using italic characters.
\nLong variable names - those made of more than one character, are displayed using a fixed-width font, e.g. $\\texttt{abc}$.
\nFunction names are displayed in an upright font, rather than the italics used for variables. For example, $\\sin(x)$ instead of $sin(x)$.
\nThe rendering only uses brackets when necessary - the relative position of symbols is often enough to convey their meaning. For example, (a+b)/(c+d)
is displayed as $\\frac{a+b}{c+d}$.
The multiplication symbol is only used when necessary. Note that the product of $x$ and $y$ is displayed as $xy$, while the product of $2$ and $3$ is displayed as $2 \\times 3$.
"}, {"type": "information", "useCustomName": true, "customName": "Marking", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Numbas marks a mathematical expression by comparing it with an expected answer. If the answer must be in a certain form, the question will say so, but otherwise any expression that produces exactly the same values as the expected answer is marked correct.
"}, {"type": "jme", "useCustomName": true, "customName": "Try it - any form accepted", "marks": "1", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "In this part, the expected answer is $2x+4$. Any expression equivalent to that will be marked as correct.
\nTry writing:
\n2*x+4
2(x+2)
(cos(0)+1)*(x+sqrt(4))
In this part, the expected answer is again $2x+4$, but only answers in the form $ax+b$, for some numbers $a$ and $b$, will be accepted.
This question gives information for students on how to answer number entry parts, with some opportunities to try submitting answers.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"x": {"name": "x", "group": "Ungrouped variables", "definition": "random(100..1000#0)", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["x"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": true, "customName": "Notation", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Numbers can be entered as integers, decimals or fractions.
\nEach question will tell you which kinds of numbers are acceptable in answers.
\nPut a dash before a number to make it negative. For example, -2
.
Number format | \nDefinition | \nExample | \n
---|---|---|
Integer | \nA sequence of digits | \n142 | \n
Decimal | \nA sequence of digits, optionally followed by a . and more digits | \n53.321 | \n
Fraction | \nTwo integers, separated by a / | \n22 / 7 | \n
Commas or spaces to separate powers of 1,000 are usually allowed.
"}, {"type": "numberentry", "useCustomName": true, "customName": "Try writing different notation", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [{"variables": [{"name": "x", "value": "174.1787185383"}], "name": "53", "answer": {"valid": true, "value": "53", "empty": false}, "notes": [{"name": "mark", "expected": {"value": "nothing", "messages": [{"op": "add_credit", "credit": 1, "message": "Your answer is correct.\n\nYou were awarded 1 mark.", "reason": "correct", "credit_change": "positive"}], "warnings": [], "error": "", "valid": true, "credit": 1}}]}, {"variables": [{"name": "x", "value": "174.1787185383"}], "name": "3,000", "answer": {"valid": true, "value": "3,000", "empty": false}, "notes": [{"name": "mark", "expected": {"value": "nothing", "messages": [{"op": "add_credit", "credit": 1, "message": "Your answer is correct.\n\nYou were awarded 1 mark.", "reason": "correct", "credit_change": "positive"}], "warnings": [], "error": "", "valid": true, "credit": 1}}]}, {"variables": [{"name": "x", "value": "174.1787185383"}], "name": "-0.3213", "answer": {"valid": true, "value": "-0.3213", "empty": false}, "notes": [{"name": "mark", "expected": {"value": "nothing", "messages": [{"op": "add_credit", "credit": 1, "message": "Your answer is correct.\n\nYou were awarded 1 mark.", "reason": "correct", "credit_change": "positive"}], "warnings": [], "error": "", "valid": true, "credit": 1}}]}, {"variables": [{"name": "x", "value": "174.1787185383"}], "name": "600/11", "answer": {"valid": true, "value": "600/11", "empty": false}, "notes": [{"name": "mark", "expected": {"value": "nothing", "messages": [{"op": "add_credit", "credit": 1, "message": "Your answer is correct.\n\nYou were awarded 1 mark.", "reason": "correct", "credit_change": "positive"}], "warnings": [], "error": "", "valid": true, "credit": 1}}]}], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "In this part, any number between -5,000 and 5,000 is marked as correct.
\nTry writing:
\n53
- an integer.3,000
- an integer with a comma after the thousands digit.-0.3213
- a decimal.600/11
- a fraction.Sometimes you are asked to round your answer to a certain number of decimal places or significant figures. Text near the input box will tell you how much precision to give.
\nIf you give an answer that is too precise, you may be penalised.
"}, {"type": "gapfill", "useCustomName": true, "customName": "Try rounding", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The correct answer for both inputs in this part is {x}, but each input specifies a different precision that you must round to.
\n[[0]]
\n[[1]]
\nTry submitting {dpformat(x,0)}.0
for the above part. Should it be marked as correct?
[[2]]
\n[[3]]
\nClick Try another question to get a different number to try.
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "2 decimal places", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "x", "maxValue": "x", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "0 decimal places", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "x", "maxValue": "x", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "0", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "2 significant figures", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "x", "maxValue": "x", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "2", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "5 significant figures", "marks": "2", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "x", "maxValue": "x", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "5", "precisionPartialCredit": "50", "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}, {"type": "information", "useCustomName": true, "customName": "Scientific notation", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "You might be asked to give an answer in scientific notation, also known as standard form.
\nA number is in standard form when it is written in the form $a \\times 10^b$, where $a$ is a decimal number between $1$ and $10$, called the significand, and $b$ is an integer, called the exponent.
\nTo write a number in scientific notation in Numbas, use the letter e
to separate the significand and exponent.
For example, $8.2 \\times 10^{-32}$ is written as 8.2e-32
.
This part will mark any number written in scientific notation as correct.
\nTry:
\n1e0
5.32e100
1.45e-30
-3e+3
Occasionally, the answer to a question is \"infinity\". While infinity is not a number, it's accepted as a valid answer to a number entry part.
\nFor positive infinity, write infinity
.
For negative infinity, write -infinity
.
An explore mode activity containing a lot of questions, for students to check their understanding of the information in the \"Getting Started\" material.
\nNote: This question was written for students accessing Numbas exams through the Numbas LTI tool. Some of the information does not apply to exams accessed standalone or through a generic SCORM player.
", "licence": "Creative Commons Attribution 4.0 International"}, "statement": "", "advice": "", "rulesets": {}, "builtin_constants": {"e": true, "pi,\u03c0": true, "i": true}, "constants": [], "variables": {"sin_triangle": {"name": "sin_triangle", "group": "Ungrouped variables", "definition": "eukleides(\"A right-angled triangle with hypotenuse 1 and one angle labelled 'x'. The length of the opposite side is labelled 'h'.\",let(\n a, origin\n, b, point(3,0)\n, c, b+vector(0,2)\n,[\n a..b..c\n, (a..c) label(\"1\")\n, angle(b,a,c) label(\"x\")\n, angle(c,b,a) right\n, ((c..b)+vector(0.25,0)) arrows\n, ((c..b)+vector(0.25,0)) label(\"h\")\n]))", "description": "", "templateType": "anything", "can_override": false}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["sin_triangle"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "information", "useCustomName": true, "customName": "Introduction", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "How Numbas works", "rawLabel": "", "otherPart": 1, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Mathematical expressions", "rawLabel": "", "otherPart": 10, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Numbers", "rawLabel": "", "otherPart": 33, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "This explore mode activity contains some questions to test your understanding of how Numbas works, and how to enter answers.
\nThere are separate threads for different aspects of Numbas.
\nWhen you've reached the end of one thread of questions, use the links at the top of the page to come back here and try another thread.
\nSome of the questions offer hints, in case you get stuck. There's no score penalty for looking at a hint.
"}, {"type": "information", "useCustomName": true, "customName": "How Numbas works", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "When is your answer marked?", "rawLabel": "", "otherPart": 2, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Can you re-enter a test?", "rawLabel": "", "otherPart": 7, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "These parts test your understanding of how the Numbas system works.
"}, {"type": "1_n_2", "useCustomName": true, "customName": "When is your answer marked?", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Can you change your answer?", "rawLabel": "", "otherPart": 3, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "How Numbas works", "prompt": "When is your answer to a question part marked?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["When you press Submit part.", "Immediately after you enter your answer.", "At the end of the exam.", "When you leave the question."], "matrix": ["1", 0, 0, 0], "distractors": ["", "Your answer is not marked until you press \"Submit part\".", "Your answer is only marked when you press \"Submit part\". When the exam ends, unsubmitted answers are ignored.", "Your answer is only marked when you press \"Submit part\". If you leave a question with unsubmitted answers, you must return later and submit them."]}, {"type": "1_n_2", "useCustomName": true, "customName": "Can you change your answer?", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "What happens to unsubmitted answers?", "rawLabel": "", "otherPart": 4, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "How Numbas works", "prompt": "Can you change your answer after submitting it?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["Yes, as many times as you like.", "Yes, but a penalty may be applied.", "Yes, up to a limit chosen by the instructor.", "No, once it's submitted it's locked."], "matrix": ["1", 0, 0, 0], "distractors": ["", "There is never a penalty for changing your answer.", "You may change your answer as many times as you like.", "You may change your answer as many times as you like."]}, {"type": "1_n_2", "useCustomName": true, "customName": "What happens to unsubmitted answers?", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Can Numbas apply error-carried-forward marking?", "rawLabel": "", "otherPart": 5, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "How Numbas works", "prompt": "If you enter an answer to a question part but do not submit it, what happens to it when you end the exam?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["It's ignored and your last submitted answer is marked, or if you never submitted, you get no marks for that part.", "It's marked as if you had submitted it.", "It's marked as if you had submitted it, but a penalty may be applied.", "It's ignored and that part is discounted from the exam."], "matrix": ["1", 0, 0, 0], "distractors": ["", "Unsubmitted answers are never marked.", "Unsubmitted answers are never marked.", "Unsubmitted answers are never marked, but the part still counts towards the total mark available for the exam."]}, {"type": "1_n_2", "useCustomName": true, "customName": "Can Numbas apply error-carried-forward marking?", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Who should you contact about marking?", "rawLabel": "", "otherPart": 6, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "How Numbas works", "prompt": "Consider a question with two parts:
\nSuppose you do the following:
\nHow will your answers be marked?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["Part a): 0 marks.If you believe that your answer to a Numbas question has been marked incorrectly, who should you contact?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["Your module leader.", "The Numbas team.", "A classmate."], "matrix": ["1", 0, 0], "distractors": ["", "The Numbas team might not be familiar with the material in your Numbas test. You should contact your module leader first.", "A classmate might be able to explain why your answer was in fact marked correctly, but only your module leader can fix a marking error."]}, {"type": "1_n_2", "useCustomName": true, "customName": "Can you re-enter a test?", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "What happens when the connection is lost?", "rawLabel": "", "otherPart": 8, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "How Numbas works", "prompt": "If you leave a Numbas exam without ending it, can you re-enter it?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["Yes, and it'll pick up where you were.", "Yes, but you have to start again.", "No. The exam ends automatically when you quit."], "matrix": ["1", 0, 0], "distractors": ["", "Numbas saves your progress and when you resume an attempt it picks up where you were.", "The exam only ends when you click \"End exam\" or the assessment deadline passes."]}, {"type": "m_n_2", "useCustomName": true, "customName": "What happens when the connection is lost?", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "How does the timer work?", "rawLabel": "", "otherPart": 9, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "How Numbas works", "prompt": "If your device loses its connection to the Numbas server in the middle of an exam, what happens?
\nTick every true statement.
", "minMarks": 0, "maxMarks": "1", "shuffleChoices": true, "displayType": "checkbox", "displayColumns": "1", "minAnswers": 0, "maxAnswers": 0, "warningType": "none", "showCellAnswerState": true, "markingMethod": "score per matched cell", "choices": ["You can continue the exam.", "The exam pauses until the connection is restored.", "The exam ends.", "Your progress is saved to your device's storage", "Any progress you make is lost when the connection is restored"], "matrix": ["1", 0, 0, "1", 0], "distractors": ["", "You can continue working on an exam even while there's no connection. Once the connection is restored, your progress will be saved to the server.", "You can continue working on an exam even while there's no connection. Once the connection is restored, your progress will be saved to the server.", "", "When the connection is restored, any progress you've made since the connection was lost is saved to the server."]}, {"type": "1_n_2", "useCustomName": true, "customName": "How does the timer work?", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "How Numbas works", "prompt": "If you leave a timed Numbas exam and come back to it later, what happens?
", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["The timer continues running while the exam is closed.", "The timer stops when you leave the exam, and starts again when you re-enter."], "matrix": ["1", 0], "distractors": ["", "The timer continues running when the exam is closed. When you re-enter, the time remaining is calculated from the time you started the exam."]}, {"type": "information", "useCustomName": true, "customName": "Mathematical expressions", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Trigonometric function", "rawLabel": "", "otherPart": 21, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Write a subscript", "rawLabel": "", "otherPart": 25, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Logarithms", "rawLabel": "", "otherPart": 27, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Grouping in a division", "rawLabel": "", "otherPart": 18, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Multiplication", "rawLabel": "", "otherPart": 11, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "These parts test your understanding of how to enter mathematical expressions as answers in Numbas.
\nIf you get stuck, have another look at the mathematical expressions part of the \"entering answers\" section.
"}, {"type": "jme", "useCustomName": true, "customName": "Multiplication", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "More multiplication", "rawLabel": "", "otherPart": 12, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "Write $5x+2y$.
", "answer": "5x+2y", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "More multiplication", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Exponential", "rawLabel": "", "otherPart": 14, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "More multiplication hint", "rawLabel": "", "otherPart": 13, "variableReplacements": [], "availabilityCondition": "not (answered and credit=1)", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "What is the area of a rectangle with sides $x$ and $\\sin(y)$?
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "No multiplication symbol", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "Did you forget to put a multiplication symbol *
between x
and sin(y)
?
The area is $x \\sin(y)$.
"}, {"type": "jme", "useCustomName": true, "customName": "Exponential", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Get a hint", "rawLabel": "Get a hint", "otherPart": 15, "variableReplacements": [], "availabilityCondition": "not (answered and credit=1)", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Expand some brackets", "rawLabel": "", "otherPart": 17, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "What is the volume of a cube with sides of length $a$?
", "answer": "a^3", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "a", "value": ""}]}, {"type": "information", "useCustomName": true, "customName": "Exponential hint", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Get another hint", "rawLabel": "Get another hint", "otherPart": 16, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The volume is $a^3$.
"}, {"type": "information", "useCustomName": true, "customName": "Exponential syntax hint", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Write ^
to produce a power or exponent.
Expand the brackets in the following expression:
\n\\[ (2x+y)(x+3y) \\]
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "Missed multiplication sign", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "Dif you forget to put a multiplication symbol *
between x
and y
?
Write $\\frac{5}{4-x}$.
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "No brackets", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "Did you forget to put brackets around 4-x
?
Write $\\frac{(x+1)(x+2)}{(x+3)(x+4)}$.
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "No extra brackets on the bottom", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "You must put another set of brackets around the terms on the bottom of the fraction to make sure they're collected together.
", "useAlternativeFeedback": false, "answer": "(x+1)(x+2)/(x+3)(x+4)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "answer": "((x+1)(x+2))/((x+3)(x+4))", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "Grouping in an exponent", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "Write $\\simplify{e^(5x)}$.
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "No brackets", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "Did you forget to put brackets around 5x
?
Exponentiation is evaluated before multiplication, so you must put brackets around 5x
so it's all used in the exponent.
{max_width(20,sin_triangle)}
\nIn a right-angled triangle with hypotenuse 1, what is the length, $h$, of the side opposite to the angle $x$?
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "sinx", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "You must put brackets around the argument of a function.
", "useAlternativeFeedback": false, "answer": "sinx", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "sinx", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "sin x", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "You must put brackets around the argument of a function.
", "useAlternativeFeedback": false, "answer": "sin x", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "sin", "value": ""}, {"name": "x", "value": ""}]}], "answer": "sin(x)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "information", "useCustomName": true, "customName": "Trigonometric function hint", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The length of the opposite side is $\\sin(x)$.
"}, {"type": "gapfill", "useCustomName": true, "customName": "Square of a trigonometric function", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Inverse trigonometric function", "rawLabel": "", "otherPart": 24, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "Rearrange the following equation in terms of $\\sin^2(x)$:
\n\\[ \\sin^2(x) + \\cos^2(x) = 1 \\]
\n$\\sin^2(x) = $ [[0]]
", "gaps": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "alternatives": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "The exponent must go after the argument.
\nThe notation $\\cos^2(x)$ is not supported by Numbas.
", "useAlternativeFeedback": false, "answer": "1-cos^2(x)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "cos", "value": ""}, {"name": "x", "value": ""}]}], "answer": "1-cos(x)^2", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}], "sortAnswers": false}, {"type": "jme", "useCustomName": true, "customName": "Inverse trigonometric function", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "Let $y = \\tan(x)$.
\nWrite an expression for $x$ in terms of $y$.
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "tan^(-1)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "Numbas does not support the notation $\\tan^{-1}$. The inverse of $\\tan$ is written arctan
.
Write $x_0$.
", "alternatives": [{"type": "jme", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "The ^
character represents exponentiation, which is displayed with a superscript.
Write $\\alpha x + \\beta$.
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "alphax", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "Did you forget to put a multiplication symbol *
between alpha
and x
?
Write the logarithm with base $e$ of $z$.
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "log", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "log
represents the logarithm with base $10$.
Write $|x|$.
", "answer": "abs(x)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": ""}]}, {"type": "information", "useCustomName": true, "customName": "Absolute value hint", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The absolute value is written as abs
.
Write $\\sqrt{a}$.
", "answer": "sqrt(a)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "a", "value": ""}]}, {"type": "information", "useCustomName": true, "customName": "Square root hint", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "The square root operation is written as sqrt
.
Write $\\ln |x|$
", "alternatives": [{"type": "jme", "useCustomName": true, "customName": "$\\ln(x)$", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "The vertical lines denote the absolute value of $x$.
", "useAlternativeFeedback": false, "answer": "ln(x)", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": "15", "vsetRange": ["0", "1"], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "caseSensitive": false, "valuegenerators": [{"name": "x", "value": "random(-1..1#0.001 except 0)"}]}, {"type": "jme", "useCustomName": true, "customName": "lnabs(x)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "You must put brackets around abs(x)
.
You must put brackets around abs(x)
.
The multiplication symbol *
does not represent function composition.
These parts test your understanding of how to enter numbers as answers in Numbas.
\nIf you get stuck, have another look at the numbers part of the \"entering answers\" section.
"}, {"type": "numberentry", "useCustomName": true, "customName": "Write an integer", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Write a decimal", "rawLabel": "", "otherPart": 35, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Numbers", "prompt": "What is $35+61$?
", "minValue": "96", "maxValue": "96", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Write a decimal", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Write a fraction", "rawLabel": "", "otherPart": 36, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Numbers", "prompt": "Write $\\frac{1}{8}$ as a decimal.
", "alternatives": [{"type": "numberentry", "useCustomName": true, "customName": "Comma as decimal point", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "In English notation, the decimal separator is a dot .
, not a comma ,
.
On a given street, three of the fifteen houses face North.
\nWrite the proportion of houses on the street that face North as a fraction.
", "minValue": "3/15", "maxValue": "3/15", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Round to two decimal places", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Round with trailing zeros", "rawLabel": "", "otherPart": 38, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Numbers", "prompt": "Round the number $3.1632$ to two decimal places.
", "minValue": "3.1632", "maxValue": "3.1632", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "2", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Round with trailing zeros", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Round to 1 significant figure", "rawLabel": "", "otherPart": 39, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Numbers", "prompt": "Round the number $6.5$ to three decimal places.
", "alternatives": [{"type": "numberentry", "useCustomName": true, "customName": "Not enough trailing zeros", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "You must add extra zeros to the number to make up the required number of decimal places.
", "useAlternativeFeedback": false, "minValue": "6.5", "maxValue": "6.5", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "minValue": "6.5", "maxValue": "6.5", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "precision": "3", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": true, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Round to 1 significant figure", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Numbers", "prompt": "Round the number $32702$ to one significant figure.
", "minValue": "32702", "maxValue": "32702", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "sigfig", "precision": "1", "precisionPartialCredit": 0, "precisionMessage": "You have not given your answer to the correct precision.", "strictPrecision": false, "showPrecisionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Scientific notation", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Scientific notation hint", "rawLabel": "", "otherPart": 41, "variableReplacements": [], "availabilityCondition": "not (answered and credit=1)", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Convert a decimal to scientific notation", "rawLabel": "", "otherPart": 42, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Numbers", "prompt": "Write the number $6.23 \\times 10^{15}$ in scientific notation.
", "minValue": "dec(\"6.23e15\")", "maxValue": "dec(\"6.23e15\")", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["scientific"], "correctAnswerStyle": "scientific"}, {"type": "information", "useCustomName": true, "customName": "Scientific notation hint", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "Write e to separate the significand and exponent.
\n$1.23 \\times 10^3$ would be written 1.23e3
.
Write $0.00032$ in scientific notation.
", "minValue": "0.00032", "maxValue": "0.00032", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["scientific"], "correctAnswerStyle": "scientific"}], "partsMode": "explore", "maxMarks": 0, "objectives": [{"name": "How Numbas works", "limit": "8"}, {"name": "Mathematical expressions", "limit": "16"}, {"name": "Numbers", "limit": "8"}], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "allowPrinting": true, "navigation": {"allowregen": true, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": false, "showresultspage": "oncompletion", "navigatemode": "menu", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": ""}, "timing": {"allowPause": true, "timeout": {"action": "none", "message": ""}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": true, "showtotalmark": true, "showanswerstate": true, "allowrevealanswer": true, "advicethreshold": 0, "intro": "This introductory test will explain how to use the Numbas assessment system.
\nThe marks in the \"introduction\" and \"entering answers\" questions don't mean anything - they're there just to show you how Numbas marks answers.
\nOnce you've read the information in the first two sections, try the \"Test yourself\" activity.
", "end_message": "", "reviewshowscore": true, "reviewshowfeedback": true, "reviewshowexpectedanswer": true, "reviewshowadvice": true, "feedbackmessages": []}, "diagnostic": {"knowledge_graph": {"topics": [], "learning_objectives": []}, "script": "diagnosys", "customScript": ""}, "contributors": [{"name": "Christian Lawson-Perfect", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/7/"}], "extensions": ["eukleides"], "custom_part_types": [], "resources": [["question-resources/640px-Numbat.jpg", "/srv/numbas/media/question-resources/640px-Numbat.jpg"]]}