COIS 1010H Study Guide - Final Guide: Object-Oriented Programming, Software Development Process, Procedural Programming

238 views5 pages

Document Summary

Procedural programming: an approach to program design in which a program is separated into small modules that are called by the main program or another module when needed. Procedural programming sued procedures which are smaller sections of code that perform specific tasks. Each procedure can be performed as many times as needed. Prior to procedural programming, programs were one large set of instructions (goto statements). Typically, syntax errors: when the programmer has not followed the rules of the programming language. This is much easier to find and fix then run- time errors. Run-time error: error that occurs while the program is running (or has run). Logic (or semantic) errors: program will often run but produces incorrect results. Example would be uses a + sign instead of a sign. Before they can be debugged programs must be translated into executable code: program implementation and maintenance: installing and mainting the program, describe four different considerations when choosing a programming language.