Programming Development Cycles
Program development
Programming is the process of creating a set of instructions that tell a computer how to
perform a task. Programming can be done using a variety of computer "languages," such
as SQL, Java, Python, and C++.
Syntax refers to the spelling and grammar of a programming language. Computers are
inflexible machines that understand what you type only if you type it in the exact form
that the computer expects. The expected form is called the syntax. Program with syntax
errors cannot execute.
A logic error (or logical error) is a mistake in a program's source code that results in
incorrect or unexpected behavior. It is a type of runtime error that may simply produce
the wrong output or may cause a program to crash while running. Many different types
of programming mistakes can cause logic errors
Program development is the process of creating application programs. Program
development life cycle (PDLC) The process containing the five phases of program
development: analyzing, designing, coding, debugging and testing, and implementing and
maintaining application software.
The following are six steps in the Program Development Life Cycle:
1. Analyze the problem. The computer user must figure out the problem, then decide how to
resolve the problem - choose a program.
2. Design the program. A flow chart is important to use during this step of the PDLC. This is a
visual diagram of the flow containing the program. This step will help you break down the
problem.
3. Code the program. This is using the language of programming to write the lines of code. The
code is called the listing or the source code. The computer user will run an object code for
this step.
4. Debug the program. The computer user must debug. This is the process of finding the "bugs"
on the computer. The bugs are important to find because this is known as errors in a
program.
5. Formalize the solution. One must run the program to make sure there are no syntax and logic
errors. Syntax are grammatical errors and logic errors are incorrect results.
6. Document and maintain the program. This step is the final step of gathering everything
together. Internal documentation is involved in this step because it explains the reasoning
one might of made a change in the program or how to write a program
1
, Writing Code
Computer code is a series of statements that have been assigned a function by a higher
level language (typically referred to as source code). This language is similar to English
and has been converted to machine language using a type of program known as a
compiler. Because code is used to instruct computers to perform a wide array of tasks,
there are many different kinds of languages and programs available. One of the most
important aspects of coding is deciding which jobs (creating a web page, writing a game,
etc.) a computer will do. Regardless of what is chosen, the majority of codes utilize plain-
text because of its compatibility. Though the actual content is written this way,
documents are each given a unique file extension that is indicative of their type. One can
write a simple code with a basic word processor or text editor. However, using a
software application (specifically designed for coding in a particular language) is
significantly more effective and efficient. As with a document written in English, where
word processing software is used to aid in detection of spelling errors and non-standard
grammar, a coding editor provides comparable tools to ensure accuracy. A code editor is
also known as an integrated development environment (IDE), which is a software
application for formatting. Using a code editor decreases the chances of errors in codes
and time spent reading a code. A large downfall of working with IDEs is a lack of
flexibility. While some IDEs work with multiple programming languages, a sizable amount
are very specific for only one language.
2
Program development
Programming is the process of creating a set of instructions that tell a computer how to
perform a task. Programming can be done using a variety of computer "languages," such
as SQL, Java, Python, and C++.
Syntax refers to the spelling and grammar of a programming language. Computers are
inflexible machines that understand what you type only if you type it in the exact form
that the computer expects. The expected form is called the syntax. Program with syntax
errors cannot execute.
A logic error (or logical error) is a mistake in a program's source code that results in
incorrect or unexpected behavior. It is a type of runtime error that may simply produce
the wrong output or may cause a program to crash while running. Many different types
of programming mistakes can cause logic errors
Program development is the process of creating application programs. Program
development life cycle (PDLC) The process containing the five phases of program
development: analyzing, designing, coding, debugging and testing, and implementing and
maintaining application software.
The following are six steps in the Program Development Life Cycle:
1. Analyze the problem. The computer user must figure out the problem, then decide how to
resolve the problem - choose a program.
2. Design the program. A flow chart is important to use during this step of the PDLC. This is a
visual diagram of the flow containing the program. This step will help you break down the
problem.
3. Code the program. This is using the language of programming to write the lines of code. The
code is called the listing or the source code. The computer user will run an object code for
this step.
4. Debug the program. The computer user must debug. This is the process of finding the "bugs"
on the computer. The bugs are important to find because this is known as errors in a
program.
5. Formalize the solution. One must run the program to make sure there are no syntax and logic
errors. Syntax are grammatical errors and logic errors are incorrect results.
6. Document and maintain the program. This step is the final step of gathering everything
together. Internal documentation is involved in this step because it explains the reasoning
one might of made a change in the program or how to write a program
1
, Writing Code
Computer code is a series of statements that have been assigned a function by a higher
level language (typically referred to as source code). This language is similar to English
and has been converted to machine language using a type of program known as a
compiler. Because code is used to instruct computers to perform a wide array of tasks,
there are many different kinds of languages and programs available. One of the most
important aspects of coding is deciding which jobs (creating a web page, writing a game,
etc.) a computer will do. Regardless of what is chosen, the majority of codes utilize plain-
text because of its compatibility. Though the actual content is written this way,
documents are each given a unique file extension that is indicative of their type. One can
write a simple code with a basic word processor or text editor. However, using a
software application (specifically designed for coding in a particular language) is
significantly more effective and efficient. As with a document written in English, where
word processing software is used to aid in detection of spelling errors and non-standard
grammar, a coding editor provides comparable tools to ensure accuracy. A code editor is
also known as an integrated development environment (IDE), which is a software
application for formatting. Using a code editor decreases the chances of errors in codes
and time spent reading a code. A large downfall of working with IDEs is a lack of
flexibility. While some IDEs work with multiple programming languages, a sizable amount
are very specific for only one language.
2