Fichas
Control Structures - while
Fichas del conjunto (5)
- 1for a while loop, where is the condition criteria tested?at the beginning of the loop, immediately after the key word "while"
- 2What is a typical gotcha if while loops are not carefully written?while results in an infinite loop
- 3How can infinite loops be prevented in "while" statements?make sure the criteria that will end the loop will actually occur
- 4in a while loop with multiple criteria, what is the "and" opeator?&&
- 5in a while loop with multiple criteria, what is the direction of evaluation?criteria is evaluated from left to right
Información
- Descripción
- I (Week 1 - Getting Started) Programming R Fichas sobre Control Structures - while, creado por Thomas Allan el 09/02/2016.
- Creado por
- Thomas Allan
- Visitas
- 0
- Valoración