SlideShare a Scribd company logo
Algorithm and
Data Structure
Andi Nurkholis, S.Kom, M.Kom
Study Program of Informatics
Faculty of Engineering and Computer Science
SY. 2020-2021
March 22, 2021
2
3 Modular Programming
3
Modular Programming
Modular programming allows the program designer
to simplify problems within the program by breaking
down or dividing the problem into smaller sub-
problems in order to be easily solved
4
Illustration
5
Benefit of
Modular
Programming
1) Reduces development time
2) Improves reliability
3) Increases standardization of the
software development process
4) Simplifies modifications
6
Variable
Variable is a name that represents a data element. Variable is also
a temporary storage place for data in memory whose contents can
change
Variables consist of two types, namely local and global variable
7
Local Variable
Local variable is a variable declared in a function or procedure.
This variable can only be recognized within the function or
procedure itself. Local variables cannot be called, accessed and
changed by other procedures or functions, even by the main
program
8
Global Variable
Global variable is a variable that is defined in the main program
and can be used in the main program or other sub-programs. The
value of this variable can be called, accessed and changed by any
procedure or function contained in the program
9
What is Function?
Function is a subprogram that receives input data,
performs several processes, returns output values
for use by the process that calls the function
The function is also often called non-void functions.
Called non-void because it returns value that comes
from the output of the function
10
Characteristics
of Function
1) Have data type that starts the function
2) Don't have void keyword
3) Has a keyword return
4) Has a return value
Illustration
Penggunaan
fungsi
Pembuatan
fungsi
11
What is Procedure?
Procedure is a series of instructions named, and performs a
specific purpose. As with functions, procedures work with a call-
return mechanism
The procedure is also often referred to as void function. Called
void because the function does not return an output value
obtained from the results of the function's process
12
Characteristics
of Procedure
1) Does not have keyword return
2) Does not have a data type in the
function declaration
3) Use the void keyword
4) Cannot immediately display the results
5) Has no function return value
13
Illustration
Penggunaan
prosedur
Pembuatan
prosedur
14
What is Unit?
Unit is a library that is generally in the form of
procedures or functions
The difference between unit and preprocessor
directive is that the unit is a library developed by
user while directive preprocessor is a standard
library that has been provided by C
15
Illustration
Deklarasi unit File unit
Penggunaan
fungsi
Pembuatan
fungsi
16
Thank You, Next …
Stack
March 22, 2021
Andi Nurkholis, S.Kom, M.Kom
Study Program of Informatics
Faculty of Engineering and Computer Science
SY. 2020-2021

More Related Content

PPTX
Ak procedural vs oop
Abhishek Kumar
 
PPTX
Procedural programming
Ankit92Chitnavis
 
PPTX
SPoC: search-based pseudocode to code
Minhazul Arefin
 
PPSX
DISE - Programming Concepts
Rasan Samarasinghe
 
PPTX
URF Poster
Tony Zhang
 
PDF
MPI - 2
Shah Zaib
 
DOCX
Training 8051Report
Kuldeep Kaushik
 
PPTX
Parallel programming model
Illuru Phani Kumar
 
Ak procedural vs oop
Abhishek Kumar
 
Procedural programming
Ankit92Chitnavis
 
SPoC: search-based pseudocode to code
Minhazul Arefin
 
DISE - Programming Concepts
Rasan Samarasinghe
 
URF Poster
Tony Zhang
 
MPI - 2
Shah Zaib
 
Training 8051Report
Kuldeep Kaushik
 
Parallel programming model
Illuru Phani Kumar
 

What's hot (19)

PPTX
System programming vs application programming
Inderbir Kaur Sandhu
 
PPTX
Parallel programming model
easy notes
 
PPTX
Procedural vs. object oriented programming
Haris Bin Zahid
 
PPT
Architecture presentation 4
Anoushiravan M. Ghamsari
 
PDF
Model Based Software Timing Analysis Using Sequence Diagram for Commercial Ap...
iosrjce
 
PPT
procedures
Rajendran
 
PDF
C question
Kuntal Bhowmick
 
PPTX
Data Parallel and Object Oriented Model
Nikhil Sharma
 
PPTX
Compiler design
nazmul hoque
 
PDF
Compiler Design Quiz
Satyam Jaiswal
 
PPT
Compiler
IGZ Software house
 
PDF
ncaca2016
Sushant Kumar
 
PDF
Linker and Loader Explained
Adarsh Kr Sinha
 
DOC
Considered the brain of the computer gpu cpu/tutorialoutlet
Danielsonz
 
PPT
Compiler design
suganyasanjai
 
PPTX
Common Runtime Language Features
Perry Hunchak
 
PPTX
Phases of-compiler
Zahidul Islam Razu
 
PPTX
Phases of compiler
Akhil Kaushik
 
System programming vs application programming
Inderbir Kaur Sandhu
 
Parallel programming model
easy notes
 
Procedural vs. object oriented programming
Haris Bin Zahid
 
Architecture presentation 4
Anoushiravan M. Ghamsari
 
Model Based Software Timing Analysis Using Sequence Diagram for Commercial Ap...
iosrjce
 
procedures
Rajendran
 
C question
Kuntal Bhowmick
 
Data Parallel and Object Oriented Model
Nikhil Sharma
 
Compiler design
nazmul hoque
 
Compiler Design Quiz
Satyam Jaiswal
 
ncaca2016
Sushant Kumar
 
Linker and Loader Explained
Adarsh Kr Sinha
 
Considered the brain of the computer gpu cpu/tutorialoutlet
Danielsonz
 
Compiler design
suganyasanjai
 
Common Runtime Language Features
Perry Hunchak
 
Phases of-compiler
Zahidul Islam Razu
 
Phases of compiler
Akhil Kaushik
 
Ad

Similar to Algorithm and Data Structure - Modular Programming (20)

PPTX
Introduction to problem solving in C
Diwakar Pratap Singh 'Deva'
 
DOCX
Sample report
Niro Thakur
 
DOCX
BOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECT
Ravi Teja P
 
PPTX
SDLC and Software Process Models
Nana Sarpong
 
PPTX
SOFTWARE DESIGN ENGINEERING UNIT-3 PPT.pptx
KritagyaTiwari
 
PPTX
Function and Stored Procedure. Hitesh Prajapati
hittu9292
 
PDF
ashimpptonsdlc-141119005634-conversion-gate02.pdf
NagavelliMadhavi
 
PPTX
DOC-20210303-WA0017..pptx,coding stuff in c
floraaluoch3
 
DOC
Chapter 4 software design
Cliftone Mullah
 
PDF
OOP ppt.pdf
ArpitaJana28
 
PDF
Object Oriented Programming Lab Manual
Abdul Hannan
 
PPTX
Principles and Practices of Effective Software Design and Architecture.pptx
shilpamathur13
 
PDF
Se chapter 1,2,3 2 mark qa
Aruna M
 
PPT
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
Swarnima Tiwari
 
PPTX
Software Engineering Unit 3 PPT Software Design
mayanksingh678141
 
PPTX
Lecture - 11-15.pptx
FarHana74914
 
PPTX
Object Oriented Programming using C++.pptx
parveen837153
 
PDF
dynamic and implementation uml diagram.pdf
tbit2
 
PPTX
object oriented programming part inheritance.pptx
urvashipundir04
 
PPTX
Software_Engineering_Presentation (1).pptx
ArifaMehreen1
 
Introduction to problem solving in C
Diwakar Pratap Singh 'Deva'
 
Sample report
Niro Thakur
 
BOOKS FOR CASH ON DELIVERY-INTERNSHIP PROJECT
Ravi Teja P
 
SDLC and Software Process Models
Nana Sarpong
 
SOFTWARE DESIGN ENGINEERING UNIT-3 PPT.pptx
KritagyaTiwari
 
Function and Stored Procedure. Hitesh Prajapati
hittu9292
 
ashimpptonsdlc-141119005634-conversion-gate02.pdf
NagavelliMadhavi
 
DOC-20210303-WA0017..pptx,coding stuff in c
floraaluoch3
 
Chapter 4 software design
Cliftone Mullah
 
OOP ppt.pdf
ArpitaJana28
 
Object Oriented Programming Lab Manual
Abdul Hannan
 
Principles and Practices of Effective Software Design and Architecture.pptx
shilpamathur13
 
Se chapter 1,2,3 2 mark qa
Aruna M
 
ppt on sOFTWARE DEVELOPMENT LIFE CYCLE
Swarnima Tiwari
 
Software Engineering Unit 3 PPT Software Design
mayanksingh678141
 
Lecture - 11-15.pptx
FarHana74914
 
Object Oriented Programming using C++.pptx
parveen837153
 
dynamic and implementation uml diagram.pdf
tbit2
 
object oriented programming part inheritance.pptx
urvashipundir04
 
Software_Engineering_Presentation (1).pptx
ArifaMehreen1
 
Ad

More from AndiNurkholis1 (20)

PDF
Technopreneurship - 9 Analisis Biaya dan Keuangan
AndiNurkholis1
 
PDF
Pengantar Bisnis - 14 Manajemen Keuangan
AndiNurkholis1
 
PDF
Pengantar Bisnis - 13 Manajemen Operasi
AndiNurkholis1
 
PDF
Pengantar Bisnis - 12 Kebijakan Harga
AndiNurkholis1
 
PDF
Pengantar Bisnis - 11 Kebijakan Distribusi
AndiNurkholis1
 
PDF
Technopreneurship - 8 Manajemen Sumber Daya Manusia
AndiNurkholis1
 
PDF
Pengantar Bisnis - 10 Kebijakan Produk
AndiNurkholis1
 
PDF
Technopreneurship - 7 Manajemen Pemasaran dan Operasional Bisnis
AndiNurkholis1
 
PDF
Pengantar Bisnis - 9 Manajemen Pemasaran
AndiNurkholis1
 
PDF
Technopreneurship - 6 Business Plan
AndiNurkholis1
 
PDF
Pengantar Bisnis - 8 Kepemimpinan
AndiNurkholis1
 
PDF
Technopreneurship - 5 Model Bisnis
AndiNurkholis1
 
PDF
Technopreneurship - 4 Studi Kelayakan Usaha
AndiNurkholis1
 
PDF
Pengantar Bisnis - 7 Motivasi Kerja
AndiNurkholis1
 
PDF
Pengantar Bisnis - 6 Manajemen Sumber Daya Manusia
AndiNurkholis1
 
PDF
Pengantar Bisnis - 5 Pengelolaan & Pengorganisasian Bisnis
AndiNurkholis1
 
PDF
Technopreneurship - 3 Ide dan Prinsip Bisnis
AndiNurkholis1
 
PDF
Pengantar Bisnis - 4 Bentuk Organisasi Bisnis
AndiNurkholis1
 
PDF
Technopreneurship - 2 Pengantar Technopreneurship
AndiNurkholis1
 
PDF
Pengantar Bisnis - 3 Globalisasi Ekonomi & Bisnis Internasional
AndiNurkholis1
 
Technopreneurship - 9 Analisis Biaya dan Keuangan
AndiNurkholis1
 
Pengantar Bisnis - 14 Manajemen Keuangan
AndiNurkholis1
 
Pengantar Bisnis - 13 Manajemen Operasi
AndiNurkholis1
 
Pengantar Bisnis - 12 Kebijakan Harga
AndiNurkholis1
 
Pengantar Bisnis - 11 Kebijakan Distribusi
AndiNurkholis1
 
Technopreneurship - 8 Manajemen Sumber Daya Manusia
AndiNurkholis1
 
Pengantar Bisnis - 10 Kebijakan Produk
AndiNurkholis1
 
Technopreneurship - 7 Manajemen Pemasaran dan Operasional Bisnis
AndiNurkholis1
 
Pengantar Bisnis - 9 Manajemen Pemasaran
AndiNurkholis1
 
Technopreneurship - 6 Business Plan
AndiNurkholis1
 
Pengantar Bisnis - 8 Kepemimpinan
AndiNurkholis1
 
Technopreneurship - 5 Model Bisnis
AndiNurkholis1
 
Technopreneurship - 4 Studi Kelayakan Usaha
AndiNurkholis1
 
Pengantar Bisnis - 7 Motivasi Kerja
AndiNurkholis1
 
Pengantar Bisnis - 6 Manajemen Sumber Daya Manusia
AndiNurkholis1
 
Pengantar Bisnis - 5 Pengelolaan & Pengorganisasian Bisnis
AndiNurkholis1
 
Technopreneurship - 3 Ide dan Prinsip Bisnis
AndiNurkholis1
 
Pengantar Bisnis - 4 Bentuk Organisasi Bisnis
AndiNurkholis1
 
Technopreneurship - 2 Pengantar Technopreneurship
AndiNurkholis1
 
Pengantar Bisnis - 3 Globalisasi Ekonomi & Bisnis Internasional
AndiNurkholis1
 

Recently uploaded (20)

PDF
Doc9.....................................
SofiaCollazos
 
PDF
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
PDF
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
PDF
madgavkar20181017ppt McKinsey Presentation.pdf
georgschmitzdoerner
 
PDF
Google’s NotebookLM Unveils Video Overviews
SOFTTECHHUB
 
PDF
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
CIFDAQ
 
PDF
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
PDF
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Captain IT
 
PPT
L2 Rules of Netiquette in Empowerment technology
Archibal2
 
PDF
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
PDF
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
PDF
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
PDF
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
PDF
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
PDF
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
PDF
DevOps & Developer Experience Summer BBQ
AUGNYC
 
PPTX
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
PDF
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
PDF
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
PDF
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 
Doc9.....................................
SofiaCollazos
 
Unlocking the Future- AI Agents Meet Oracle Database 23ai - AIOUG Yatra 2025.pdf
Sandesh Rao
 
NewMind AI Weekly Chronicles - July'25 - Week IV
NewMind AI
 
madgavkar20181017ppt McKinsey Presentation.pdf
georgschmitzdoerner
 
Google’s NotebookLM Unveils Video Overviews
SOFTTECHHUB
 
CIFDAQ's Token Spotlight: SKY - A Forgotten Giant's Comeback?
CIFDAQ
 
Google I/O Extended 2025 Baku - all ppts
HusseinMalikMammadli
 
How Onsite IT Support Drives Business Efficiency, Security, and Growth.pdf
Captain IT
 
L2 Rules of Netiquette in Empowerment technology
Archibal2
 
Advances in Ultra High Voltage (UHV) Transmission and Distribution Systems.pdf
Nabajyoti Banik
 
Presentation about Hardware and Software in Computer
snehamodhawadiya
 
Using Anchore and DefectDojo to Stand Up Your DevSecOps Function
Anchore
 
Building High-Performance Oracle Teams: Strategic Staffing for Database Manag...
SMACT Works
 
AI Unleashed - Shaping the Future -Starting Today - AIOUG Yatra 2025 - For Co...
Sandesh Rao
 
SparkLabs Primer on Artificial Intelligence 2025
SparkLabs Group
 
DevOps & Developer Experience Summer BBQ
AUGNYC
 
New ThousandEyes Product Innovations: Cisco Live June 2025
ThousandEyes
 
Cloud-Migration-Best-Practices-A-Practical-Guide-to-AWS-Azure-and-Google-Clou...
Artjoker Software Development Company
 
Automating ArcGIS Content Discovery with FME: A Real World Use Case
Safe Software
 
The Evolution of KM Roles (Presented at Knowledge Summit Dublin 2025)
Enterprise Knowledge
 

Algorithm and Data Structure - Modular Programming

  • 1. Algorithm and Data Structure Andi Nurkholis, S.Kom, M.Kom Study Program of Informatics Faculty of Engineering and Computer Science SY. 2020-2021 March 22, 2021
  • 3. 3 Modular Programming Modular programming allows the program designer to simplify problems within the program by breaking down or dividing the problem into smaller sub- problems in order to be easily solved
  • 5. 5 Benefit of Modular Programming 1) Reduces development time 2) Improves reliability 3) Increases standardization of the software development process 4) Simplifies modifications
  • 6. 6 Variable Variable is a name that represents a data element. Variable is also a temporary storage place for data in memory whose contents can change Variables consist of two types, namely local and global variable
  • 7. 7 Local Variable Local variable is a variable declared in a function or procedure. This variable can only be recognized within the function or procedure itself. Local variables cannot be called, accessed and changed by other procedures or functions, even by the main program
  • 8. 8 Global Variable Global variable is a variable that is defined in the main program and can be used in the main program or other sub-programs. The value of this variable can be called, accessed and changed by any procedure or function contained in the program
  • 9. 9 What is Function? Function is a subprogram that receives input data, performs several processes, returns output values for use by the process that calls the function The function is also often called non-void functions. Called non-void because it returns value that comes from the output of the function
  • 10. 10 Characteristics of Function 1) Have data type that starts the function 2) Don't have void keyword 3) Has a keyword return 4) Has a return value
  • 12. What is Procedure? Procedure is a series of instructions named, and performs a specific purpose. As with functions, procedures work with a call- return mechanism The procedure is also often referred to as void function. Called void because the function does not return an output value obtained from the results of the function's process 12
  • 13. Characteristics of Procedure 1) Does not have keyword return 2) Does not have a data type in the function declaration 3) Use the void keyword 4) Cannot immediately display the results 5) Has no function return value 13
  • 15. What is Unit? Unit is a library that is generally in the form of procedures or functions The difference between unit and preprocessor directive is that the unit is a library developed by user while directive preprocessor is a standard library that has been provided by C 15
  • 16. Illustration Deklarasi unit File unit Penggunaan fungsi Pembuatan fungsi 16
  • 17. Thank You, Next … Stack March 22, 2021 Andi Nurkholis, S.Kom, M.Kom Study Program of Informatics Faculty of Engineering and Computer Science SY. 2020-2021