Reference no: EM132360902
Question
Part 1
1. Mainline logic is one in which one procedure follows another from the beginning to the end. Every procedural program can follow a general structure that consists of three distinct parts: housekeeping, detail or main loop, and end of job tasks.
Discuss these three parts, what they include, and why we use them.
You may use an example as part of your discussion.
Explain the differences between a variable and data types.
What other source did you find that helped you improve your understanding of Python Programming Language.
Part 2
Every decision you make in a computer program involves evaluation of a Boolean expression. You may use if-then-else structures or if-then structures.
1. Explain: "Boolean."
2. Discuss how and when you use these two structures. Give an example of each.
3. Provide a screenshot of an example you used in Python to illustrate this process.
There are two types of loops - pretest and posttest.
1. Explain when we would use each.
2. How do you include a ‘loop' structure programming in Python?
3. How do you control a loop?
Each part need to be 400-500 words