COIS 1010H Lecture Notes - Lecture 5: Unified Modeling Language, Debugging, Procedural Programming
Document Summary
Before this people used to use goto statements. Helps make code more understanding and manageable. Allows each procedure to be performed as many times as needed; multiple copies of code not needed. Goes even further breaking the program into small modules (top-down design) Object-oriented programming (oop): programs consist of a collection of objects that contain data and methods to be used with that data. Class: a template which define a collection of data and actions on that data. Attributes: data about the state of an object. Possible to have zero of more objects created from a class (each with their own individualized data values) Life cycle (pdlc) : the steps involved with creating programs. Pseudocode: uses english-like statements to outline the logic of a program. Unified modeling language (uml) models: often used when designing an object-oriented program. Control structure: a pattern for controlling the flow of logic in a computer program. Sequence instructions are carried out in sequence.