lehrkraefte:blc:informatik:glf20:programmieren:io-and-vars

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
lehrkraefte:blc:informatik:glf20:programmieren:io-and-vars [2020/09/18 11:43]
Ivo Blöchliger
lehrkraefte:blc:informatik:glf20:programmieren:io-and-vars [2020/09/23 08:45] (current)
Ivo Blöchliger
Line 100: Line 100:
 </code> </code>
 Erweitern Sie Ihr Programm so, dass Sie in der ersten Zeile mit einer Variablen die Grösse (Anzahl kleiner Quadrätchen) des Text-Quadrats beliebig wählen können. Erweitern Sie Ihr Programm so, dass Sie in der ersten Zeile mit einer Variablen die Grösse (Anzahl kleiner Quadrätchen) des Text-Quadrats beliebig wählen können.
 +
 +[[https://fginfo.ksbg.ch/~ivo/videos/informatik/python/tiger-jython-text-gitter-quadrat.mp4|🎞▶️ Erklärvideo]] oder auch auf [[https://web.microsoftstream.com/video/7e14fc58-02f0-41fc-8d79-ce4c0a33dc4a|Stream]]
 +
 </WRAP> </WRAP>
  
Line 184: Line 187:
 [[:io-and-vars:quiz|Quiz]] [[:io-and-vars:quiz|Quiz]]
  
-<quizlib id="quiz" rightanswers="['12', '42', ['a1'],'007', '0.67']" submit="Check Answers"> 
-    <question title="Was ist die Ausgabe von &lt;pre&gt;print(5+1*8-1)&lt;/pre&gt;" type="text"></question> 
-    <question title="Was ist die Ausgabe von &lt;pre&gt;print((5+1)*(8-1))&lt;/pre&gt;" type="text"></question> 
-    <question title='Welche Ausgabe produziert &lt;pre&gt;print(("a"*3+"b"*2)*2)&lt;/pre&gt;' type="radio">aaabbbb|aaabbaaabb|a3b22|("a"*3+"b"*2)*2</question>     
-    <question title="Was ist die Ausgabe von &lt;pre&gt;print(&quot;%03d&quot; % 7.92)&lt;/pre&gt;" type="text"></question> 
-    <question title="Was ist die Ausgabe von &lt;pre&gt;a=2&#xa;b=3&#xa;print(&quot;%.2f&quot; % (a/b))&lt;/pre&gt;" type="text"></question>     
-</quizlib> 
  
 ====== Lösungsvorschläge ====== ====== Lösungsvorschläge ======
  • lehrkraefte/blc/informatik/glf20/programmieren/io-and-vars.1600422198.txt.gz
  • Last modified: 2020/09/18 11:43
  • by Ivo Blöchliger