Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

Nächste Überarbeitung
Vorhergehende Überarbeitung
en:modul:m291:learningunits:lu05:loesungen:11 [2025/01/27 15:01] – angelegt vdemiren:modul:m291:learningunits:lu05:loesungen:11 [2025/03/28 09:16] (aktuell) vdemir
Zeile 1: Zeile 1:
-====== LU05.S11 - v-if and functions ======+====== LU05.S11 - v-if, v-else ... combined with AND/OR operators ======
  
 ===== Hints ==== ===== Hints ====
Zeile 6: Zeile 6:
   * The result will be presented in the right hand side of the window.   * The result will be presented in the right hand side of the window.
  
-===== Assignment  ===== +===== Assignment ====== 
-  * {{ :en:modul:m291:learningunits:lu05:loesungen:04_v-if_ueb4.zip | ZipFile with the HTML code-solution}} +  - People under the age of 12 are not allowed to go to the cinema 
- +  - Execute your script and check the result. Proceed only, if the result is correct. 
-{{:en:modul:m291:learningunits:lu05:loesungen:lu05.s11.png?800| Solution of the assignment}} +  - Under 12 and with adult company they are allowed to up to 6 o'clock pm. 
- +  - Execute your script and check the result. Proceed only, if the result is correct. 
- +  Between 12 and 16 they are allowed up to 6 o'clock pm, even without an adult company.  
 +  - Execute your script and check the result. Proceed only, if the result is correct. 
 +  - Between 12 and 16 they may attend to screenings if they are accompanied by an adult. 
 +  - Execute your script and check the resultProceed only, if the result is correct. 
 +  - Person older than 16 may go to the cinemas without time restriction. 
 +  - Execute your script and check the result. Proceed only, if the result is correct. 
 +  - Comment and save your script your results accordingly.
  
 +===== Solution =====
 +{{ :en:modul:m291:learningunits:lu05:loesungen:m291_lu05_s11.zip |Solutions with age only and logical operators }}
  
 +{{:en:modul:m291:learningunits:lu05:loesungen:lu05.s11_1.png?1200|Script with age check only}}
  
 +{{:en:modul:m291:learningunits:lu05:loesungen:lu05.s11_2.png?1200|Script with age check AND the logical operators}}
  
  
  • en/modul/m291/learningunits/lu05/loesungen/11.1737986493.txt.gz
  • Zuletzt geändert: 2025/01/27 15:01
  • von vdemir