<?xml version="1.0" encoding="UTF-8"?>
<quiz>
 <!-- categoryid: 2 -->
 <question type="category"><category><text>Batxillerat/Combinatòria</text></category></question>
 
 <!-- resourceid-resourcedataid: 3-812 -->
 <question type="shortanswerwiris">
    <name><text>Permutacions sense repetició</text>
</name>
    <questiontext format="html">
<text>Amb les lletres de la paraula #p, quantes paraules es poden escriure intercanviant-les, encara que no tinguin significat?</text>
    </questiontext>
    <image></image>
    <generalfeedback>
<text></text>
    </generalfeedback>
    <defaultgrade>1</defaultgrade>
    <penalty>0.5</penalty>
    <hidden>0</hidden>
    <shuffleanswers>0</shuffleanswers>
<usecase>0</usecase><answer fraction="100">      <text>
#sol
      </text>
<feedback>        <text>
Molt bé!
        </text>
</feedback></answer><answer fraction="0">      <text>
*
      </text>
<feedback>        <text>
Repassa l'esquema vist a classe
        </text>
</feedback></answer><wirisquestion>«session lang=¨ca¨ version=¨2.0¨»«library closed=¨false¨»«mtext style=¨color:#ffc800¨ xml:lang=¨es¨»variables«/mtext»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»l«/mi»«mo»=«/mo»«mo»{«/mo»«mi»A«/mi»«mo»,«/mo»«mi»B«/mi»«mo»,«/mo»«mi»C«/mi»«mo»,«/mo»«mi»D«/mi»«mo»,«/mo»«mi»E«/mi»«mo»,«/mo»«mi»F«/mi»«mo»,«/mo»«mi»G«/mi»«mo»,«/mo»«mi»H«/mi»«mo»,«/mo»«mi»I«/mi»«mo»,«/mo»«mi»J«/mi»«mo»,«/mo»«mi»K«/mi»«mo»,«/mo»«mi»L«/mi»«mo»,«/mo»«mi»M«/mi»«mo»,«/mo»«mi»N«/mi»«mo»,«/mo»«mi»O«/mi»«mo»,«/mo»«mi»P«/mi»«mo»,«/mo»«mi»Q«/mi»«mo»,«/mo»«mi»R«/mi»«mo»,«/mo»«mi»S«/mi»«mo»,«/mo»«mi»T«/mi»«mo»,«/mo»«mi»U«/mi»«mo»,«/mo»«mi»V«/mi»«mo»,«/mo»«mi»W«/mi»«mo»,«/mo»«mi»X«/mi»«mo»,«/mo»«mi»Y«/mi»«mo»,«/mo»«mi»Z«/mi»«mo»}«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«mo»=«/mo»«mi»aleatori«/mi»«mo»(«/mo»«mn»5«/mn»«mo».«/mo»«mo».«/mo»«mn»16«/mn»«mo»)«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»treure«/mi»«mo»=«/mo»«mi»longitud«/mi»«mo»(«/mo»«mi»l«/mi»«mo»)«/mo»«mo»-«/mo»«mi»m«/mi»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»while«/csymbol»«mrow»«mi»treure«/mi»«mo»§gt;«/mo»«mn»0«/mn»«/mrow»«mtable»«mtr»«mtd»«mi»treure«/mi»«mo»=«/mo»«mi»treure«/mi»«mo»-«/mo»«mn»1«/mn»«/mtd»«/mtr»«mtr»«mtd»«mi»qt«/mi»«mo»=«/mo»«mi»aleatori«/mi»«mo»(«/mo»«mn»1«/mn»«mo».«/mo»«mo».«/mo»«mi»longitud«/mi»«mo»(«/mo»«mi»l«/mi»«mo»)«/mo»«mo»)«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»l«/mi»«mo»=«/mo»«mi»esborra«/mi»«mo»(«/mo»«mi»l«/mi»«mo»,«/mo»«mi»qt«/mi»«mo»)«/mo»«/mtd»«/mtr»«/mtable»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p«/mi»«mo»=«/mo»«mo»§quot;«/mo»«mo»§quot;«/mo»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»while«/csymbol»«mrow»«mi»l«/mi»«mo»§ne;«/mo»«mo»{«/mo»«mo»}«/mo»«/mrow»«mtable»«mtr»«mtd»«mi»p«/mi»«mo»=«/mo»«mi»p«/mi»«mo»§verbar;«/mo»«mi»cadena«/mi»«mo»(«/mo»«msub»«mi»l«/mi»«mn»1«/mn»«/msub»«mo»)«/mo»«/mtd»«/mtr»«mtr»«mtd»«mi»l«/mi»«mo»=«/mo»«mi»esborra«/mi»«mo»(«/mo»«mi»l«/mi»«mo»,«/mo»«mn»1«/mn»«mo»)«/mo»«/mtd»«/mtr»«/mtable»«/apply»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«mo»=«/mo»«apply»«csymbol definitionURL=¨http://www.wiris.com/XML/csymbol¨»P«/csymbol»«mi»m«/mi»«/apply»«/math»«/input»«/command»«/group»«/library»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»m«/mi»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»l«/mi»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»p«/mi»«/math»«/input»«/command»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨»«mi»sol«/mi»«/math»«/input»«/command»«/group»«group»«command»«input»«math xmlns=¨http://www.w3.org/1998/Math/MathML¨/»«/input»«/command»«/group»«/session»</wirisquestion><wiriseditor></wiriseditor><wirisoptions></wirisoptions></question>
 </quiz>
