Flashcards
Control Structures - while
Flashcards do 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
Informações
- Descrição
- I Programming R (Week 1 - Getting Started) FlashCards sobre Control Structures - while, criado por Thomas Allan em 09-02-2016.
- Criado por
- Thomas Allan
- Visualizações
- 0
- Avaliação