Author: Tiffany Jiang
Date: 19-Jan-2023
I received assistance from: NO ONE
I assisted: NO ONE
Ans: Branching allows for options to be give, increasing the amount of ways that a program can be run.
'Consequent' would refer to the direct and foremost result of a question, as opposed to 'alternative,' which suggests that the answer is another option.
The program tests whether the number is lesser than equal (indicated by "jle" in line 13) to four (indicated by "$4" on line 9), and the jump to the "alternative" option occurs if this is true.
It makes the program jump to the process under "afterAlternative".
The "afterAlternative," or the process that ends the program, is consecutive after the 'alternative' sequence.
Flow charts can help organize and display a proccess, and are consist of shapes that depict various operations connected by arrows. The process by which flow charts operate by are very similar to how programs are written in assembly language.
Thinking through the logic carefully was a little confusing, but using the drawing application allowed me to visualize it better.
I wonder if the rhombus Decision symbol can have three or more options attached to it.