|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<quiz>
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/3. del</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 700 -->
|
|
<question type="calculated">
|
|
<name><text>Funkcije - vsota stevil</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[<br />Imamo naslednji program v Pythonu!<br /><br /><pre style="line-height: 85%;">def izracun(a,b):
|
|
x=0
|
|
while a<=b:
|
|
x=x+a
|
|
a=a+{y}
|
|
return x
|
|
|
|
print(izracun({x},{x}+5))</pre><font face="courier new,courier,monospace"> </font>Napiši število, ki ga program izpiše.<br /><br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>(6*{x}+3*(6-{y}))/{y}</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>27</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>21</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>22</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>23</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>24</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>25</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>26</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>27</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>27</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>y</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>3</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>27</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>21</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>22</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>23</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>24</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>25</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>26</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>27</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>27</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/3. del/Funkcije</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 574 -->
|
|
<question type="calculated">
|
|
<name><text>Funkcije-zanke</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Imamo funkcijo z imenom nekaj, napisano v psevdokodi. Kakšen rezultat vrne funkcija v spremenljivko c, če jo kličemo z ukazom c= nekaj({x},{y})?<br /><br /><font face="courier new, courier, monospace">funkcija nekaj(a,b) {<br />rezultat=0<br />dokler velja b>0 ponovi<br />rezultat=rezultat+a<br />b=b-1<br />do sem</font><div><font face="courier new, courier, monospace">vrni rezultat</font></div><div><font face="courier new, courier, monospace">}</font><br /><br /><br /><br /><br /><br /></div>]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x}*{y}</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>4</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>10</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>10</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>y</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>10</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>10</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 701 -->
|
|
<question type="calculated">
|
|
<name><text>Funkcije-zanke</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Imamo funkcijo z imenom nekaj, napisano v psevdokodi. Kakšen rezultat vrne funkcija v spremenljivko c, če jo kličemo z ukazom c= nekaj({x}*{y},{y})?<br /><br /><font face="courier new, courier, monospace">funkcija nekaj(a,b) {<br />rezultat=0<br />dokler velja (a-b)>=0 ponovi<br />rezultat=rezultat+1<br />a=a-b<br />do sem</font><div><font face="courier new, courier, monospace">vrni rezultat</font></div><div><font face="courier new, courier, monospace">}</font><br /><br /><br /><br /><br /><br /></div>]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x}</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>5</text>
|
|
</minimum>
|
|
<maximum><text>15</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>31</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>13</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>11</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>14</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>21</number>
|
|
<value>13</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>22</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>23</number>
|
|
<value>14</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>24</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>25</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>26</number>
|
|
<value>12</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>27</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>28</number>
|
|
<value>11</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>29</number>
|
|
<value>12</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>30</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>31</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>31</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>y</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>2</text>
|
|
</minimum>
|
|
<maximum><text>6</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>31</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>21</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>22</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>23</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>24</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>25</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>26</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>27</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>28</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>29</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>30</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>31</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>31</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/2. del</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 560 -->
|
|
<question type="calculated">
|
|
<name><text>if - diagram poteka</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[<img width="282" vspace="0" hspace="0" height="422" border="0" title="Diagram poteka" alt="Diagram poteka" src="http://245.gvs.arnes.si/gimjes/moodle/file.php/1/informatika/dp-if.jpg" /><br />Katero vrednost izpiše diagram poteka, če za a prebere vrednost {x}?<br /><br /><br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>100+{x}+10</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>11</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>11</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 561 -->
|
|
<question type="calculated">
|
|
<name><text>if - diagram poteka</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[<img width="282" vspace="0" hspace="0" height="422" border="0" title="Diagram poteka" alt="Diagram poteka" src="http://245.gvs.arnes.si/gimjes/moodle/file.php/1/informatika/dp-if.jpg" /><br />Katero vrednost izpiše diagram poteka, če za a prebere vrednost {x}?]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>100-{x}-10</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>-10</text>
|
|
</minimum>
|
|
<maximum><text>-1</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>10</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>-9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>-4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>-3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>-10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>-7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>-10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>-10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>-8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>-4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>-2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>-2</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>11</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/1. del</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 556 -->
|
|
<question type="calculated">
|
|
<name><text>If - izvajanje</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Kakšna je vrednost spremenljivke a po izvedbi naslednjega zaporedja ukazov v psevdokodi?<br /><br />a = {x}<br />if (a>10) <br /> a = a - 5<br />sicer<br /> a = a + 5<br /><br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x} + 5</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>0</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>11</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>11</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 557 -->
|
|
<question type="calculated">
|
|
<name><text>If - izvajanje</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Kakšna je vrednost spremenljivke po izvedbi naslednjega zaporedja ukazov?<br /><br />a = {x}<br />if (a < 11) {<br /> a = a + 11<br />}<br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x} + 11</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>shared</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>7</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>8</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 558 -->
|
|
<question type="calculated">
|
|
<name><text>If - izvajanje</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Kakšna je vrednost spremenljivke po izvedbi naslednjega zaporedja ukazov?<br /><br />a = {x}<br />if (a > 10) {<br /> a = a + 20<br />}<br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x}</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>shared</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>7</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>8</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 553 -->
|
|
<question type="calculated">
|
|
<name><text>Spremenljivke - izvajanje</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Kakšno vrednost ima spremenljivka a po izvedbi naslednjega zaporedja ukazov?<br /><br />a = {x}<br />b = {y}<br />a = a + b + 20<br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x} + {y} +20</text>
|
|
<tolerance>0</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>0</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>8</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>8</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>y</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>8</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>8</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 554 -->
|
|
<question type="calculated">
|
|
<name><text>Spremenljivke - izvajanje</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Kakšno vrednost ima spremenljivka a po izvedbi naslednjega zaporedja ukazov?<br /><br />a = {x}<br />b = {y}<br />b = 5*a - b<br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x}</text>
|
|
<tolerance>0</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>0</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>8</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>8</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>y</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>8</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>8</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 559 -->
|
|
<question type="calculated">
|
|
<name><text>Spremenljivke - izvajanje</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Kakšno vrednost ima spremenljivka b po izvedbi naslednjega zaporedja ukazov?<br /><br />a = {x}<br />b = {y}<br />b = 5*a - b<br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>5*{x}-{y}</text>
|
|
<tolerance>0</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>0</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>8</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>8</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>y</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>8</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>8</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/3. del/Tabele</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 699 -->
|
|
<question type="calculated">
|
|
<name><text>Tabele</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[<br />Imamo naslednji program v Pythonu!<br /><br /><pre style="line-height: 85%;"> tab=[{a},{b},{c},{d},{e},{f},{g}]
|
|
y=0
|
|
x=0
|
|
while x<=5:
|
|
y=y+tab[x]
|
|
x=x+1
|
|
print( y )
|
|
|
|
</pre><font face="courier new,courier,monospace"> </font>Napiši število, ki ga program izpiše.<br /><br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{a}+{b}+{c}+{d}+{e}+{f}+{g}-{g}</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>a</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>b</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>c</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>d</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>e</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>f</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>g</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8.4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 702 -->
|
|
<question type="calculated">
|
|
<name><text>Tabele</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[<br />Imamo naslednji program v Pythonu!<br /><br /><pre style="line-height: 85%;"> tab=[{a},{b},{c},{d},{e},{f},{g}]
|
|
y=0
|
|
x=2
|
|
while x<=6:
|
|
y=y+tab[x]
|
|
x=x+1
|
|
print( y )
|
|
|
|
</pre><font face="courier new,courier,monospace"> </font>Napiši število, ki ga program izpiše.<br /><br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{a}-{a}+{b}-{b}+{c}+{d}+{e}+{f}+{g}</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>a</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>b</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>c</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>d</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>e</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>f</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>g</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>20</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>8.4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>12</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>13</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>14</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>15</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>16</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>17</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>18</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>19</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>20</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>20</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/2. del</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 566 -->
|
|
<question type="calculated">
|
|
<name><text>Zanke</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Kakšno vrednost ima spremenljivka b po izvršitvi naslednjega dela programa?<br /><br />b={x}<br />i=0<br />dokler i<5 ponavljaj {<br />b=b+i<br />i=i+1<br />}<br />]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x}+10</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>0</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1</text>
|
|
</minimum>
|
|
<maximum><text>10</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>10</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>4</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>10</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 568 -->
|
|
<question type="calculated">
|
|
<name><text>Zanke</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Koliko je vrednost spremenljivke a po izvršitvi naslednjega programa v psevdokodi?<br /><br />a={x};<br />dokler (a>10) ponavljaj {<br /> izpiši ("Vrednost a: ",a)<br /> a=a+1<br />}]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x}</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>1.0</text>
|
|
</minimum>
|
|
<maximum><text>10.0</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>10</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>6</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>3</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>1</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>2</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>10</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 570 -->
|
|
<question type="calculated">
|
|
<name><text>Zanke</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Naslednja zanka se nikoli ne konča. Na katero najmanjšo pozitivno vrednost ali število 0 moramo spremeniti rdeče število, da se bo zanka končala?<br /><br />a=<font color="#FF0000">15</font>;<br />b=4;<br />dokler je a različen od {x} {<br />b=b*b<br />a=a + 3<font color="#FF0000"></font><br />}]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
<answer fraction="100">
|
|
<text>{x}%3</text>
|
|
<tolerance>0.01</tolerance>
|
|
<tolerancetype>1</tolerancetype>
|
|
<correctanswerformat>1</correctanswerformat>
|
|
<correctanswerlength>2</correctanswerlength>
|
|
<feedback><text></text>
|
|
</feedback>
|
|
</answer>
|
|
<dataset_definitions>
|
|
<dataset_definition>
|
|
<status><text>private</text>
|
|
</status>
|
|
<name><text>x</text>
|
|
</name>
|
|
<type>calculated</type>
|
|
<distribution><text>uniform</text>
|
|
</distribution>
|
|
<minimum><text>5</text>
|
|
</minimum>
|
|
<maximum><text>12</text>
|
|
</maximum>
|
|
<decimals><text>0</text>
|
|
</decimals>
|
|
<itemcount>11</itemcount>
|
|
<dataset_items>
|
|
<dataset_item>
|
|
<number>1</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>2</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>3</number>
|
|
<value>11</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>4</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>5</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>6</number>
|
|
<value>10</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>7</number>
|
|
<value>11</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>8</number>
|
|
<value>9</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>9</number>
|
|
<value>5</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>10</number>
|
|
<value>7</value>
|
|
</dataset_item>
|
|
<dataset_item>
|
|
<number>11</number>
|
|
<value>8</value>
|
|
</dataset_item>
|
|
</dataset_items>
|
|
<number_of_items>11</number_of_items>
|
|
</dataset_definition>
|
|
</dataset_definitions>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/3. del/1</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 572 -->
|
|
<question type="cloze">
|
|
<name><text>Funkcije-zanke</text>
|
|
</name>
|
|
<questiontext>
|
|
<text>{1:MULTICHOICE:Funkcija#~=Zanka#} mora vedno vsebovati pogoj. (Klikni na poščico in vstavi pravilno besedo.)</text>
|
|
</questiontext>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<shuffleanswers>0</shuffleanswers>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/1. del</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 551 -->
|
|
<question type="multichoice">
|
|
<name><text>Diagram poteka</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text>Diagram poteka uporabljamo za:</text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>true</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>abc</answernumbering>
|
|
<answer fraction="100">
|
|
<text>
|
|
slikovni prikaz rešitve problema
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
opisni način prikaza rešitve problema
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
<![CDATA[zapis rešitve problema, ki jo "razume" računalnik]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
zapis rešitve problema v določenem programskem jeziku
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/3. del/1</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 571 -->
|
|
<question type="multichoice">
|
|
<name><text>Funkcije-zanke</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text>Kateri trditvi sta pravilni?</text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>false</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>abc</answernumbering>
|
|
<answer fraction="50">
|
|
<text>
|
|
Funkcijo uporabimo v programu zato, da istih opravil na različnih podatkih ne programiramo večkrat.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="-50">
|
|
<text>
|
|
Funkcijo uporabimo v programu zato, da določen del programa večkrat ponovimo.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="50">
|
|
<text>
|
|
Zanko uporabimo v programu zato, da določene ukaze v programu večkrat ponovimo.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="-50">
|
|
<text>
|
|
Zanko uporabimo v programu zato, da istih opravil na različnih podatkih ne programiramo večkrat.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/3. del/Nizi</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 564 -->
|
|
<question type="multichoice">
|
|
<name><text>Nizi</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text>Imamo spremenljivko mesto, v katero lahko shranimo niz. Kateri od prireditvenih stavkov v nekem programskem jeziku NIKAKOR NE BO spremenljivki priredil niz (string)?</text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>true</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>none</answernumbering>
|
|
<answer fraction="0">
|
|
<text>
|
|
<![CDATA[mesto = "Ljubljana" ]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
mesto = Kranj
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
<![CDATA[mesto = "10" ]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="100">
|
|
<text>
|
|
mesto = 200
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
<![CDATA[mesto = "Je" + "senice" ]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 703 -->
|
|
<question type="multichoice">
|
|
<name><text>Nizi</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text><![CDATA[Kateri trije od naslednjih prireditvenih stavkov BODO (BI LAHKO) v Pythonu v spremenljivko c shranili niz "B747"?]]></text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>false</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>none</answernumbering>
|
|
<answer fraction="-33.333">
|
|
<text>
|
|
<![CDATA[c = "B" +747]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="-33.333">
|
|
<text>
|
|
<![CDATA[c="b"+"747"]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="33.333">
|
|
<text>
|
|
<![CDATA[c="B"+str(747)]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="-33.333">
|
|
<text>
|
|
c=B745-B1
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="33.333">
|
|
<text>
|
|
<![CDATA[c="B"+"474"]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="33.333">
|
|
<text>
|
|
<![CDATA[c="B747"]]>
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/1. del</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 549 -->
|
|
<question type="multichoice">
|
|
<name><text>Programski jezik</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text>Zakaj programiramo v programskih jezikih in ne v naravnih jezikih (slovenščina, angleščina, ...)?</text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>false</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>abc</answernumbering>
|
|
<answer fraction="50">
|
|
<text>
|
|
Zaradi omejenega števila ukazov
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="50">
|
|
<text>
|
|
Zaradi nedvoumnosti
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
Zato, ker vsebuje manj ukazov in se ga lažje naučimo.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
Zato, da ima lahko zapisan ukaz več različnih pomenov.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 552 -->
|
|
<question type="multichoice">
|
|
<name><text>Psevdokoda</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text>Psevdokodo uporabljamo za:</text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>true</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>abc</answernumbering>
|
|
<answer fraction="100">
|
|
<text>
|
|
besedni prikaz rešitve problema, ki ni vezan na določen programski jezik
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
slikovni prikaz rešitve problema
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
opis rešitve problema v določenem programskem jeziku
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
grafični opis problema
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 550 -->
|
|
<question type="multichoice">
|
|
<name><text>Spremenljivka</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text>Kateri trditvi najbolje opišeta spremenljivko v programskem jeziku?</text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>false</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>abc</answernumbering>
|
|
<answer fraction="50">
|
|
<text>
|
|
Spremenljivki se običajno spreminja vrednost med izvajanjem programa.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="50">
|
|
<text>
|
|
Spremenljivka je logično ime za prostor v pomnilniku.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
Spremenljivkina vrednost ostane med izvajanjem programa večinoma nespremenjena.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="0">
|
|
<text>
|
|
Spremenljivka ima v vsakem programskem jeziku na začetku vnaprej znano vrednost, to je 0.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 555 -->
|
|
<question type="multichoice">
|
|
<name><text>Spremenljivke - zamenjava</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text>Katero(e) od naslednjih zaporedij ukazov zamenja vrednost spremenljivkama x in y v pomnilniku?</text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>false</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>abc</answernumbering>
|
|
<answer fraction="-50">
|
|
<text>
|
|
x = y; z = x; y = x;
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="50">
|
|
<text>
|
|
z = x; x = y; y = z;
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="50">
|
|
<text>
|
|
z = y; y = x; x = z;
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="-50">
|
|
<text>
|
|
z = y; x = y; y = x;
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="-50">
|
|
<text>
|
|
y = x; x = y;
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 0 -->
|
|
<question type="category">
|
|
<category>
|
|
<text>$cat1$/1. letnik - snov/Programiranje/3. del/1</text>
|
|
|
|
</category>
|
|
</question>
|
|
|
|
|
|
|
|
<!-- question: 575 -->
|
|
<question type="multichoice">
|
|
<name><text>Tabele</text>
|
|
</name>
|
|
<questiontext format="html">
|
|
<text>Kateri dve trditvi o tabelah v programiranju sta pravilni?</text>
|
|
</questiontext>
|
|
<image></image>
|
|
<generalfeedback>
|
|
<text></text>
|
|
</generalfeedback>
|
|
<defaultgrade>1</defaultgrade>
|
|
<penalty>0.1</penalty>
|
|
<hidden>0</hidden>
|
|
<shuffleanswers>1</shuffleanswers>
|
|
<single>false</single>
|
|
<shuffleanswers>true</shuffleanswers>
|
|
<correctfeedback> <text></text>
|
|
</correctfeedback>
|
|
<partiallycorrectfeedback> <text></text>
|
|
</partiallycorrectfeedback>
|
|
<incorrectfeedback> <text></text>
|
|
</incorrectfeedback>
|
|
<answernumbering>none</answernumbering>
|
|
<answer fraction="50">
|
|
<text>
|
|
Dolžina tabele pomeni število elementov v tabeli.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="50">
|
|
<text>
|
|
Če ima prvi element tabele t indeks 0 in je tabela velika t.length, potem ima zadnji element indeks t.length-1.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="-50">
|
|
<text>
|
|
Vrednost elementa v tabeli je vedno enaka indeksu istega elementa.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
<answer fraction="-50">
|
|
<text>
|
|
Izraz t[10]=5 pomeni, da petemu elementu tabele t priredimo vrednost 10.
|
|
</text>
|
|
<feedback>
|
|
<text>
|
|
|
|
</text>
|
|
</feedback>
|
|
</answer>
|
|
</question>
|
|
|
|
|
|
</quiz>
|