Lesson 4 Introduction To Computer Programming
Lesson 4 Introduction To Computer Programming
Programming
INTRODUCTION TO
PROGRAMMING
ALGORITHMS
Learning Objectives:
At the end of the session, students should be able to:
1. Define computer programming;
2. Identify problem solving techniques in
programming.
3. Utilize different tool that aid in logic formulation
and programming
Computer Programming
Variable Data
Basic Statements Used and
Examples
6. Order in which the steps of an algorithm
are executed is divided in to 3 types
namely
a. Sequential Order
• Each step is performed in serial manner, a step by
step procedure
Basic Statements Used and
Examples
6. Order in which the steps of an algorithm
are executed is divided in to 3 types
namely
a. Sequential Order
• Each step is performed in serial manner, a step by
step procedure
Basic Statements Used and
Examples
b. Conditional Order
Based on fact that the given condition is met or not,
the algorithm selects the next step to do. If
statements are used when decision has to be made.
Different format of if statements:
Basic Statements Used and
Examples