COSC1101 - Programming Fundamentals Lec4
COSC1101 - Programming Fundamentals Lec4
COSC1101 - Programming Fundamentals Lec4
Lecture 4
Problem Solving and Implementation
A programming task can be divided into two phases:
• Pseudo Code
• Flowchart
• first.obj to first.exe
• Can be executed because different sections are mapped
together.
• Execute the code by simply typing the name of file
first.exe or even first
Test and Debug the program
Debugging is the process of fixing a bug in the
software. ... Testing is the process to find bugs
and errors. Debugging is the process to correct
the bugs found during testing. It is the process
to identify the failure of implemented code.
Program Execution
Two ways:
1. Use command prompt e.g DOS or UNIX
command prompt
2. Use Integrated Development Environment