Program Development: CC 11 - Lecture 1
Program Development: CC 11 - Lecture 1
Program Development: CC 11 - Lecture 1
Development
CC 11 | LECTURE 1
2
Describe the System
Development Life Cycle
3
Getting from Idea to Product
System Development Life Cycle
• Also called waterfall approach
• Each phase must be completed in order for the next phase to
begin
• This method is rigid
• Process begins with request for new system or replacement for
old one
4
Getting from
Idea to
Product
System
Developmen
t Life Cycle
5
Getting from Idea to Product
System Development Life Cycle
• Planning Phase of the SDLC
o Project team
o Feasibility study
• Economic
• Technical
• Operational
• Political
6
Getting from Idea to Product
System Development Life Cycle
• Analysis Phase of the SDLC
o Data flow diagrams (DFD)
o Requirements analysis
11
Coding the System
Program Development Cycle
• Defining the Problem
o What data will be provided (input)?
12
Coding the System
Program Development Cycle
• Flowchart
o Graphic view of algorithm
• Control structures
14
Coding the System
Program Development Cycle
• Coding
o Converting algorithm into instructions computer can understand
o Considerations:
• Type of task
• Platform
• Expertise of the programmer
o Choosing the right language
• Procedural programming
• Object-oriented programming
• Syntax rules – the correct construction of commands in a language
15
Coding the System
Program Development Cycle
Debugging - The Process of Detecting and Fixing Errors
Syntax Error
• Error in way code is written
• Typo, missing parameter,
incorrect use of symbols
• Easy to spot by reviewing line
by line
• Will prevent program from
running
16
Coding the System
Program Development Cycle
Debugging - The Process of Detecting and Fixing
Errors
Logic Error
• Error in programming logic
• Results in unexpected outcome
• More difficult to detect
• Does not prevent a program from running
17
Coding the System
Program Development Cycle
18
Coding the System
Program Development Cycle
• Testing and Documentation
o Beta testing
o Documentation
• For users
• For programmers
19
Compare
Various
Programming
Languages
20
Tools of the Trade
Programming Languages
Low Level
First-generation (1GL)
• Machine language
• Written in binary
Second-generation (2GL)
• Assembly language
• Closer to what humans speak
21
Tools of the Trade
Programming Languages
High-level
Third-generation (3GL)
• Procedural and object oriented languages
• Requires considerable amount of programming knowledge
• Compiler converts code into machine language
Fourth-generation (4GL)
• Closer to natural language than 3GL
Fifth-generation (5GL)
• Primarily used in artificial intelligence applications 22
Tools of the Trade
Programming Tools
• Software development kit (SDK)
A bundle of libraries and tools for a particular platform
• Platform-as-a-Service (PaaS)
Online programming environment
23
QUESTIONS?
Thank You!
To God Be All The Glory!
24