// Numbas version: exam_results_page_options {"name": "Kuis 1", "metadata": {"description": "", "licence": "None specified"}, "duration": 300, "percentPass": 0, "showQuestionGroupNames": false, "showstudentname": true, "question_groups": [{"name": "Group", "pickingStrategy": "all-ordered", "pickQuestions": 1, "questionNames": ["", "", "", "", "", ""], "questions": [{"name": "Soal 1:Pertidaksamaan", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "ning farida", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5352/"}, {"name": "Yusuf Hafidh", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5365/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Tuliskan jawaban anda pada kotak yang tersedia. Jawaban yang diterima berupa bilangan bulat atau pecahan biasa.

", "advice": "

{c_1} < {a}$x$+{b} < {c_2}

\n

$\\Leftrightarrow$ {c_1}-{b} < {a}$x$ < {c_2}-{b}

\n

$\\Leftrightarrow$ ({c_1}-{b})/{a} < $x$ < ({c_2}-{b})/{a}

\n

$\\Leftrightarrow$ {d_1} < $x$ < {d_2}.

", "rulesets": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..12 except 1)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(1..12 except a)", "description": "", "templateType": "anything"}, "c_1": {"name": "c_1", "group": "Ungrouped variables", "definition": "1", "description": "", "templateType": "number"}, "c_2": {"name": "c_2", "group": "Ungrouped variables", "definition": "5", "description": "", "templateType": "number"}, "d_1": {"name": "d_1", "group": "Ungrouped variables", "definition": "(c_1-b)/a", "description": "", "templateType": "anything"}, "d_2": {"name": "d_2", "group": "Ungrouped variables", "definition": "(c_2-b)/a", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c_1", "c_2", "d_1", "d_2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Solusi dari pertidaksamaan {c_1} < {a}$x$+{b} < {c_2} adalah [[0]] < $x$ < [[1]].

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "d_1", "maxValue": "d_1", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": false, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "d_2", "maxValue": "d_2", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": true}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Soal 2:Pertidaksamaan", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "ning farida", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5352/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Lengkapi gap berikut dengan jawaban yang tepat. Jawaban yang diterima berupa bilangan bulat atau pecahan biasa.

", "advice": "

\\[\\var{c_1}<1-\\frac{x}{\\var{a}}<\\var{c_2}\\]

\n

\\[\\Leftrightarrow \\var{c_1}-1<-\\frac{x}{\\var{a}}<\\var{c_2}-1\\] (mengalikan semua bagian dengan bilangan negatif akan mengubah tanda pertidaksamaan)

\n

\\[\\Leftrightarrow(\\var{c_1}-1)(-\\var{a})>x>(\\var{c_2}-1)(-\\var{a})\\]

\n

\\[\\Leftrightarrow\\var{d_1}<x<\\var{d_2}\\].

", "rulesets": {}, "variables": {"c_1": {"name": "c_1", "group": "Ungrouped variables", "definition": "random(-5..15 except 0)", "description": "", "templateType": "anything"}, "c_2": {"name": "c_2", "group": "Ungrouped variables", "definition": "c_1+4", "description": "", "templateType": "anything"}, "a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2,3,4)", "description": "", "templateType": "anything"}, "d_1": {"name": "d_1", "group": "Ungrouped variables", "definition": "-a*(c_2-1)", "description": "", "templateType": "anything"}, "d_2": {"name": "d_2", "group": "Ungrouped variables", "definition": "-a*(c_1-1)", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["c_1", "c_2", "a", "d_1", "d_2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Himpunan penyelesaian dari $\\var{c_1}<1-\\frac{x}{\\var{a}}<\\var{c_2}$ adalah [[0]]$<x<$[[1]].

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "3", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "d_1", "maxValue": "d_1", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "4", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "d_2", "maxValue": "d_2", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Soal 3:Jarak", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "ning farida", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5352/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Jawaban yang diterima berupa bilangan bulat atau pecahan biasa.

", "advice": "

Titik yang berjarak {a} satuan dari {b} adalah $x_1$ dan $x_2$ dimana $x_1<x_2$.

\n

Misalkan $x$ adalah titik yang berjarak {a} satuan dari {b}. Jika diterjemahkan dalam persamaan nilai mutlak, maka $|x-(\\var{b})|=\\var{a}$.

\n

Dari sini, gunakan definisi nilai mutlak untuk menentukan nilai $x$. Yaitu:
$x-(\\var{b})=\\var{a}$ jika $x-(\\var{b})>0$ atau 
$x-(\\var{b})=-\\var{a}$ jika $x-(\\var{b})<0.$
Kemudian, tentukan solusi dari kedua persamaan di atas.

", "rulesets": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(2..6)", "description": "", "templateType": "anything"}, "b": {"name": "b", "group": "Ungrouped variables", "definition": "random(-2..8 except 0)", "description": "", "templateType": "anything"}, "c_1": {"name": "c_1", "group": "Ungrouped variables", "definition": "a+b", "description": "", "templateType": "anything"}, "c_2": {"name": "c_2", "group": "Ungrouped variables", "definition": "-a+b", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "b", "c_1", "c_2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Titik yang berjarak {a} satuan dari {b} adalah $x_1$ dan $x_2$ dimana $x_1<x_2$.

\n

Maka nilai $x_1$ adalah [[0]] dan nilai $x_2$ adalah [[1]].

", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "5", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c_2", "maxValue": "c_2", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "6", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c_1", "maxValue": "c_1", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Soal 4: Nilai Mutlak", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "ning farida", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5352/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "

Tentukan solusi dari pertidaksamaan nilai mutlak berikut.

", "advice": "", "rulesets": {}, "variables": {"a": {"name": "a", "group": "Ungrouped variables", "definition": "random(1..10 except 3)", "description": "", "templateType": "anything"}, "c_1": {"name": "c_1", "group": "Ungrouped variables", "definition": "-3+a", "description": "", "templateType": "anything"}, "c_2": {"name": "c_2", "group": "Ungrouped variables", "definition": "3+a", "description": "", "templateType": "anything"}, "d_1": {"name": "d_1", "group": "Ungrouped variables", "definition": "-1+a", "description": "", "templateType": "anything"}, "d_2": {"name": "d_2", "group": "Ungrouped variables", "definition": "1+a", "description": "", "templateType": "anything"}, "e_1": {"name": "e_1", "group": "Ungrouped variables", "definition": "-0.1+a", "description": "", "templateType": "anything"}, "e_2": {"name": "e_2", "group": "Ungrouped variables", "definition": "0.1+a", "description": "", "templateType": "anything"}}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": ["a", "c_1", "c_2", "d_1", "d_2", "e_1", "e_2"], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "gapfill", "useCustomName": false, "customName": "", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "
    \n
  1. Solusi dari $|x-\\var{a}|<3$ adalah [[0]]$<x<$[[1]].
  2. \n
  3. Solusi dari $|x-\\var{a}|\\leq3$ adalah[[0]]$\\leq x\\leq $[[1]].
  4. \n
  5. Solusi dari $|x-\\var{a}|\\leq 1$ adalah[[2]]$\\leq x\\leq $[[3]].
  6. \n
  7. Solusi dari $|x-\\var{a}|\\leq 0.1$ adalah[[4]]$\\leq x\\leq $[[5]].
  8. \n
", "gaps": [{"type": "numberentry", "useCustomName": true, "customName": "1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c_1", "maxValue": "c_1", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "c_2", "maxValue": "c_2", "correctAnswerFraction": true, "allowFractions": true, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "3", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "d_1", "maxValue": "d_1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "4", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "d_2", "maxValue": "d_2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "showFractionHint": true, "notationStyles": ["plain", "en", "si-en"], "correctAnswerStyle": "plain"}, {"type": "numberentry", "useCustomName": true, "customName": "5", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "e_1", "maxValue": "e_1", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "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": "6", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "minValue": "e_2", "maxValue": "e_2", "correctAnswerFraction": false, "allowFractions": false, "mustBeReduced": false, "mustBeReducedPC": 0, "precisionType": "dp", "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"}], "sortAnswers": false}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Soal 5: Domain", "extensions": [], "custom_part_types": [], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "ning farida", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5352/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "1_n_2", "useCustomName": true, "customName": "Part 1", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": false, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Domain dari fungsi $f(x)=\\frac{x^2-1}{x-1}$ adalah ....

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["$\\mathbb{R} \\backslash \\{1\\}$", "$\\mathbb{R}$", "$\\mathbb{R} \\backslash\\{-1\\}$", "$\\{-1,1\\}$"], "matrix": ["1", 0, 0, 0], "distractors": ["", "", "", ""]}, {"type": "1_n_2", "useCustomName": true, "customName": "Part 2", "marks": 0, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Domain dari fungsi $g(x)=\\frac{x^2-2x+1}{2x^2-x-1}$ adalah ....

", "minMarks": 0, "maxMarks": 0, "shuffleChoices": true, "displayType": "radiogroup", "displayColumns": "1", "showCellAnswerState": true, "choices": ["$\\mathbb{R}\\backslash\\{-\\frac{1}{2}\\}$", "$\\mathbb{R}\\backslash\\{-\\frac{1}{2},1\\}$", "$\\mathbb{R}$", "$\\{-\\frac{1}{2},1\\}$"], "matrix": ["0", "1", 0, 0], "distractors": ["", "", "", ""]}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}, {"name": "Soal 6", "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": [], "navigation": {"allowregen": true, "showfrontpage": false, "preventleave": false, "typeendtoleave": false}, "contributors": [{"name": "ning farida", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5352/"}], "tags": [], "metadata": {"description": "", "licence": "None specified"}, "statement": "", "advice": "", "rulesets": {}, "variables": {}, "variablesTest": {"condition": "", "maxRuns": 100}, "ungrouped_variables": [], "variable_groups": [], "functions": {}, "preamble": {"js": "", "css": ""}, "parts": [{"type": "yes-no", "useCustomName": true, "customName": "Part 1", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Domain dari fungsi $f(x)=\\frac{|x|}{x}$ adalah semua bilangan real.

", "settings": {"correct_answer_expr": "false"}}, {"type": "yes-no", "useCustomName": true, "customName": "Part 2", "marks": 1, "scripts": {}, "customMarkingAlgorithm": "", "extendBaseMarkingAlgorithm": true, "unitTests": [], "showCorrectAnswer": true, "showFeedbackIcon": true, "variableReplacements": [], "variableReplacementStrategy": "originalfirst", "nextParts": [], "suggestGoingBack": false, "adaptiveMarkingPenalty": 0, "exploreObjective": null, "prompt": "

Ada bilangan real yang bukan merupakan domain dari fungsi $G(x)=\\frac{sin(x)}{x}$.

", "settings": {"correct_answer_expr": "true"}}], "partsMode": "all", "maxMarks": 0, "objectives": [], "penalties": [], "objectiveVisibility": "always", "penaltyVisibility": "always"}]}], "navigation": {"allowregen": false, "reverse": true, "browse": true, "allowsteps": true, "showfrontpage": true, "showresultspage": "never", "navigatemode": "sequence", "onleave": {"action": "none", "message": ""}, "preventleave": true, "startpassword": "sayamengerjakandenganjujur"}, "timing": {"allowPause": false, "timeout": {"action": "warn", "message": "

Waktu pengerjaan habis

"}, "timedwarning": {"action": "none", "message": ""}}, "feedback": {"showactualmark": false, "showtotalmark": true, "showanswerstate": false, "allowrevealanswer": false, "advicethreshold": 0, "intro": "

Baca ketentuan berikut sebelum mengerjakan soal.

\n
    \n
  1. Berdoalah sebelum  mengerjakan soal.
  2. \n
  3. Kerjakan soal secara individu dan dengan jujur.
  4. \n
  5. Password: sayamengerjakandenganjujur
  6. \n
  7. Jika tidak ada keterangan jenis bilangan yang harus diinputkan, maka jawaban bilangan yang diterima berupa bilangan bulat atau pecahan biasa.
  8. \n
  9. Pecahan desimal menggunakan tanda '.' sebagai koma.
    Contoh: 0.25
  10. \n
\n

Selamat mengerjakan. :)

", "reviewshowscore": false, "reviewshowfeedback": false, "reviewshowexpectedanswer": false, "reviewshowadvice": false, "feedbackmessages": []}, "contributors": [{"name": "ning farida", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5352/"}, {"name": "Yusuf Hafidh", "profile_url": "https://numbas.mathcentre.ac.uk/accounts/profile/5365/"}], "extensions": [], "custom_part_types": [{"source": {"pk": 1, "author": {"name": "Christian Lawson-Perfect", "pk": 7}, "edit_page": "/part_type/1/edit"}, "name": "Yes/no", "short_name": "yes-no", "description": "

The student is shown two radio choices: \"Yes\" and \"No\". One of them is correct.

", "help_url": "", "input_widget": "radios", "input_options": {"correctAnswer": "if(eval(settings[\"correct_answer_expr\"]), 0, 1)", "hint": {"static": true, "value": ""}, "choices": {"static": true, "value": ["Yes", "No"]}}, "can_be_gap": true, "can_be_step": true, "marking_script": "mark:\nif(studentanswer=correct_answer,\n correct(),\n incorrect()\n)\n\ninterpreted_answer:\nstudentAnswer=0\n\ncorrect_answer:\nif(eval(settings[\"correct_answer_expr\"]),0,1)", "marking_notes": [{"name": "mark", "description": "This is the main marking note. It should award credit and provide feedback based on the student's answer.", "definition": "if(studentanswer=correct_answer,\n correct(),\n incorrect()\n)"}, {"name": "interpreted_answer", "description": "A value representing the student's answer to this part.", "definition": "studentAnswer=0"}, {"name": "correct_answer", "description": "", "definition": "if(eval(settings[\"correct_answer_expr\"]),0,1)"}], "settings": [{"name": "correct_answer_expr", "label": "Is the answer \"Yes\"?", "help_url": "", "hint": "An expression which evaluates to true or false.", "input_type": "mathematical_expression", "default_value": "true", "subvars": false}], "public_availability": "always", "published": true, "extensions": []}], "resources": []}