0% found this document useful (0 votes)
4 views3 pages

Chapter 1

The document outlines the fundamental steps in computer programming, starting with defining a problem and its objectives. It emphasizes planning a solution using techniques like top-down approaches, flowcharts, and algorithms, followed by coding in a suitable programming language. Finally, it discusses the importance of testing the program for errors, including syntax, logical, and runtime errors.

Uploaded by

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

Chapter 1

The document outlines the fundamental steps in computer programming, starting with defining a problem and its objectives. It emphasizes planning a solution using techniques like top-down approaches, flowcharts, and algorithms, followed by coding in a suitable programming language. Finally, it discusses the importance of testing the program for errors, including syntax, logical, and runtime errors.

Uploaded by

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

2/13/2025

CHAPTER # 1
CONCEPT OF
COMPUTER
PROGRAMMING
STEP #1: DEFINING A PROBLEM:
While making a computer program is necessary its
definition becomes helpful when the details are
Program definition is based on 4 components
while determining the program objectives the
statement has what the program is intended for
example desired objective this program calculate
the student of 2 year arts .
It is recommend to have a understanding the type
of output when it is required the program. Before
starting the solution of the program must know the
type of data which is totally put into input the
intended.

pg. 1
chapter 1
2/13/2025

STEP #2: PLAINING A


SOLUTION
Once when the problem is define some techniques
are used to plan a solution we use top/down
structured approd Flowchart algorithm
Top/down: In top/down structured approad a bigger
problem is divide into Any smaller subprogram and
at the
Time subprogram this divide and Conquer
technique helps in solution problem more easily
with ensuntrating on one
problem at the time

FLOWCHART:
Flowchart is a graphical
representation of flow of logic since it is an
standardized the symbols are also standardized.

ALGORITHM:
Algorithm is a descriptive way of
defining the flow of logic is also called an outline
summary of program.

STEP#3: CODING

pg. 2
chapter 1
2/13/2025

Important to execute the solution a problem has to


be coded in a particular computer language the
choice of language may it be low level language or
high level language depends upon various factors for
example the availability hardware ,software ,profeccience
of programmer or users required etc.

STEP#4: TESTING THE PROGRAM


Once the program is coded it is check for its
chraness
And comformity already sat in the problem
specification in the program is not giving the desire
result it indicates that’s there is an error in the
program an error could be syntax , logical or
runtime error.
SYNTAX ERORR:
If the erors is created to type graphical
error a non-comformity to a specified standard of a
particular language.
LOGICAL ERROR:
A logical error is created when the
program execute but the result is not as per the

pg. 3
chapter 1

You might also like