HEX
Server: Apache
System: Linux vps.mmtprep.com 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Thu Aug 10 13:51:50 EDT 2023 x86_64
User: mmtprep (1001)
PHP: 8.1.34
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/5L10-MaRCXgCh.js
import{E as d,ag as b,h as c,r as l,m as a,p,l as x}from"./index-ajJ0B2-K.js";import{d as n}from"./deprecatedFractions-MjvQvhWQ.js";const m=!0,C="qcmMult",y=!0,T="qcm",Y="Write a literal expression",v="19/11/2023",w="3c1f7",g="5L10";function q(){d.call(this),this.nbQuestions=4,this.nbCols=1,this.nbColsCorr=1,this.besoinFormulaireCaseACocher=["Include the inverse of a number"],this.sup=!0,this.sup2=19,this.nouvelleVersion=function(){this.autoCorrection=[],this.listeQuestions=[],this.listeCorrections=[];const f=b({max:18,defaut:19,melange:19,nbQuestions:this.nbQuestions,saisie:this.sup2,exclus:this.sup?[]:[10]});for(let $=0,s,o,u=0;$<this.nbQuestions&&u<50;){this.autoCorrection[$]={};const i=["x","y","z","t","a","b","c","n","m"],e=c(i),r=c(i,e),t=l(2,10);switch(f[$]){case 1:s=`Express twice $${e}$ as a function of $${e}$.`,o=`The double of $${e}$ can be written as: $${a(`2${e}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$2\\times ${e}$`,statut:!0,feedback:"Correct but not simplified."},{texte:`$2${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}+${e}$`,statut:!0,feedback:"Correct but not simplified."},{texte:`$2+${e}$`,statut:!1,feedback:"You confused sum and product."},{texte:`$${e}^2$`,statut:!1,feedback:"You confused the double and the square."},{texte:`$${e}2$`,statut:!1,feedback:"This entry is incorrect."}];break;case 2:s=`Express triple $${e}$ as a function of $${e}$.`,o=`The triple of $${e}$ can be written as: $${a(`3${e}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$3\\times ${e}$`,statut:!0,feedback:"Correct but not simplified."},{texte:`$3${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}+2${e}$`,statut:!0,feedback:"Correct but not simplified."},{texte:`$3+${e}$`,statut:!1,feedback:"You confused sum and product."},{texte:`$${e}^3$`,statut:!1,feedback:"You confused the triple and the cube."},{texte:`$${e}3$`,statut:!1,feedback:"This entry is incorrect."}];break;case 3:s=`Express half of $${e}$ as a function of $${e}$.`,o=`Half of $${e}$ can be written as: $${a(`${n(e,2)}`)}$ or $${a(`${e}\\div 2`)}$ or $${a(`0.5${e}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${e}\\div 2$`,statut:!0,feedback:"Correct !"},{texte:`$\\dfrac{${e}}{2}$`,statut:!0,feedback:"Correct !"},{texte:`$0.5${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}-2$`,statut:!1,feedback:"You confused quotient and difference."},{texte:`$\\dfrac{1}{2}+${e}$`,statut:!1,feedback:"You confused multiplying by $\\dfrac{1}{2}$ and adding $\\dfrac{1}{2}$."},{texte:`$${e}\\div 0.5$`,statut:!1,feedback:"This means multiplying by $2$, not dividing by $2$."}];break;case 4:s=`Express quarter of $${e}$ as a function of $${e}$.`,o=`The quarter of $${e}$ can be noted: $${a(`${n(e,4)}`)}$ or $${a(`${e}\\div 4`)}$ or $${a(`0,25${e}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${e}\\div 4$`,statut:!0,feedback:"Correct !"},{texte:`$\\dfrac{${e}}{4}$`,statut:!0,feedback:"Correct !"},{texte:`$0.25${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}-\\dfrac{1}{4}$`,statut:!1,feedback:"You confused quotient and difference."},{texte:`$\\dfrac{1}{4}+${e}$`,statut:!1,feedback:"You confused multiplying by $\\dfrac{1}{4}$ and adding $\\dfrac{1}{4}$."},{texte:`$${e}\\div 0.25$`,statut:!1,feedback:"This means multiplying by $4$, not dividing by $4$."}];break;case 5:s=`$${e}$ being an integer, express the following integer in terms of $${e}$.`,o=`The successor of $${e}$ can be noted: $${a(`${e}+1`)}$.`,this.autoCorrection[$].propositions=[{texte:`$1+${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}+1$`,statut:!0,feedback:"Correct !"},{texte:`$${e}+${e}$`,statut:!1,feedback:"The double is rarely next. Actually, it only happens for 1."},{texte:`$2${e}$`,statut:!1,feedback:"The double is rarely next. Actually, it only happens for 1."},{texte:`$${e}-1$`,statut:!1,feedback:"You confused next and previous."},{texte:`$${e}2$`,statut:!1,feedback:"This entry is incorrect."}];break;case 6:s=`$${e}$ being an integer, express the previous integer in terms of $${e}$.`,o=`The predecessor of $${e}$ can be noted: $${a(`${e}-1`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${e}-1$`,statut:!0,feedback:"Correct !"},{texte:`$${e}+(-1)$`,statut:!0,feedback:"Correct !"},{texte:`$1-${e}$`,statut:!1,feedback:""},{texte:`$${e}-${e}$`,statut:!1,feedback:"That's zero, it seems to me... so it only works for 1."},{texte:`$-1${e}$`,statut:!1,feedback:"You confused multiplying and adding."},{texte:`$${e}+1$`,statut:!1,feedback:"You confused previous and next."}];break;case 7:s=`Express the square of $${e}$ as a function of $${e}$.`,o=`The square of $${e}$ can be written as: $${a(`${e}^2`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${e}${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}\\times ${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}^2$`,statut:!0,feedback:"Correct !"},{texte:`$${e}2$`,statut:!1,feedback:"This entry is incorrect."},{texte:`$2${e}$`,statut:!1,feedback:"You confused the square and the double."},{texte:`$${e}+2$`,statut:!1,feedback:"You have confused sum and power."}];break;case 8:s=`Express the cube of $${e}$ as a function of $${e}$.`,o=`The cube of $${e}$ can be written: $${a(`${e}^3`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${e}${e}${e}$`,statut:!0,feedback:"Correct, but not simplified."},{texte:`$${e}\\times ${e}\\times ${e}$`,statut:!0,feedback:"Correct, but not simplified."},{texte:`$${e}^3$`,statut:!0,feedback:"Correct !"},{texte:`$${e}3$`,statut:!1,feedback:"This entry is incorrect."},{texte:`$3${e}$`,statut:!1,feedback:"You confused the cube and the triple."},{texte:`$${e}+3$`,statut:!1,feedback:"You have confused sum and power."}];break;case 9:s=`Express the opposite of $${e}$ in terms of $${e}$.`,o=`The opposite of $${e}$ can be noted: $${a(`-${e}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$-${e}$`,statut:!0,feedback:"Correct !"},{texte:`$-1\\times ${e}$`,statut:!0,feedback:"Correct, but not simplified."},{texte:`$${e}-1$`,statut:!1,feedback:"You confused multiplication and addition."},{texte:`$\\dfrac{1}{${e}}$`,statut:!1,feedback:"You confused opposite and inverse."},{texte:`$${e}$`,statut:!1,feedback:"This is only true for zero."},{texte:`$1-${e}$`,statut:!1,feedback:"It's one too many..."}];break;case 10:s=`Express the inverse of $${e}$ as a function of $${e}$.`,o=`The inverse of $${e}$ can be noted: $${a(`${n(1,e)}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$\\dfrac{1}{${e}}$`,statut:!0,feedback:"Correct !"},{texte:`$-1\\times ${e}$`,statut:!1,feedback:"You confused inverse and opposite."},{texte:`$${e}-1$`,statut:!1,feedback:"You confused division and subtraction."},{texte:`$-${e}$`,statut:!1,feedback:"You confused inverse and opposite."},{texte:`$${e}$`,statut:!1,feedback:"This is only true for 1."},{texte:`$1-${e}$`,statut:!1,feedback:"You confused division and subtraction."}];break;case 11:s=`Express the sum of $${e}$ and ${t} as a function of $${e}$.`,o=`The sum of $${e}$ and ${t} can be noted: $${a(`${e}+${t}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${t}+${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}+${t}$`,statut:!0,feedback:"Correct !"},{texte:`$${t}${e}$`,statut:!1,feedback:"You confused addition and multiplication."},{texte:`$${e}${t}$`,statut:!1,feedback:"This entry is incorrect."},{texte:`$${e}-${t}$`,statut:!1,feedback:"You confused sum and difference."},{texte:`$${t}\\times ${e}$`,statut:!1,feedback:"You confused sum and product."}];break;case 12:s=`Express the product of $${e}$ by ${t} as a function of $${e}$.`,o=`The product of $${e}$ by ${t} can be written as: $${a(`${t}${e}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${t}${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${t}\\times ${e}$`,statut:!0,feedback:"Correct, but not simplified."},{texte:`$${t}+${e}$`,statut:!1,feedback:"You confused addition and multiplication."},{texte:`$${e}${t}$`,statut:!1,feedback:"This entry is incorrect."},{texte:`$${e}+${t}$`,statut:!1,feedback:"You confused sum and product."},{texte:`$${e}-${t}$`,statut:!1,feedback:"You confused sum and product."}];break;case 15:s=`Express the quotient of $${e}$ by ${t} as a function of $${e}$.`,o=`The quotient of $${e}$ by ${t} can be written as: $${a(`${n(e,t)}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${e}\\div ${t}$`,statut:!0,feedback:"Correct !"},{texte:`$\\dfrac{${e}}{${t}}$`,statut:!0,feedback:"Correct !"},{texte:`$${t}\\div ${e}$`,statut:!1,feedback:"It's the opposite."},{texte:`$${e}\\times ${t}$`,statut:!1,feedback:"This entry is incorrect."},{texte:`$${e}+${t}$`,statut:!1,feedback:"You confused sum and quotient."},{texte:`$${e}-${t}$`,statut:!1,feedback:"You confused difference and quotient."}];break;case 14:s=`Express the quotient of ${t} by $${e}$ as a function of $${e}$.`,o=`The quotient of ${t} by $${e}$ can be written: $${a(`${n(t,e)}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${t}\\div ${e}$`,statut:!0,feedback:"Correct !"},{texte:`$\\dfrac{${t}}{${e}}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}\\div ${t}$`,statut:!1,feedback:"It's the opposite."},{texte:`$${t}\\times ${e}$`,statut:!1,feedback:"You confused product and quotient."},{texte:`$${e}\\times ${t}$`,statut:!1,feedback:"You confused product and quotient."},{texte:`$${t}-${e}$`,statut:!1,feedback:"You confused difference and quotient."}];break;case 13:s=`How can the product of $${e}$ and $${r}$ be noted?`,o=`The product of $${e}$ by $${r}$ can be written as $${a(`${e}${r}`)}$.`,this.autoCorrection[$].propositions=[{texte:`$${r}${e}$`,statut:!0,feedback:"Correct !"},{texte:`$${e}${r}$`,statut:!0,feedback:"Correct !"},{texte:`$${r}\\times ${e}$`,statut:!0,feedback:"Correct, but not simplified."},{texte:`$${e}+${r}$`,statut:!1,feedback:"You confused sum and product."},{texte:`$${r}+${e}$`,statut:!1,feedback:"You confused sum and product."},{texte:`$${e}-${r}$`,statut:!1,feedback:"You confused difference and product."}];break;case 16:s="Write a literal expression that represents an even number.",o=`An even number can be written as $${a("2n")}$ with $n$ a natural number.`,this.autoCorrection[$].propositions=[{texte:"$2n$",statut:!0,feedback:"Correct !"},{texte:"$2(n+1)$",statut:!0,feedback:"Correct !"},{texte:"$n+2$",statut:!1,feedback:"Is the number n even?"},{texte:"$n-2$",statut:!1,feedback:"Is the number n even?"},{texte:"$n\\div 2$",statut:!1,feedback:"Is the result an integer?"},{texte:"$n^2$",statut:!1,feedback:"Is the square of an odd number even?"}];break;case 17:s="Write a literal expression that represents an odd number.",o=`An odd number can be written as $${a("2n+1")}$ with $n$ a natural number.`,this.autoCorrection[$].propositions=[{texte:"$2n+1$",statut:!0,feedback:"Correct !"},{texte:"$n+1$",statut:!1,feedback:"What happens if n is an odd number?"},{texte:"$n+3$",statut:!1,feedback:"What happens if n is an odd number?"},{texte:"$3n$",statut:!1,feedback:"What if n is an even number?"},{texte:"$n-1$",statut:!1,feedback:"What happens if n is an odd number?"},{texte:"$n+7$",statut:!1,feedback:"What happens if n is an odd number?"}];break;case 18:s=`Write a literal expression that allows you to represent a multiple of ${t}.`,o=`A multiple of ${t} can be written as $${a(`${t}n`)}$ with $n$ a natural number.`,this.autoCorrection[$].propositions=[{texte:`$${t}n$`,statut:!0,feedback:"Correct !"},{texte:`$${t}\\times n$`,statut:!0,feedback:"Correct !"},{texte:`$${t}+n$`,statut:!1,feedback:"You confused product and sum."},{texte:`$${t}-n$`,statut:!1,feedback:"You confused product and difference."},{texte:`$\\dfrac{${t}}{n}$`,statut:!1,feedback:""},{texte:`$n-${t}$`,statut:!1,feedback:"You confused product and difference."}];break}this.autoCorrection[$].enonce=`${s}
`,this.questionJamaisPosee($,s)&&(this.interactif&&(s+=p(this,$).texte),this.listeQuestions.push(s),this.listeCorrections.push(o),$++),u++}x(this)},this.besoinFormulaire2Texte=["Type of questions",["Numbers separated by hyphens"," 1: Double"," 2: Triple"," 3: Half"," 4: Quarter"," 5: Next integer"," 6: Previous integer"," 7: Square"," 8: Cube"," 9: Opposite","10: Reverse","11: Sum of two numbers","12: Product of two numbers V1","13: Product of two numbers V2","14: Quotient of two numbers V1","15: Quotient of two numbers V2","16: Even number","17: Odd number","18: Multiple","19: Mixture"].join(`
`)]}export{m as amcReady,C as amcType,v as dateDeModifImportante,q as default,y as interactifReady,T as interactifType,g as ref,Y as titre,w as uuid};
//# sourceMappingURL=5L10-MaRCXgCh.js.map