GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Mindmap

Algorithm Constructs

Pratham Patel Englisch

Inhalt der Mindmap

Algorithm Constructs

  1. Assignment

    • Storing a value in a variable
      • playerName = user Input
  2. Iteration

    • For Loop
      • Repeats a section of code for a given number of times
        • For 10 times
    • While Loop
      • Repeats a section of code if a given condition is true or false
        • IF damage is >=10 OUTPUT "Congratulations"
  3. Sequence

    • Instructions processed one after another
      • DECLARE then SET then OUTPUT
  4. Modularisation

    • Assigning a function of code if a function is required to be played multiple times
      • FUNCTION
    • Minimises lines of code and repetitive code
  5. Selection and Condition

    • Tells the code to perform a specific function based on a condition and whether that condition is true or false.
      • IF damage is <10 print "Unfortunately you have not made it to round two"

Informationen

Beschreibung
Mindmap am Algorithm Constructs, erstellt von Pratham Patel am 29/04/2026.
Erstellt von
Pratham Patel
Aufrufe
0
Bewertung

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck