Introduction To Programming Concepts
Introduction To Programming Concepts
Computer Programming
AGENDA
3) Programming Environment
4) Programming basics
5) What is an Algorithm?
A compiler to An
A text editor Integrated
compile interpreter to
to create Development
programme execute
computer Environment
into binary programme
programme. (IDE)
format. directly.
Data
Types Programming Functions
Basics
Variables Operators
Keywords
What is an Algorithm?
Pseudocode
simple way of describing a set of
From a
instructions that does not have to
programming
use specific syntax
point of view,
an algorithm
is a step-by-
step Flowchart
procedure to Diagrams that represents a set of
resolve any instructions. Flowcharts normally
problem. use standard symbols to represent
the different types of instructions.
Understanding the Problem
What are the inputs into the problem?
Planning a program
that asks people what
the best subject they
take is, would look
like this in
pseudocode:
Flowchart
Example
Planning a
program that asks
people what the
best subject they
take is, would look
like this as a
flowchart:
Algorithm Design
1 2 3
Sequencing Selection
Iteration
It is important to There are many
make sure that steps where
all the steps are decisions must
be made. That is These are steps
presented in the
choosing that need to be
correct order
between repeated
alternatives
Iteration
(Flowchart)
Algorithm for
cleaning your
teeth