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.
2. What is an object with respect to ALICE (Programming Software) and how does inheritance apply?