Download Quick Quiz(2nd part)

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Quick Quiz(2nd part)
1. If the first two numbers of a Fibonacci sequence are 1 and 1 what is seventh
Fibonacci number?
Answer: 13
2. True or False: Any for loop can be written as a while loop.
Answer: True
3. If the loop condition is initially ____, the loop body does not execute.
Answer: false
4. True or False: The statements in the body of a do…while loop execute at least once.
Answer: True
5. do…while loops are called _post test___ loops because the condition is evaluated
after the body of the loop is executed.
Related documents