Computers & Programming Languages
Lesson2- Objectives Identify Program & Programming. Identify Algorithm. Identify Flowchart.
Activity 1 2 Minutes
Program & Programming What is the difference between the program and the programming ? Program is : a sequence of statements intended to accomplish a task. Programming is : a process of problem solving
Steps of Programming Process Design an algorithm Test your algorithm Use the program Analyze Problem Implement algorithm Algorithm??
Algorithm A set of steps that are followed in order to solve a problem or to complete a specific task.
Activity in your book P-149 2 Minutes
A graphical representation of an algorithm Flow Chart A graphical representation of an algorithm Selection Repetition Sequence
Flow Chart Symbols Example : Find Area of a Circle
Advantages of using flowchart: Communication Coding of the program Documentation Efficient Program Maintenance Effective Analysis
Activity in your book P-152
Challenge: Write an algorithm and design the flow chart for the following case: Mariam got a land in rectangle shape , with H height and W width and intended to sell the land by X price for single square meter . What will be the price of the land ?