// 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.

\n

Note: 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.

\n

You 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.

\n

On devices with a touchscreen, you can usually use the pinch gesture to zoom in or out.

\n

When 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.

\n

If 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.

\n

Note: 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.

\n

Your 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.

\n

And a picture of a numbat.

\n
\"A\n
Photo by Martin Pot, used under the terms of the Creative Commons Attribution 3.0 licence.
\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.

\n

Exams 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.

\n

You 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.

\n

If 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.

\n

For 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.

\n

Instructors set up the randomisation so that all possible versions of a randomised question are as difficult as each other.

\n

An 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.

\n

You can submit an answer to a part as many times as you like, with no penalty.

\n

Answers entered but not submitted are not marked: it's important that you submit each answer after entering it.

\n

If 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$.

\n

Try submitting the number $1$. Try submitting a different number. Try writing an invalid answer, such as £1.

\n

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.

\n

Unsubmitted answers are saved too, but you must submit them before ending the exam in order for them to be marked.

\n

Try 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$.

\n

What'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.

\n

When 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.

\n

When you click it, the question is regenerated from scratch. If it's randomised, you'll be shown new random values.

\n

Click 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.

\n

After the exam has ended, the answers and advice are automatically revealed, unless the instructor has chosen to delay or disable them.

\n

Try 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.

\n

You 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.

\n

If you re-enter an exam after ending it, you can see any feedback, and review your answers but not change them.

\n

The 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.

\n

If 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!

\n

This 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.

\n

If 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.

\n

Note: 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.

\n

If 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.

\n

The 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.

\n

You 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.

\n

When 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.

\n

If 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.

\n

If you open the exam on a different device, it will resume at the last point that was successfully saved to the server.

\n

If 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": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
To produceYou write
$a+b$a+b
$a \\times b$a*b
$a \\div b$ or $\\frac{a}{b}$a/b
$\\frac{a+b}{c+d}$(a+b)/(c+d)
$e^x$e^x or exp(x)
$x^2$x^2
$\\sqrt{x}$sqrt(x)
$\\sqrt[3]{x}$x^(1/3)
$n!$n! or fact(n)
$\\sin(\\theta)$sin(theta)
$\\sin^2(\\theta)$sin(theta)^2
$\\sin^{-1}(\\theta)$arcsin(theta)
$|x|$abs(x)
"}, {"type": "information", "useCustomName": true, "customName": "Operations", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

The order of operations is:

\n\n

For 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.

\n

You can always omit the multiplication symbol when a number is followed by a variable name, function, or a set of brackets.

\n

You can always omit the multiplication symbol between two sets of brackets.

\n

Be 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.

\n

A 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$.

"}, {"type": "information", "useCustomName": true, "customName": "Grouping", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Use brackets to group parts of an expression, overriding the normal order of operations.

\n

For example, x/(a+b) represents $\\frac{x}{a+b}$, while x/a+b represents $\\frac{x}{a} + b$.

\n

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.

\n

You must put brackets around the argument.

\n

Trigonometric functions:

\n

sin, cos, tan, sec, cosec, cot, arcsin, arccos, arctan

\n

The common notation for powers of trigonometric functions, $\\sin^2(x)$, is not supported: you must write sin(x)^2.

\n

Hyperbolic functions:

\n

sinh, cosh, tanh, sech, cosech, coth, arcsinh, arccosh, arctanh

\n

Logarithms:

\n

ln(x) represents the natural logarithm of $x$.

\n

log(x) represents the logarithm of $x$ with base 10.

\n

log(x,b) represents the logarithm with base $b$ of $x$.

\n

Other functions:

\n

abs(x) represents the absolute value of a number $x$, or the length of a vector $x$.

\n

sqrt(x) represents the square root of $x$.

\n

"}, {"type": "information", "useCustomName": true, "customName": "Logical connectives", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Numbas understands the following logical connectives:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
To produceWriteMeaning
$\\neg P$not Pnot $P$
$P \\wedge Q$P and QBoth $P$ and $Q$
$P \\vee Q$P or QEither $P$ or $Q$
$P \\operatorname{XOR} Q$P xor Q$P$ or $Q$, but not both
$P \\implies Q$P implies Q$P$ implies $Q$
"}, {"type": "information", "useCustomName": true, "customName": "Relations", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Numbas understands the following relation symbols:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
To produceWriteMeaning
$=$=is equal to
$\\ne$<>is not equal to
$\\lt$<is less than
$\\gt$>is greater than
$\\leq$<=is less than or equal to
$\\geq$>=is greater than or equal to
\n

You can write a chain of relations: x < y < z is equivalent to (x<y) and (y<z).

"}, {"type": "information", "useCustomName": true, "customName": "Symbols", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Numbas also understands a few other symbols:

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
To produceYou typeMeaning
$\\pi$piThe ratio of a circle's circumference to its diameter
$e$eThe base of the natural logarithm
$i$iThe imaginary unit, $\\sqrt{-1}$
\n

Use the underscore character _ to produce a subscript. For example, to produce $x_1$, write x_1.

"}, {"type": "information", "useCustomName": true, "customName": "The Greek alphabet", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
To produceYou write
$\\alpha$alpha
$\\beta$beta
$\\gamma$gamma
$\\delta$delta
$\\epsilon$epsilon
$\\zeta$zeta
$\\eta$eta
$\\theta$theta
$\\iota$iota
$\\kappa$kappa
$\\lambda$lambda
$\\mu$mu
$\\nu$nu
$\\xi$xi
$\\omicron$omicron
$\\pi$pi
$\\rho$rho
$\\sigma$sigma
$\\tau$tau
$\\upsilon$upsilon
$\\phi$phi
$\\chi$chi
$\\psi$psi
$\\omega$omega
$\\Gamma$Gamma
$\\Delta$Delta
$\\Theta$Theta
$\\Lambda$Lambda
$\\Xi$Xi
$\\Pi$Pi
$\\Sigma$Sigma
$\\Upsilon$Upsilon
$\\Phi$Phi
$\\Psi$Psi
$\\Omega$Omega
"}, {"type": "jme", "useCustomName": true, "customName": "Try it", "marks": "0", "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

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.

\n

Variable names are displayed using italic characters.

\n

Long variable names - those made of more than one character, are displayed using a fixed-width font, e.g. $\\texttt{abc}$.

\n

Function names are displayed in an upright font, rather than the italics used for variables. For example, $\\sin(x)$ instead of $sin(x)$.

\n

The 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}$.

\n

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.

\n

Try writing:

\n", "answer": "2x+4", "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": "jme", "useCustomName": true, "customName": "Try it - restricted form", "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 again $2x+4$, but only answers in the form $ax+b$, for some numbers $a$ and $b$, will be accepted.

", "answer": "2x+4", "showPreview": true, "checkingType": "absdiff", "checkingAccuracy": 0.001, "failureRate": 1, "vsetRangePoints": 5, "vsetRange": [0, 1], "checkVariableNames": false, "singleLetterVariables": false, "allowUnknownFunctions": true, "implicitFunctionComposition": false, "mustmatchpattern": {"pattern": "$n`?*x + $n`?", "partialCredit": 0, "message": "Your answer must be in the form $ax+b$, for some numbers $a$ and $b$.", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Numbers", "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 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.

\n

Each question will tell you which kinds of numbers are acceptable in answers.

\n

Put a dash before a number to make it negative. For example, -2.

\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
Number formatDefinitionExample
IntegerA sequence of digits142
DecimalA sequence of digits, optionally followed by a . and more digits53.321
FractionTwo integers, separated by a /22 / 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.

\n

Try writing:

\n", "minValue": "-5000", "maxValue": "5000", "correctAnswerFraction": false, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": false, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "information", "useCustomName": true, "customName": "Rounding", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

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.

\n

If 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]]

\n

Try submitting {dpformat(x,0)}.0 for the above part. Should it be marked as correct?

\n

[[2]]

\n

[[3]]

\n

Click 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.

\n

A 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.

\n

To write a number in scientific notation in Numbas, use the letter e to separate the significand and exponent.

\n

For example, $8.2 \\times 10^{-32}$ is written as 8.2e-32.

"}, {"type": "numberentry", "useCustomName": true, "customName": "Try scientific notation", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

This part will mark any number written in scientific notation as correct.

\n

Try:

\n", "minValue": "-infinity", "maxValue": "infinity", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["scientific"], "correctAnswerStyle": "scientific"}, {"type": "information", "useCustomName": true, "customName": "Infinity", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

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.

\n

For positive infinity, write infinity.

\n

For negative infinity, write -infinity.

"}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}, {"name": "Test yourself", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": [""], "variable_overrides": [[]], "questions": [{"name": "Test yourself", "extensions": ["eukleides"], "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": "

An explore mode activity containing a lot of questions, for students to check their understanding of the information in the \"Getting Started\" material.

\n

Note: 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.

\n

There are separate threads for different aspects of Numbas.

\n

When 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.

\n

Some 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:

\n\n

Suppose you do the following:

\n\n

How will your answers be marked?

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["Part a): 0 marks.
Part b): If the instructor allows it, full marks.", "Part a): 0 marks.
Part b): Full marks.", "Part a): 0 marks.
Part b): 0 marks."], "matrix": ["1", 0, 0], "distractors": ["", "The instructor must set up adaptive marking for part b. If they don't, then your answer to part a has no bearing and you get 0 marks for part b.", "The instructor might set up adaptive marking, in which case you would be awarded full marks for part b because you did that step fo the calculation correctly."]}, {"type": "1_n_2", "useCustomName": true, "customName": "Who should you contact about marking?", "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 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?

\n

Tick 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.

\n

If 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)?

", "useAlternativeFeedback": false, "answer": "xsin(y)", "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": "y", "value": ""}]}], "answer": "x*sin(y)", "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": "information", "useCustomName": true, "customName": "More multiplication hint", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

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.

"}, {"type": "jme", "useCustomName": true, "customName": "Expand some brackets", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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?

", "useAlternativeFeedback": false, "answer": "2x^2+7xy+3y^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": ""}, {"name": "xy", "value": ""}, {"name": "y", "value": ""}]}], "answer": "2x^2+7x*y+3y^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, "mustmatchpattern": {"pattern": "($n*x^2)`? + ($n*x*y)`? + ($n*y^2)`?", "partialCredit": 0, "message": "", "nameToCompare": ""}, "valuegenerators": [{"name": "x", "value": ""}, {"name": "y", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "Grouping in a division", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "More grouping in a division", "rawLabel": "", "otherPart": 19, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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?

", "useAlternativeFeedback": false, "answer": "5/4-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": ""}]}], "answer": "5/(4-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": "jme", "useCustomName": true, "customName": "More grouping in a division", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Grouping in an exponent", "rawLabel": "", "otherPart": 20, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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?

\n

Exponentiation is evaluated before multiplication, so you must put brackets around 5x so it's all used in the exponent.

", "useAlternativeFeedback": false, "answer": "e^5*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": ""}]}], "answer": "e^(5x)", "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": "Trigonometric function", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Square of a trigonometric function", "rawLabel": "", "otherPart": 23, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Get a hint", "rawLabel": "Get a hint", "otherPart": 22, "variableReplacements": [], "availabilityCondition": "not (answered and credit=1)", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

{max_width(20,sin_triangle)}

\n

In 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.

\n

The 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)$.

\n

Write 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.

", "useAlternativeFeedback": false, "answer": "tan^-1(y)", "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": "tan", "value": ""}, {"name": "y", "value": ""}]}], "answer": "arctan(y)", "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": "y", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "Write a subscript", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Write Greek letters", "rawLabel": "", "otherPart": 26, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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.

", "useAlternativeFeedback": false, "answer": "x^0", "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_0", "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_0", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "Write Greek letters", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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?

", "useAlternativeFeedback": false, "answer": "alphax+beta", "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": "alphax", "value": ""}, {"name": "beta", "value": ""}]}], "answer": "alpha*x+beta", "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": "alpha", "value": ""}, {"name": "beta", "value": ""}, {"name": "x", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "Logarithms", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Absolute value", "rawLabel": "", "otherPart": 28, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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$.

", "useAlternativeFeedback": false, "answer": "log(z)", "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": "z", "value": ""}]}], "answer": "ln(z)", "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": "z", "value": ""}]}, {"type": "jme", "useCustomName": true, "customName": "Absolute value", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Square root", "rawLabel": "", "otherPart": 30, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Get a hint", "rawLabel": "Get a hint", "otherPart": 29, "variableReplacements": [], "availabilityCondition": "not (answered and credit=1)", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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.

"}, {"type": "jme", "useCustomName": true, "customName": "Square root", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Two functions", "rawLabel": "", "otherPart": 32, "variableReplacements": [], "availabilityCondition": "answered and credit=1", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Get a hint", "rawLabel": "Get a hint", "otherPart": 31, "variableReplacements": [], "availabilityCondition": "not (answered and credit=1)", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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.

"}, {"type": "jme", "useCustomName": true, "customName": "Two functions", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Mathematical expressions", "prompt": "

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).

", "useAlternativeFeedback": false, "answer": "lnabs(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": "ln abs(x)", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "alternativeFeedbackMessage": "

You must put brackets around abs(x).

\n

The multiplication symbol * does not represent function composition.

", "useAlternativeFeedback": false, "answer": "ln abs(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": "ln", "value": ""}, {"name": "x", "value": "random(-1..1#0.001 except 0)"}]}], "answer": "ln(abs(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": "information", "useCustomName": true, "customName": "Numbers", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [{"label": "Write an integer", "rawLabel": "", "otherPart": 34, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Round to two decimal places", "rawLabel": "", "otherPart": 37, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}, {"label": "Scientific notation", "rawLabel": "", "otherPart": 40, "variableReplacements": [], "availabilityCondition": "", "penalty": "", "penaltyAmount": 0, "lockAfterLeaving": false}], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

These parts test your understanding of how to enter numbers as answers in Numbas.

\n

If 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 ,.

", "useAlternativeFeedback": false, "minValue": "1/8", "maxValue": "1/8", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["si-fr", "eu", "plain-eu"], "correctAnswerStyle": "si-fr"}], "minValue": "1/8", "maxValue": "1/8", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "Write a fraction", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Numbers", "prompt": "

On a given street, three of the fifteen houses face North.

\n

Write 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.

"}, {"type": "numberentry", "useCustomName": true, "customName": "Convert a decimal to scientific notation", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": true, "adaptiveMarkingPenalty": 0, "exploreObjective": "Numbers", "prompt": "

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.

\n

The marks in the \"introduction\" and \"entering answers\" questions don't mean anything - they're there just to show you how Numbas marks answers.

\n

Once 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"]]}