¡GoConqr estrena diseño! Cuéntanos qué te parece.

Fichas

Repetition/Iteration (Loops)

Molly Hills Computing A Level Inglés 9 fichas

Fichas del conjunto (9)

  1. 1What are the three types of Loop?While
    Until
    For
  2. 2What does a While Loop look like?Local i
    Put 1 into i
    Repeat While i < 10
    add 1 to i
    answer i
    End Repeat
  3. 3What does a Until Loop look like?Local i
    Put 1 into i
    Repeat Until i = 10
    answer i
    Put 1 into i
    End Repeat
  4. 4What is a benefit of a For Loop?Nearly impossible to create a infinite loop
    Automatic counter
    Useful for when we know how many times we want the loop to run
  5. 5What does a For Loop look like?Local i
    Repeat with i = 1 to 10
    answer i
    End Repeat
  6. 6What is different about a Advanced For Loop?Involves Steps
    e.g.
    Repeat with i = 10 to 100 step 10
  7. 7How do you create a For Loop which steps backwards?Repeat with i = 100 to 1 step -1
  8. 8Can you create Nested.. a) For Loops b) While Loops c) Until Loopsa) Yes
    b) Yes
    c) Yes
  9. 9Example of a While Loop using Logical OperatorsWhile i > 10
    //do something//

Información

Descripción
A Level (F452) Computing Fichas sobre Repetition/Iteration (Loops), creado por Molly Hills el 25/11/2014.
Creado por
Molly Hills
Visitas
13
Etiquetas
computing
Valoración

Más sobre Control Structures

Escríbenos

¿Sobre qué es tu mensaje?

¿Qué te parece el nuevo diseño?

¿Te gusta?