Presentation is loading. Please wait.

Presentation is loading. Please wait.

Algorithm: Word comes from Arabic Author Abū ‘Abdallāh Muḥammad ibn Mūsā al-Khwārizmī Algorism Algebra: Kitab al-Mukhtasar fi Hisab al-Jabr wal-Muqabala.

Similar presentations


Presentation on theme: "Algorithm: Word comes from Arabic Author Abū ‘Abdallāh Muḥammad ibn Mūsā al-Khwārizmī Algorism Algebra: Kitab al-Mukhtasar fi Hisab al-Jabr wal-Muqabala."— Presentation transcript:

1

2

3

4 Algorithm: Word comes from Arabic
Author Abū ‘Abdallāh Muḥammad ibn Mūsā al-Khwārizmī Algorism Algebra: Kitab al-Mukhtasar fi Hisab al-Jabr wal-Muqabala (The Compendious Book on Calculation and Balancing) Word “Algorithm” appeared in the English dictionaries in 70s Informal Definition: Sequence of computational steps that transform the input into output Technically: Finite set of instructions Accomplishes a particular task

5 Program: Data Structures:
Sequence of instructions written to perform a specified task for a computer Implementation of an algorithm in a programming language Data Structures: A particular way of storing and organizing data in a computer so that it can be used efficiently Way to organize data so that we can use it effectively to solve a problem Arrays Lists Stacks Queues

6

7 Criteria to satisfy (Computer Science):
Input : Zero or more quantities Output : At least one Definiteness : Clear & Unambiguous instructions Finiteness : Must terminate after a finite number of steps Effectiveness : Every instruction must be feasible Specification of Input (Example ): All 2-digit even numbers Multiple algorithms for the same problem Input Algorithm Output

8

9

10

11

12

13

14

15

16

17

18

19

20 Program: Data Structures:
Sequence of instructions written to perform a specified task for a computer Implementation of an algorithm in a programming language Data Structures: A particular way of storing and organizing data in a computer so that it can be used efficiently Way to organize data so that we can use it effectively to solve a problem Arrays Lists Stacks Queues

21

22


Download ppt "Algorithm: Word comes from Arabic Author Abū ‘Abdallāh Muḥammad ibn Mūsā al-Khwārizmī Algorism Algebra: Kitab al-Mukhtasar fi Hisab al-Jabr wal-Muqabala."

Similar presentations


Ads by Google