Professional Documents
Culture Documents
TODAY AGENDA
W1-L1
Programming progression
Introduction to course and course outline.
Course description
Course goal
Course objective
INTRODUCTION TO
OOP
PROGRAMMING PROGRESSION
UNSTRUCTURED
Programming
has progressed
through:
machine code
assembly language
machine-independent programming
languages
procedures & functions
objects
DISADVANTAGE
OF UNSTRUCTURED APPROACH
STRUCTURED PROGRAMMING
Structured
or procedural programming
attempts to divide the problem into smaller
blocks or procedures which interact with other.
The
3/11/2011
STRUCTURED PROGRAMMING
STRUCTURED PROGRAMMING
PROGRAM FLOW
Strategy
1.
2.
3.
input
4.
output
STRUCTURED
PROGRAMMING
SUMMARY
PROBLEMS
APPROACH
WITH
STRUCTURED
PROBLEMS
WITH STRUCTURED
APPROACH
Unrestricted access
Accessible by any
function
Global Data
Accessible
only by
function
A
Global Variables
Function A
Local Variables
Global Data
Global Data
Accessible
only by
function B
Function B
local Variables
Function
Function
Function
Function
3/11/2011
Such objects are not like data and they are not
like functions.