File: /home/mmtprep/public_html/mathzen.mmtprep.com/assets/6G33-Sw0aFnP5.js
import{E as z,c as G,ai as S,r as A,q as a,K as m,L as d,aM as p,o as f,C as D,p as w,l as M}from"./index-ajJ0B2-K.js";const P=!0,B="qcmMono",E=!0,F="qcm",K="04/07/2023",H="Recognize a particular quadrilateral from its properties",L="4e52e",O="6G33";function V(){z.call(this),this.titre=H,this.amcReady=P,this.amcType=B,this.interactifReady=E,this.interactifType=F,this.consigne="",this.nbQuestions=3,this.nbQuestionsModifiable=!1,this.nbColsCorr=2,this.correctionDetailleeDisponible=!0,G.isHtml?this.correctionDetaillee=!0:this.correctionDetaillee=!1,this.nouvelleVersion=function(){this.listeQuestions=[],this.listeCorrections=[],this.consigne=this.interactif?"For each question, check the correct answer.":"";const c=S(["diamond","rectangle","square"]);for(let n=0,C,T,h,o,R=0;n<this.nbQuestions&&R<50;){C=c[n]==="diamond"?A(1,2):A(1,3),T=c[n]+C,h="",o="";let i,t,e,s,r,l,b,x,q,y,Q,u,g,k,I,W,v;switch(this.autoCorrection[n]={},C){case 2:this.autoCorrection[n].propositions=[{texte:"Diamond",statut:!1,feedback:c[n]==="diamond"?"Diamonds have perpendicular and intersecting diagonals in the middle.":"Diamonds do not have diagonals of the same length."},{texte:"Rectangle",statut:!1,feedback:c[n]==="rectangle"?"Rectangles have diagonals of the same length and intersecting in the middle.":"Rectangles do not have perpendicular diagonals."},{texte:"Square",statut:!1,feedback:(c[n]==="diamond"?"Squares have perpendicular and intersecting diagonals in the middle, but not only that. Their diagonals are also the same length.":c[n]==="rectangle"?"The squares have perpendicular diagonals and the same length, but not only that. Their diagonals also intersect in the middle.":"The squares have perpendicular diagonals, of equal length and intersecting in the middle.")+" A square is both a rectangle and a diamond."},{texte:"Trapeze",statut:!1,feedback:"Generally speaking, trapezoids do not have perpendicular diagonals."},{texte:"Parallelogram",statut:!1,feedback:"Generally speaking, parallelograms do not have perpendicular diagonals."}];break;default:this.autoCorrection[n].propositions=[{texte:"Diamond",statut:!1,feedback:c[n]==="diamond"?"Diamonds have all sides of the same length.":"Rhombuses do not have right angles."},{texte:"Rectangle",statut:!1,feedback:c[n]==="rectangle"?"Rectangles have 4 right angles.":"Rectangles do not all have the same length of sides."},{texte:"Square",statut:!1,feedback:(c[n]==="diamond"?"The squares have all their sides of the same length, but not only that. They also have 4 right angles.":c[n]==="rectangle"?"Squares have 4 right angles, but not only that. They also have all their sides the same length.":"The squares have all sides of the same length and 4 right angles.")+" A square is both a rectangle and a diamond."},{texte:"Trapeze",statut:!1,feedback:"Generally speaking, trapezoids do not have all their sides of the same length, nor do they have right angles."},{texte:"Parallelogram",statut:!1,feedback:"Generally speaking, parallelograms do not have all their sides of the same length, nor do they have right angles."}]}switch(this.autoCorrection[n].options={ordered:!0,lastChoice:5},T){case"diamond1":h="What is the nature of a quadrilateral having 4 sides of equal length?",i=a(0,0),t=a(2,3),e=a(0,6),s=a(-2,3),r=a(0,3),l=m(i,t,e,s),v=p("||","blue",i,t,t,e,e,s,s,i),this.correctionDetaillee&&(o=f({xmin:-3,xmax:3,ymin:-1,ymax:7},l,v)+"<br>"),o+="It's a diamond.";break;case"diamond2":h="What is the nature of a quadrilateral having its diagonals perpendicular and intersecting in the middle?",i=a(0,0),t=a(2,3),e=a(0,6),s=a(-2,3),r=a(0,3),l=m(i,t,e,s),b=d(e,r,t),u=D(i,e),g=D(t,s),u.pointilles=5,g.pointilles=5,I=p("|","blue",r,i,r,e),W=p("|||","blue",r,t,r,s),this.correctionDetaillee&&(o=f({xmin:-3,xmax:3,ymin:-1,ymax:7},l,b,u,g,I,W)+"<br>"),o+="It's a diamond.";break;case"rectangle1":h="What is the nature of a quadrilateral having 4 right angles?",i=a(0,0),t=a(5,0),e=a(5,3),s=a(0,3),r=a(2.5,1.5),l=m(i,t,e,s),x=d(i,t,e),q=d(t,e,s),y=d(e,s,i),Q=d(s,i,t),this.correctionDetaillee&&(o=f({xmin:-1,xmax:6,ymin:-1,ymax:4},l,x,q,y,Q)+"<br>"),o+="It's a rectangle.";break;case"rectangle2":h="What is the nature of a quadrilateral having its diagonals of the same length and intersecting in the middle?",i=a(0,0),t=a(5,0),e=a(5,3),s=a(0,3),r=a(2.5,1.5),l=m(i,t,e,s),u=D(i,e),g=D(t,s),k=p("||","blue",r,i,r,t,r,e,r,s),this.correctionDetaillee&&(o=f({xmin:-1,xmax:6,ymin:-1,ymax:4},l,k,u,g)+"<br>"),o+="It's a rectangle.";break;case"rectangle3":h="What is the nature of a quadrilateral having 3 right angles?",i=a(0,0),t=a(5,0),e=a(5,3),s=a(0,3),r=a(2.5,1.5),l=m(i,t,e,s),x=d(i,t,e),q=d(t,e,s),y=d(e,s,i),this.correctionDetaillee&&(o=f({xmin:-1,xmax:6,ymin:-1,ymax:4},l,x,q,y)+"<br>"),o+="It is a rectangle because if the quadrilateral has 3 right angles, then it also necessarily has a fourth.";break;case"square1":h="What is the nature of a quadrilateral having its 4 sides of equal length and 4 right angles?",i=a(0,0),t=a(3,0),e=a(3,3),s=a(0,3),r=a(1.5,1.5),l=m(i,t,e,s),x=d(i,t,e),q=d(t,e,s),y=d(e,s,i),v=p("||","blue",i,t,t,e,e,s,s,i),this.correctionDetaillee&&(o=f({xmin:-1,xmax:4,ymin:-1,ymax:4},l,x,q,y,v)+"<br>"),o+="It's a square.";break;case"square2":h="What is the nature of a quadrilateral having its perpendicular diagonals, of the same length and intersecting in the middle?",i=a(0,0),t=a(3,0),e=a(3,3),s=a(0,3),r=a(1.5,1.5),l=m(i,t,e,s),b=d(e,r,s),u=D(i,e),g=D(t,s),u.pointilles=5,g.pointilles=5,k=p("||","blue",r,i,r,t,r,e,r,s),this.correctionDetaillee&&(o=f({xmin:-1,xmax:4,ymin:-1,ymax:4},l,b,k,u,g)+"<br>"),o+="It's a square.";break;case"square3":h="What is the nature of a quadrilateral having its 4 sides of equal length and a right angle?",i=a(0,0),t=a(3,0),e=a(3,3),s=a(0,3),r=a(1.5,1.5),l=m(i,t,e,s),b=d(i,t,e),v=p("||","blue",i,t,t,e,e,s,s,i),this.correctionDetaillee&&(o=f({xmin:-1,xmax:4,ymin:-1,ymax:4},l,b,v)+"<br>"),o+="It's a square.";break}switch(this.autoCorrection[n].enonce=`${h}
`,c[n]){case"diamond":this.autoCorrection[n].propositions[0].statut=!0;break;case"rectangle":this.autoCorrection[n].propositions[1].statut=!0;break;case"square":this.autoCorrection[n].propositions[2].statut=!0;break}this.questionJamaisPosee(n,h)&&(this.interactif&&(h+=w(this,n).texte),this.listeQuestions.push(h),this.listeCorrections.push(o),n++),R++}M(this)}}export{P as amcReady,B as amcType,K as dateDeModifImportante,V as default,E as interactifReady,F as interactifType,O as ref,H as titre,L as uuid};
//# sourceMappingURL=6G33-Sw0aFnP5.js.map