This document provides an introduction to structured programming and object-oriented programming (OOP).
For structured programming, it discusses the concepts of sequence, selection, and iteration constructs. It also provides an example of modeling a game as a structured program.
For OOP, it discusses the three main concepts of encapsulation, inheritance, and polymorphism. Encapsulation involves defining the attributes and methods of an object. Inheritance allows a subclass to inherit attributes and methods from a superclass. Polymorphism allows methods to perform different actions depending on the object type. Real-world examples are provided to illustrate each OOP concept.
The document concludes by suggesting an activity to apply the structured and OOP concepts to