I am doing an online quiz, (teacher recommended) and I need help with these 2 questions. I have selected what i think is the answer but could someone please tell me if I'm right or wrong?
I don't want to have to do the quiz a 5th time around. :(
Question 1. Which of these is not one of the four types of control flow used in programs:
1. Repeated
2. Sequential
3. Fused/Multi-Path
4. Store and Reuse
I chose: Fused / Multi-Path
Question 2. In the following example, an error occurs in "line3" that normally causes a traceback. What is the sequence of lines executed in this program:
line1
try:
line2
line3
line4
except:
line5
line6
- line1 line2 line3 line5 line6
- line1 line6
- line1 line2 line3 line4 line2 line6
- line1 line2 line3 line4 line5 line6
I chose: line1 line2 line3 line5 line6