Algorithm and
Data Structure
Andi Nurkholis, S.Kom, M.Kom
Study Program of Informatics
Faculty of Engineering and Computer Science
SY. 2020-2021
February 15, 2021
2
1 Concept of Algorithm and
Data Structure
3
What is Algorithm?
Algorithm is a sequence of steps to solve problems
that are arranged systematically and structured as
outlined in standard / universal notation
4
What is Data Structure?
Data Structure is a way of collecting and organizing data in such a
way that we can perform operations on these data in an effective
way. Data Structures is about rendering data elements in terms of
some relationship, for better organization and storage.
5
Correlation of Algorithm
and Data Structure
Data structure plays an important role in data organization for the optimal
algorithm implementation process
6
History of Algorithm
Algorism Algorithm
Algoritma
Algoritme
Abu Ja’far Muhammad
Ibnu Musa Al-Khuwarismi
The Book of Al Jabar wal
Muqabala
7
Characteristic
of Algorithm
1) Have a scope
2) Unambiguous
3) Input
4) Output
5) Rational
6) Zero mistake
8
Basic Constructions of Algorithm
• Sequence structure
• Selection structure
• Repetition structure
9
Example of
Algorithm
• Ambil kantong kentang dari rak
• Ambil panci dari almari
• depend on baju
• berwarna muda : pakai celemek
• tidak berwarna muda : -
• while jumlah kentang terkupas belum
cukup do
• depend on kantong kentang
• ada isinya : kupas 1 kentang
• tidak ada isinya : (1) ambil
kantong kentang lain dari rak, (2)
kupas 1 kentang
10
Notation of
Algorithm
• States the algorithm steps in a series of
descriptive sentences
• Use flowchart
• Use pseudocode
Thank You, Next …
Array and Struct
February 15, 2021
Andi Nurkholis, S.Kom, M.Kom
Study Program of Informatics
Faculty of Engineering and Computer Science
SY. 2020-2021

Algorithm and Data Structure - Concept of Algorithm and Data Structure

  • 1.
    Algorithm and Data Structure AndiNurkholis, S.Kom, M.Kom Study Program of Informatics Faculty of Engineering and Computer Science SY. 2020-2021 February 15, 2021
  • 2.
    2 1 Concept ofAlgorithm and Data Structure
  • 3.
    3 What is Algorithm? Algorithmis a sequence of steps to solve problems that are arranged systematically and structured as outlined in standard / universal notation
  • 4.
    4 What is DataStructure? Data Structure is a way of collecting and organizing data in such a way that we can perform operations on these data in an effective way. Data Structures is about rendering data elements in terms of some relationship, for better organization and storage.
  • 5.
    5 Correlation of Algorithm andData Structure Data structure plays an important role in data organization for the optimal algorithm implementation process
  • 6.
    6 History of Algorithm AlgorismAlgorithm Algoritma Algoritme Abu Ja’far Muhammad Ibnu Musa Al-Khuwarismi The Book of Al Jabar wal Muqabala
  • 7.
    7 Characteristic of Algorithm 1) Havea scope 2) Unambiguous 3) Input 4) Output 5) Rational 6) Zero mistake
  • 8.
    8 Basic Constructions ofAlgorithm • Sequence structure • Selection structure • Repetition structure
  • 9.
    9 Example of Algorithm • Ambilkantong kentang dari rak • Ambil panci dari almari • depend on baju • berwarna muda : pakai celemek • tidak berwarna muda : - • while jumlah kentang terkupas belum cukup do • depend on kantong kentang • ada isinya : kupas 1 kentang • tidak ada isinya : (1) ambil kantong kentang lain dari rak, (2) kupas 1 kentang
  • 10.
    10 Notation of Algorithm • Statesthe algorithm steps in a series of descriptive sentences • Use flowchart • Use pseudocode
  • 11.
    Thank You, Next… Array and Struct February 15, 2021 Andi Nurkholis, S.Kom, M.Kom Study Program of Informatics Faculty of Engineering and Computer Science SY. 2020-2021