Back to lesson
1. Which of the following is the correct way to start your loop if you want to always execute the loop once, but then run it until Dept > 50?
Do Loop While Dept <= 50
Loop While Dept <= 50
2. Looking at the code below, what would cause the loop to never execute?
myVal is already greater than 100 when it executes the Do Until line
myVal is not defined as a variable
myVal is 100 when it executes the Do Until line
3. Providing you have a good test in your Until statement, why do we not need to add an Exit Do in our code with a While or Until loop?
The loop will end once the test condition is met
This is untrue as the loop will run indefinitely without an Exit Do statement
The loop will only run once
Back to the top
© 2017 GoSkills Ltd.
Skills for career advancement