0% found this document useful (0 votes)
2 views

notes2

The document outlines the programming process as a problem-solving technique, detailing the steps of problem definition, analysis, algorithm development, coding, testing, and maintenance. It emphasizes the importance of understanding the problem's requirements and using tools like IPO and PAC for analysis, along with pseudocode for algorithm construction. Additionally, it highlights the significance of debugging and documentation in maintaining the program's integrity.

Uploaded by

ayethida224
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views

notes2

The document outlines the programming process as a problem-solving technique, detailing the steps of problem definition, analysis, algorithm development, coding, testing, and maintenance. It emphasizes the importance of understanding the problem's requirements and using tools like IPO and PAC for analysis, along with pseudocode for algorithm construction. Additionally, it highlights the significance of debugging and documentation in maintaining the program's integrity.

Uploaded by

ayethida224
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

• Programming is a process of problem solving

• Problem solving techniques (AOD):


1. Analyze the problem
2. Outline the problem requirements
3. Design steps (algorithm) to solve problem

PDLC contains 6 phases which are:


1. Problem Definition
2. Problem Analysis : IPO, PAC
3. Algorithm Development : algorithim, psuedocode, flowchart
4. Coding and Documentation : Syntax
5. Testing and Debugging : Eliminating errors
6. Maintenance : Documentation

Step 1 - Problem definition


-Define and understand problem, boundaries and requirements needed

Step 2 - Problem Analysis


- Identify the IPO
(Input - Given, process- formula, output- result)
- Identify the PAC (Problem Analysis Chart)
(Given data - Input, Required result - output, Processing required - Formula
Solution Alternatives - assumptions)

Summary of Step 1 and 2


Step 1 : Understanding feasibility and limitatinon.
Step 2 : Input - prerequisite, data that exist at the beginning of the problem
Output - – the expected data/information/result from the program
Process - set of steps need to be done in getting the output

IPO CHART - extends and organizes the PAC (Adds more details)

ALGORITHM CONSTRUCTION
- a formula, and a step-by-step procedure to be followed in
order to obtain the solution to a problem.
- must arrive at a correct solution within a finite time
- clear, accurate and definite
- should be implementable to programming language

Pseudocode
• Text-based approach → simplified version of programming
codes, written in plain English language
-Organized like an outline, And has indentation like programs
-Only consists of executable instruction

LOGIC ERRORS
-logical errors can be tricky. backwards by looking at the output of the program
and
trying to figure out what it is doing

Maintenance
• Integrate your code or program with others (if necessary)
• Test the whole complete system
– Development team
– User
• Documentation
– Testing result
– User Manual or User Guide

You might also like