Chapter 0.
An overview of
Programming
BMGT 302
Business Application
Programming
Scott Hudson
Software
1.System
Software
2. Application
Software
Used to control and
manage computer
devices and operations
All program that perform
specific tasks for users
Operating
System
Utility
Program
Examples of
application software
Microsoft Word,
Microsoft Excel,
Outlook
Express and Internet
Explorer
What makes a software
program
Consider opening Google Map for Navigation
Computer Programming
Programming
Write computer instructions When you write a computer
instruction you are telling the computer to do something!
Programming language
Use to write computer programs
Examples
Visual Basic, C#, C++, or Java
Language syntax
Rules governing its word usage and punctuation
You have to be perfectly accurate when talking to a computer!!!
How the geet too store do I?
Problem Solving and
Algorithm
It has often been said that a person does
not really understand something until he
teaches it to someone else. Actually a
person does not really understand
something until after teaching it to a
computer, i.e., express it as an algorithm."
-- (Donald Knuth, in "American
Mathematical Monthly," 81)
Algorithm
Algorithm: an ordered sequence of unambiguous
and well-defined instructions that performs some
task and halts in finite time
Example
baking a cake
Get a bowl
Add three cups of flour
Add two eggs
Add a cup of buttermilk
Stir
Bake at 350 degrees for 45
minutes
How to Represent
Algorithms
Pseudocode
An English-like representation of a
numbered list of instructions to perform
some task
Flowchart
A pictorial representation of the logical
steps
Pseudocode
Sequence control
Pseudocode
Conditional /Selection control
Pseudocode
Iterative/ loop control
Flowchart
Flowchart
Flowchart - example
Flowchart - example
Flowchart - example