Multiple Choice
You are writing a program that defines a variable within a loop, and then tries to use that variable outside the loop.However, the program does not run as intended.What is the issue?
A) The variable is being overwritten inside the loop.
B) The variable is declared with an incorrect type.
C) The variable is limited to the scope of the loop.
D) The variable name conflicts with a built in keyword.
Correct Answer:

Verified
Correct Answer:
Verified
Q3: Why is it important to initialize an
Q4: When using nested loops, what loop is
Q5: A value such as a 'Y' or
Q6: Write two code segments that print the
Q7: Statements in a while loop or for
Q9: A loop that is controlled by user
Q10: What keyword(s) should you use to initiate
Q11: When writing a while loop, how can
Q12: Loops that are controlled by reducing a
Q13: Why do event-driven GUI programs sometimes require