SlideShare ist ein Scribd-Unternehmen logo
1 von 38
Dimara Kusuma Hakim, ST. Struktur level program
Struktur Program
Designing a Program ,[object Object],[object Object]
Spaghetti programming ?  
The three parts of every program ,[object Object],[object Object],[object Object]
Sequential instructions ,[object Object]
[object Object]
[object Object],[object Object],Writeln(  ‘ I am a useless program ’); Writeln(  ‘ Because this is all I can do ‘);
Branching instructions ,[object Object],[object Object]
Branching…
[object Object]
Write(‘ Do you want to delete the file? (Y or N)  ’);  Read(answer); IF answer = ‘Y’ THEN writeln (‘Deleting file’ ) ELSE writeln  (‘File NOT deleted’);
Looping instructions ,[object Object]
[object Object],[object Object]
FOR  i = 1  TO  5  DO Write(i); 1 2 3 4 5
The building blocks of programming
Subprogram
Dividing and Conquering with Subprograms ,[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object]
[object Object],[object Object],[object Object]
 
procedure GoPassword;  // SUB PROGRAM var  password : string; Begin WHILE password <> 'open'  Do begin Writeln('Enter your password'); read(password); IF password = 'open'THEN Writeln( 'Welcome to the FBI''s secret computer network') ELSE  Writeln('TRY AGAIN'); end; end; BEGIN  // MAIN PROGRAM GoPassword; readln; END.
[object Object],[object Object],[object Object]
Creating libraries of subprograms ,[object Object],[object Object],[object Object]
 
[object Object],[object Object]
[object Object]
Sample… ,[object Object],[object Object],[object Object]
Problem with subprogram libraries :  1 ,[object Object]
Problem with subprogram libraries :  2 ,[object Object]
[object Object],[object Object]
Dividing programs into objects The basic idea behind objects is that instead of making physical (duplicate) copies of subprograms, you maintain a single, physical copy of subprograms but allow others to make “virtual” copies of those subprograms,
[object Object],[object Object]
[object Object]
[object Object],[object Object]
 
[object Object],[object Object],[object Object]
 

Weitere ähnliche Inhalte

Was ist angesagt? (12)

Ml goes fruitful
Ml goes fruitfulMl goes fruitful
Ml goes fruitful
 
Evaluation Question 6
Evaluation Question 6Evaluation Question 6
Evaluation Question 6
 
Evaluation question 6
Evaluation question 6Evaluation question 6
Evaluation question 6
 
Tips for making digital portafolios
Tips for making digital portafoliosTips for making digital portafolios
Tips for making digital portafolios
 
Media evaluation 4
Media evaluation 4Media evaluation 4
Media evaluation 4
 
As media studies evaluation q6
As media studies evaluation q6As media studies evaluation q6
As media studies evaluation q6
 
How to record screen activity
How to record screen activityHow to record screen activity
How to record screen activity
 
Stuart doherty fmp_production_log_22.05.2013
Stuart doherty fmp_production_log_22.05.2013Stuart doherty fmp_production_log_22.05.2013
Stuart doherty fmp_production_log_22.05.2013
 
Question 4
Question 4Question 4
Question 4
 
How did you use media technologies in the
How did you use media technologies in theHow did you use media technologies in the
How did you use media technologies in the
 
Media evaluation 4
Media evaluation 4Media evaluation 4
Media evaluation 4
 
How did you use media technologies in the construction and research, planning...
How did you use media technologies in the construction and research, planning...How did you use media technologies in the construction and research, planning...
How did you use media technologies in the construction and research, planning...
 

Andere mochten auch

Simulasi - Pertemuan IV
Simulasi - Pertemuan IVSimulasi - Pertemuan IV
Simulasi - Pertemuan IV
Dimara Hakim
 
JENI Slides-Intro1-Bab06-Struktur kontrol
JENI Slides-Intro1-Bab06-Struktur kontrolJENI Slides-Intro1-Bab06-Struktur kontrol
JENI Slides-Intro1-Bab06-Struktur kontrol
Dimara Hakim
 
Simulasi - Pertemuan III
Simulasi - Pertemuan IIISimulasi - Pertemuan III
Simulasi - Pertemuan III
Dimara Hakim
 
Pemrograman Modular
Pemrograman ModularPemrograman Modular
Pemrograman Modular
Dimara Hakim
 
Simulasi - Pertemuan I
Simulasi - Pertemuan ISimulasi - Pertemuan I
Simulasi - Pertemuan I
Dimara Hakim
 
query optimization
query optimizationquery optimization
query optimization
Dimara Hakim
 
Struktur Level Data
Struktur Level DataStruktur Level Data
Struktur Level Data
Dimara Hakim
 
Simulasi - Pertemuan II
Simulasi - Pertemuan IISimulasi - Pertemuan II
Simulasi - Pertemuan II
Dimara Hakim
 
Tugas simulasi 5211100111
Tugas simulasi 5211100111Tugas simulasi 5211100111
Tugas simulasi 5211100111
Aula Ayubi
 
ANALISA SISTEM ANTRIAN PADA PELAYANAN PENGISIAN BBM DI SPBU PERTAMINA
ANALISA SISTEM ANTRIAN PADA PELAYANAN PENGISIAN BBM DI SPBU PERTAMINAANALISA SISTEM ANTRIAN PADA PELAYANAN PENGISIAN BBM DI SPBU PERTAMINA
ANALISA SISTEM ANTRIAN PADA PELAYANAN PENGISIAN BBM DI SPBU PERTAMINA
Perguruan Tinggi Raharja
 
Contoh soal Teori antrian khusus Poisson
Contoh soal Teori antrian khusus PoissonContoh soal Teori antrian khusus Poisson
Contoh soal Teori antrian khusus Poisson
Lilies DLiestyowati
 

Andere mochten auch (19)

Simulasi - Pertemuan IV
Simulasi - Pertemuan IVSimulasi - Pertemuan IV
Simulasi - Pertemuan IV
 
JENI Slides-Intro1-Bab06-Struktur kontrol
JENI Slides-Intro1-Bab06-Struktur kontrolJENI Slides-Intro1-Bab06-Struktur kontrol
JENI Slides-Intro1-Bab06-Struktur kontrol
 
Simulasi - Pertemuan III
Simulasi - Pertemuan IIISimulasi - Pertemuan III
Simulasi - Pertemuan III
 
Pemrograman Modular
Pemrograman ModularPemrograman Modular
Pemrograman Modular
 
Simulasi - Pertemuan I
Simulasi - Pertemuan ISimulasi - Pertemuan I
Simulasi - Pertemuan I
 
query optimization
query optimizationquery optimization
query optimization
 
Struktur Level Data
Struktur Level DataStruktur Level Data
Struktur Level Data
 
Desain Top Down
Desain Top DownDesain Top Down
Desain Top Down
 
Makalah teori antrian (SISTEM ANTRIAN MM TAK HINGGA)
Makalah teori antrian (SISTEM ANTRIAN MM TAK HINGGA)Makalah teori antrian (SISTEM ANTRIAN MM TAK HINGGA)
Makalah teori antrian (SISTEM ANTRIAN MM TAK HINGGA)
 
Simulasi - Pertemuan II
Simulasi - Pertemuan IISimulasi - Pertemuan II
Simulasi - Pertemuan II
 
Denormalisasi
DenormalisasiDenormalisasi
Denormalisasi
 
Tugas simulasi 5211100111
Tugas simulasi 5211100111Tugas simulasi 5211100111
Tugas simulasi 5211100111
 
Transaction
TransactionTransaction
Transaction
 
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASIPENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
PENDAHULUAN. SISTEM, MODEL, DAN SIMULASI
 
Teori antrian
Teori antrianTeori antrian
Teori antrian
 
ANALISA SISTEM ANTRIAN PADA PELAYANAN PENGISIAN BBM DI SPBU PERTAMINA
ANALISA SISTEM ANTRIAN PADA PELAYANAN PENGISIAN BBM DI SPBU PERTAMINAANALISA SISTEM ANTRIAN PADA PELAYANAN PENGISIAN BBM DI SPBU PERTAMINA
ANALISA SISTEM ANTRIAN PADA PELAYANAN PENGISIAN BBM DI SPBU PERTAMINA
 
Contoh tugas besar pemodelan sistem
Contoh tugas besar pemodelan sistemContoh tugas besar pemodelan sistem
Contoh tugas besar pemodelan sistem
 
Contoh soal Teori antrian khusus Poisson
Contoh soal Teori antrian khusus PoissonContoh soal Teori antrian khusus Poisson
Contoh soal Teori antrian khusus Poisson
 
ANALISIS SISTEM ANTRIAN SERVICE MOBIL DI PT. TUNAS MOBILINDO PERKASA DENGAN M...
ANALISIS SISTEM ANTRIAN SERVICE MOBIL DI PT. TUNAS MOBILINDO PERKASA DENGAN M...ANALISIS SISTEM ANTRIAN SERVICE MOBIL DI PT. TUNAS MOBILINDO PERKASA DENGAN M...
ANALISIS SISTEM ANTRIAN SERVICE MOBIL DI PT. TUNAS MOBILINDO PERKASA DENGAN M...
 

Ähnlich wie Struktur Level Program

Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
An I
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
som_nangia
 
System Softwares
System SoftwaresSystem Softwares
System Softwares
nshnt_snghl
 
1. Introduction Original - To Print
1. Introduction Original - To Print1. Introduction Original - To Print
1. Introduction Original - To Print
Chinthaka Fernando
 
1.7 selection and use of appropriate software
1.7 selection and use of appropriate software1.7 selection and use of appropriate software
1.7 selection and use of appropriate software
mrmwood
 

Ähnlich wie Struktur Level Program (20)

Moreno Xec
Moreno XecMoreno Xec
Moreno Xec
 
Command line
Command lineCommand line
Command line
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
Introducing small basic
Introducing small basicIntroducing small basic
Introducing small basic
 
Introducing Small Basic.pdf
Introducing Small Basic.pdfIntroducing Small Basic.pdf
Introducing Small Basic.pdf
 
System Softwares
System SoftwaresSystem Softwares
System Softwares
 
The dependency inversion principle
The dependency inversion principleThe dependency inversion principle
The dependency inversion principle
 
1. Introduction Original - To Print
1. Introduction Original - To Print1. Introduction Original - To Print
1. Introduction Original - To Print
 
Introduction to computer science ch3 programming
Introduction to computer science ch3 programmingIntroduction to computer science ch3 programming
Introduction to computer science ch3 programming
 
PROBLEM SOLVING
PROBLEM SOLVINGPROBLEM SOLVING
PROBLEM SOLVING
 
How java works
How java worksHow java works
How java works
 
How java works
How java worksHow java works
How java works
 
Software ppt
Software pptSoftware ppt
Software ppt
 
Programming in Java: Getting Started
Programming in Java: Getting StartedProgramming in Java: Getting Started
Programming in Java: Getting Started
 
Classification Of Software
Classification Of SoftwareClassification Of Software
Classification Of Software
 
The pragmatic programmer
The pragmatic programmerThe pragmatic programmer
The pragmatic programmer
 
1.7 selection and use of appropriate software
1.7 selection and use of appropriate software1.7 selection and use of appropriate software
1.7 selection and use of appropriate software
 
Introduction to system programming
Introduction to system programmingIntroduction to system programming
Introduction to system programming
 
Stnotes doc 5
Stnotes doc 5Stnotes doc 5
Stnotes doc 5
 

Mehr von Dimara Hakim

Disk-based storage
Disk-based storageDisk-based storage
Disk-based storage
Dimara Hakim
 
Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of data
Dimara Hakim
 
b - Normalizing a Data Model
b - Normalizing a Data Modelb - Normalizing a Data Model
b - Normalizing a Data Model
Dimara Hakim
 
a - Normalizing a Data Model
a - Normalizing a Data Modela - Normalizing a Data Model
a - Normalizing a Data Model
Dimara Hakim
 
Data Access Technologies
Data Access TechnologiesData Access Technologies
Data Access Technologies
Dimara Hakim
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
Dimara Hakim
 
Bab 1b The Structure Of A Computer Program
Bab 1b   The Structure Of A Computer ProgramBab 1b   The Structure Of A Computer Program
Bab 1b The Structure Of A Computer Program
Dimara Hakim
 
Bab 2 Rekayasa Perangkat Lunak 5
Bab 2   Rekayasa Perangkat Lunak  5Bab 2   Rekayasa Perangkat Lunak  5
Bab 2 Rekayasa Perangkat Lunak 5
Dimara Hakim
 
Bab 2 Rekayasa Perangkat Lunak 3
Bab 2   Rekayasa Perangkat Lunak  3Bab 2   Rekayasa Perangkat Lunak  3
Bab 2 Rekayasa Perangkat Lunak 3
Dimara Hakim
 
Bab 2 Rekayasa Perangkat Lunak 2
Bab 2   Rekayasa Perangkat Lunak  2Bab 2   Rekayasa Perangkat Lunak  2
Bab 2 Rekayasa Perangkat Lunak 2
Dimara Hakim
 
Bab 2 Rekayasa Perangkat Lunak 1
Bab 2   Rekayasa Perangkat Lunak  1Bab 2   Rekayasa Perangkat Lunak  1
Bab 2 Rekayasa Perangkat Lunak 1
Dimara Hakim
 

Mehr von Dimara Hakim (18)

modul6
modul6modul6
modul6
 
ELS
ELSELS
ELS
 
ASC
ASCASC
ASC
 
Tugas 1
Tugas 1Tugas 1
Tugas 1
 
Disk-based storage
Disk-based storageDisk-based storage
Disk-based storage
 
Index
IndexIndex
Index
 
Physical elements of data
Physical elements of dataPhysical elements of data
Physical elements of data
 
Normalisasi
NormalisasiNormalisasi
Normalisasi
 
b - Normalizing a Data Model
b - Normalizing a Data Modelb - Normalizing a Data Model
b - Normalizing a Data Model
 
a - Normalizing a Data Model
a - Normalizing a Data Modela - Normalizing a Data Model
a - Normalizing a Data Model
 
Data Access Technologies
Data Access TechnologiesData Access Technologies
Data Access Technologies
 
Database Management Systems (DBMS)
Database Management Systems (DBMS)Database Management Systems (DBMS)
Database Management Systems (DBMS)
 
Bab 1b The Structure Of A Computer Program
Bab 1b   The Structure Of A Computer ProgramBab 1b   The Structure Of A Computer Program
Bab 1b The Structure Of A Computer Program
 
OOP
OOPOOP
OOP
 
Bab 2 Rekayasa Perangkat Lunak 5
Bab 2   Rekayasa Perangkat Lunak  5Bab 2   Rekayasa Perangkat Lunak  5
Bab 2 Rekayasa Perangkat Lunak 5
 
Bab 2 Rekayasa Perangkat Lunak 3
Bab 2   Rekayasa Perangkat Lunak  3Bab 2   Rekayasa Perangkat Lunak  3
Bab 2 Rekayasa Perangkat Lunak 3
 
Bab 2 Rekayasa Perangkat Lunak 2
Bab 2   Rekayasa Perangkat Lunak  2Bab 2   Rekayasa Perangkat Lunak  2
Bab 2 Rekayasa Perangkat Lunak 2
 
Bab 2 Rekayasa Perangkat Lunak 1
Bab 2   Rekayasa Perangkat Lunak  1Bab 2   Rekayasa Perangkat Lunak  1
Bab 2 Rekayasa Perangkat Lunak 1
 

Kürzlich hochgeladen

EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
Earley Information Science
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
Enterprise Knowledge
 

Kürzlich hochgeladen (20)

Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdfUnderstanding Discord NSFW Servers A Guide for Responsible Users.pdf
Understanding Discord NSFW Servers A Guide for Responsible Users.pdf
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Tech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdfTech Trends Report 2024 Future Today Institute.pdf
Tech Trends Report 2024 Future Today Institute.pdf
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Evaluating the top large language models.pdf
Evaluating the top large language models.pdfEvaluating the top large language models.pdf
Evaluating the top large language models.pdf
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 

Struktur Level Program

  • 1. Dimara Kusuma Hakim, ST. Struktur level program
  • 3.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 11.
  • 12. Write(‘ Do you want to delete the file? (Y or N) ’); Read(answer); IF answer = ‘Y’ THEN writeln (‘Deleting file’ ) ELSE writeln (‘File NOT deleted’);
  • 13.
  • 14.
  • 15. FOR i = 1 TO 5 DO Write(i); 1 2 3 4 5
  • 16. The building blocks of programming
  • 18.
  • 19.
  • 20.
  • 21.  
  • 22. procedure GoPassword; // SUB PROGRAM var password : string; Begin WHILE password <> 'open' Do begin Writeln('Enter your password'); read(password); IF password = 'open'THEN Writeln( 'Welcome to the FBI''s secret computer network') ELSE Writeln('TRY AGAIN'); end; end; BEGIN // MAIN PROGRAM GoPassword; readln; END.
  • 23.
  • 24.
  • 25.  
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.
  • 31.
  • 32. Dividing programs into objects The basic idea behind objects is that instead of making physical (duplicate) copies of subprograms, you maintain a single, physical copy of subprograms but allow others to make “virtual” copies of those subprograms,
  • 33.
  • 34.
  • 35.
  • 36.  
  • 37.
  • 38.