Programming Fundamentals Unit I-1
Programming Fundamentals Unit I-1
• Example:
◦ LOAD BASEPAY
◦ ADD OVERPAY
◦ STORE GROSSPAY
• Scripting languages
◦ Scripting languages are interpreted at runtime and are
designed to automate tasks, enhance existing systems, or
create dynamic functionality.
◦ Programmers use scripting languages to automate
repetitive tasks, manage dynamic web content, or support
processes in larger applications.
◦ Example: JavaScript, Python, PHP, Perl, Node.JS
Figure: Syntax
Figure: Semantics
Steps in PDLC
1. Problem Definition
2. Feasibility Study &
Analysis
3. Program Design
4. Implementation (Coding)
5. Testing and Debugging
6. Deployment &
Maintenance
Figure: Program Development
Life Cycle
Engr. A.W BAH, December 17, 2024. 42 of 50 pages
Program Development Life Cycle
1. Problem Definition
• To understand and clearly define the problem the program
is intended to solve.
• Key Activities:
◦ Identify the program’s purpose and scope.
◦ Gather and document requirements from stakeholders.
◦ Specify constraints and success criteria.
3. Program Design
• Plan how the program will function to meet requirements.
• Key Activities:
◦ Create algorithms, flowcharts, or pseudocode.
◦ Design the program architecture (e.g., modules, data flow).
◦ Specify user interfaces and interactions.
◦ Choose appropriate programming languages and
frameworks.
4. Implementation(Coding)
• Write the program code based on the design
specifications.
• Key Activities:
◦ Develop code using the selected programming language.
◦ Adhere to coding standards and best practices.
◦ Incorporate version control for managing changes.
• Facilitates communication
• Identifies and manages risks
• Improves quality
• Increases efficiency
• Can be time-consuming
• Can be inflexible
• Can be costly
• Can be complex
• May not be suitable for smaller projects