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/can6M13-k4QfowbM.js.map
{"version":3,"file":"can6M13-k4QfowbM.js","sources":["../../src/exercices/can/6e/can6M13.js"],"sourcesContent":["import { choice } from '../../../lib/outils/arrayOutils'\nimport { texNombre } from '../../../lib/outils/texNombre.js'\nimport Exercice from '../../Exercice.js'\nexport const titre = 'Manipuler les conversions'\nexport const dateDePublication = '11/10/2023'\nexport const interactifReady = true\nexport const interactifType = 'mathLive'\nexport const amcReady = true\n\n/*!\n * @author Gilles Mora\n * Créé le 05/10/2023\n * Référence can6M13\n */\nexport const uuid = '59144'\nexport const ref = 'can6M13'\nexport default function CombienDeFois () {\n  Exercice.call(this)\n  this.nbQuestions = 1\n  this.tailleDiaporama = 2\n  this.typeExercice = 'simple'\n  this.formatInteractif = 'calcul'\n  this.formatChampTexte = 'largeur15 inline'\n  this.nouvelleVersion = function () {\n    switch (choice([1, 1, 2, 2, 3, 3, 4])) {\n      case 0:{\n        const Choixprefixes = [[10, 'h'], [100, 'da'], [1000, ''], [10000, 'd']]\n        const prefixes = choice(Choixprefixes)\n        const unite = choice(['g', 'm', 'L'])\n        const choix = choice([true, false])\n        this.question = `Le professeur demande à un élève : <br>\n      ${choix ? `« $1$ k${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? »` : `« $1$ ${prefixes[1]}${unite} c'est combien de fois plus petit que $1$ k${unite} ? »`}<br>\n        La réponse correcte à cette question est : ${this.interactif ? '' : '$\\\\ldots$'}`\n        this.optionsChampTexte = { texteApres: 'fois' }\n        this.reponse = prefixes[0]\n        this.correction = ` $1$ k${unite}  $= ${texNombre(prefixes[0])}$ ${prefixes[1]}${unite}`\n        this.canEnonce = `Le professeur demande à un élève :<br> \n        « $1$ k${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? » `\n        this.canReponseACompleter = 'La réponse correcte à cette question est : <br>$\\\\ldots$'\n      }\n        break\n\n      case 1:{\n        const Choixprefixes = [[10, 'da'], [100, ''], [1000, 'd'], [10000, 'c']]\n        const prefixes = choice(Choixprefixes)\n        const unite = choice(['g', 'm', 'L'])\n        const choix = choice([true, false])\n        this.question = `Le professeur demande à un élève : <br>\n          ${choix ? `« $1$ h${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? »` : `« $1$ ${prefixes[1]}${unite} c'est combien de fois plus petit que $1$ h${unite} ? »`}<br>\n            La réponse correcte à cette question est : ${this.interactif ? '' : '$\\\\ldots$'}`\n        this.optionsChampTexte = { texteApres: 'fois' }\n        this.reponse = prefixes[0]\n        this.correction = ` $1$ h${unite}  $= ${texNombre(prefixes[0])}$ ${prefixes[1]}${unite}`\n        this.canEnonce = `Le professeur demande à un élève :<br> \n            « $1$ h${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? » `\n        this.canReponseACompleter = 'La réponse correcte à cette question est : <br>$\\\\ldots$'\n      }\n        break\n      case 2:{\n        const Choixprefixes = [[10, ''], [100, 'd'], [1000, 'c'], [10000, 'm']]\n        const prefixes = choice(Choixprefixes)\n        const unite = choice(['g', 'm', 'L'])\n        const choix = choice([true, false])\n        this.question = `Le professeur demande à un élève : <br>\n              ${choix ? `« $1$ da${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? »` : `« $1$ ${prefixes[1]}${unite} c'est combien de fois plus petit que $1$ da${unite} ? »`}<br>\n                La réponse correcte à cette question est : ${this.interactif ? '' : '$\\\\ldots$'}`\n        this.optionsChampTexte = { texteApres: 'fois' }\n        this.reponse = prefixes[0]\n        this.correction = ` $1$ da${unite}  $= ${texNombre(prefixes[0])}$ ${prefixes[1]}${unite}`\n        this.canEnonce = `Le professeur demande à un élève : <br>\n                « $1$ da${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? » `\n        this.canReponseACompleter = 'La réponse correcte à cette question est : <br>$\\\\ldots$'\n      }\n        break\n\n      case 3:{\n        const Choixprefixes = [[10, 'd'], [100, 'c'], [1000, 'm']]\n        const prefixes = choice(Choixprefixes)\n        const unite = choice(['g', 'm', 'L'])\n        const choix = choice([true, false])\n        this.question = `Le professeur demande à un élève : <br>\n                  ${choix ? `« $1$ ${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? »` : `« $1$ ${prefixes[1]}${unite} c'est combien de fois plus petit que $1$ ${unite} ? »`}<br>\n                    La réponse correcte à cette question est : ${this.interactif ? '' : '$\\\\ldots$'}`\n        this.optionsChampTexte = { texteApres: 'fois' }\n        this.reponse = prefixes[0]\n        this.correction = ` $1$ ${unite}  $= ${texNombre(prefixes[0])}$ ${prefixes[1]}${unite}`\n        this.canEnonce = `Le professeur demande à un élève : <br>\n                    « $1$ ${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? » `\n        this.canReponseACompleter = 'La réponse correcte à cette question est : <br>$\\\\ldots$'\n      }\n        break\n\n      case 4:{\n        const Choixprefixes = [[10, 'c'], [100, 'm']]\n        const prefixes = choice(Choixprefixes)\n        const unite = choice(['g', 'm', 'L'])\n        const choix = choice([true, false])\n        this.question = `Le professeur demande à un élève :<br> \n                      ${choix ? `« $1$ d${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? »` : `« $1$ ${prefixes[1]}${unite} c'est combien de fois plus petit que $1$ d${unite} ? »`}<br>\n                        La réponse correcte à cette question est : ${this.interactif ? '' : '$\\\\ldots$'}`\n        this.optionsChampTexte = { texteApres: 'fois' }\n        this.reponse = prefixes[0]\n        this.correction = ` $1$ d${unite}  $= ${texNombre(prefixes[0])}$ ${prefixes[1]}${unite}`\n        this.canEnonce = `Le professeur demande à un élève : <br>\n                        « $1$ d${unite} c'est combien de fois plus grand que $1$ ${prefixes[1]}${unite} ? » `\n        this.canReponseACompleter = 'La réponse correcte à cette question est : <br>$\\\\ldots$'\n      }\n        break\n    }\n  }\n}\n"],"names":["titre","dateDePublication","interactifReady","interactifType","amcReady","uuid","ref","CombienDeFois","Exercice","choice","prefixes","unite","choix","texNombre"],"mappings":"sDAGY,MAACA,EAAQ,4BACRC,EAAoB,aACpBC,EAAkB,GAClBC,EAAiB,WACjBC,EAAW,GAExB;AAAA;AAAA;AAAA;AAAA,GAKY,MAACC,EAAO,QACPC,EAAM,UACJ,SAASC,GAAiB,CACvCC,EAAS,KAAK,IAAI,EAClB,KAAK,YAAc,EACnB,KAAK,gBAAkB,EACvB,KAAK,aAAe,SACpB,KAAK,iBAAmB,SACxB,KAAK,iBAAmB,mBACxB,KAAK,gBAAkB,UAAY,CACjC,OAAQC,EAAO,CAAC,EAAG,EAAG,EAAG,EAAG,EAAG,EAAG,CAAC,CAAC,EAAC,CACnC,IAAK,GAAE,CAEL,MAAMC,EAAWD,EADK,CAAC,CAAC,GAAI,GAAG,EAAG,CAAC,IAAK,IAAI,EAAG,CAAC,IAAM,EAAE,EAAG,CAAC,IAAO,GAAG,CAAC,CAClC,EAC/BE,EAAQF,EAAO,CAAC,IAAK,IAAK,GAAG,CAAC,EAC9BG,EAAQH,EAAO,CAAC,GAAM,EAAK,CAAC,EAClC,KAAK,SAAW;AAAA,QAChBG,EAAQ,UAAUD,CAAK,6CAA6CD,EAAS,CAAC,CAAC,GAAGC,CAAK,OAAS,SAASD,EAAS,CAAC,CAAC,GAAGC,CAAK,8CAA8CA,CAAK,MAAM;AAAA,qDACxI,KAAK,WAAa,GAAK,WAAW,GAC/E,KAAK,kBAAoB,CAAE,WAAY,MAAQ,EAC/C,KAAK,QAAUD,EAAS,CAAC,EACzB,KAAK,WAAa,SAASC,CAAK,QAAQE,EAAUH,EAAS,CAAC,CAAC,CAAC,KAAKA,EAAS,CAAC,CAAC,GAAGC,CAAK,GACtF,KAAK,UAAY;AAAA,iBACRA,CAAK,6CAA6CD,EAAS,CAAC,CAA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