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/6C10-VpTVPRWR.js
import{g as k,s as Q}from"./reperes-w_D-727i.js";import{E as T,c as u,ag as w,r as e,bj as C,o as N,a as d,w as $,s as v,bI as M,l as D}from"./index-ajJ0B2-K.js";import{O as b}from"./operations-l2PsuM9n.js";import"./PEA11-1-OwsvP6mg.js";const O=!0,j="AMCHybride",E=!0,I="mathLive",q="Ask additions, subtractions and multiplications of whole numbers",L="cfa6a",S="6C10";function B(){T.call(this),this.titre=q,this.consigne="Ask and carry out the following calculations.",this.spacing=2,u.isHtml?this.spacingCorr=2:this.spacingCorr=1,this.nbQuestions=5,this.listePackages="xlop",this.tailleDiaporama=3,this.besoinFormulaireTexte=["Types of calculations",`Numbers separated by hyphens
1: abcde + fgh
2: abc0 - efg
3: 1abc - def
4: abc * d0e (tables 2 to 5)
5: abc * de (tables 5 to 9)
 n6: Mixture`],this.besoinFormulaire2Numerique=["Notebook type",3,` 1: Notebook with small squares
 2: Notebook with large squares (Seyes)
 3: Blank sheet`],this.sup=6,this.sup2=3,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.autoCorrection=[];let g,p;const A=w({max:5,defaut:e(1,5),nbQuestions:this.nbQuestions,melange:6,saisie:this.sup});let h;if(this.sup2<3){const a=this.sup2<3?k(0,0,5,8,"gray",.7):C(),t=this.sup2===2?Q(0,0,5,8):C(),y={xmin:0,ymin:0,xmax:5,ymax:8,pixelsParCm:20,scale:this.sup2===2?.8:.5};h="<br>"+N(y,a,t)}else h="";for(let a=0,t,c,y=0,o,n,r,m,l,f,x,s,i;a<this.nbQuestions&&y<50;){switch(g=A[a],this.autoCorrection[a]={},g){case 1:o=e(1,9)*1e4+e(5,9)*1e3+e(5,9)*100+e(7,9)*10+e(1,9),n=e(5,9)*100+e(7,9)*10+e(1,9),t=`$${$(o,0)}+${n}`,this.interactif&&!u.isAmc?t+="=$"+d(this,a,"inline"):t+="$",t+=h,p=o+n,c=b({operande1:o,operande2:n,type:"addition"});break;case 2:o=e(1,9),n=e(1,9),r=e(1,9),l=e(n,9),f=e(r,9),x=e(2,9),s=o*1e3+n*100+r*10,i=l*100+f*10+x,t=`$${$(s,0)}-${i}`,this.interactif&&!u.isAmc?t+="=$"+d(this,a,"inline"):t+="$",t+=h,p=s-i,c=b({operande1:s,operande2:i,type:"soustraction"});break;case 3:o=e(1,9),n=e(1,9),r=e(1,9),m=e(o,9),l=e(1,9),f=e(r,9),s=1e3+o*100+n*10+r,i=m*100+l*10+f,t=`$${$(s,0)}-${i}`,this.interactif&&!u.isAmc?t+="=$"+d(this,a,"inline"):t+="$",t+=h,p=s-i,c=b({operande1:s,operande2:i,type:"soustraction"});break;case 4:o=e(2,5),n=e(2,5),r=e(2,5),m=e(2,5),l=e(2,5),s=100*o+10*n+r,i=m*100+l,t=`$${$(s,0)}\\times${i}`,this.interactif&&!u.isAmc?t+="=$"+d(this,a,"inline"):t+="$",t+=h,p=s*i,c=b({operande1:s,operande2:i,type:"multiplication"});break;case 5:o=e(5,9),n=e(5,9),r=e(5,9),m=e(5,9),l=e(5,9),s=100*o+10*n+r,i=10*m+l,t=`$${s}\\times${i}`,this.interactif&&!u.isAmc?t+="=$"+d(this,a,"inline"):t+="$",t+=h,p=s*i,c=b({operande1:s,operande2:i,type:"multiplication"});break}this.questionJamaisPosee(a,o,n,r,m,l,f,x)&&(this.listeQuestions.push(t),!u.isHtml&&a===0&&(c="\\setlength\\itemsep{2em}"+c),this.listeCorrections.push(c),u.isAmc?this.autoCorrection[a]={enonce:"",enonceAvant:!1,propositions:[{type:"AMCOpen",propositions:[{enonce:"Install and carry out the following operation:"+t,texte:c,statut:3,pointilles:!1}]},{type:"AMCNum",propositions:[{texte:"",statut:"",reponse:{texte:"Result of the operation:",valeur:[p],param:{digits:M(p),decimals:0,signe:!1,approx:0}}}]}]}:v(this,a,p,{digits:0}),a++),y++}D(this)}}export{O as amcReady,j as amcType,B as default,E as interactifReady,I as interactifType,S as ref,q as titre,L as uuid};
//# sourceMappingURL=6C10-VpTVPRWR.js.map