SlideShare a Scribd company logo
Adam Mukharil Bachtiar
English Class
Informatics Engineering 2011
Algorithms and Programming
Sequential Structure
Steps of the Day
Let’s Start
Definition Characteristic Exercises
Definition
Definition
DefinitionofSequential
Structure
• The simplest and basic structure in algorithm.
• Instruction was processed in sequential way
(top down approach).
Characteristics of
Sequential Structure
All about Sequential Structure
Characteristics
• Each instruction was processed one by one.
• No repeateance in each instruction.
• The last instruction is the end of algorithm.
• Sequence of instructions is same with
sequence of instructions in Algorithm
Algorithm and Programming (Sequential Structure)
Case of Employee’s Salary
UNIKOM has n employees with salary asumptions such as:
• Salary of each employee was equal each other.
• Salary was counted by basic salary + allowance - tax .
• The tax is 10 % from basic salary before added by
allowance.
• Allowance is 20% from basic salary.
• Basic salary can be changed.
Calculate salary that UNIKOM must be pay to all employees,
detail of tax, and detail of allowance for each employee
Algorithm of Employee’s Salary
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Algoritma Gaji_Karyawan
{I.S: Jumlah karyawan dan Gaji pokok diinput oleh user}
{F.S: Menampilkan gaji, pajak, dan tunjangan karyawan}
Deklarasi:
gaji_pokok,gaji,jml_gaji:real
pajak:real
tunjangan:real
jml_karyawan:integer
Algoritma:
input(jml_karyawan,gaji_pokok)
pajak0.1*gaji_pokok
tunjangan0.2*gaji_pokok
gajigaji_pokok+tunjangan-pajak
jml_gajigaji*jml_karyawan
output(‘Pajak perorang= Rp. ‘,pajak)
output(‘Tunjangan perorang= Rp. ‘,tunjangan)
output(Gaji ‘,jml_karyawan,’ orang karyawan= Rp. ‘,jml_gaji)
Pascal Code of Employee’s Salary
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
program Gaji_Karyawan;
uses crt;
var
gaji_pokok,gaji,jml_gaji:real;
pajak:real;
tunjangan:real;
jml_karyawan:integer;
begin
write('Masukan jumlah karyawan: ');readln(jml_karyawan);
write('Masukan gaji pokok : ');readln(gaji_pokok);
pajak:=0.1*gaji_pokok;
tunjangan:=0.2*gaji_pokok;
gaji:=gaji_pokok+tunjangan-pajak;
jml_gaji:=gaji*jml_karyawan;
clrscr();{untuk membersihkan layar}
writeln('Pajak perorang = Rp. ',pajak:0:2);
writeln('Tunjangan perorang = Rp. ',tunjangan:0:2);
writeln('Gaji ',jml_karyawan,' orang = Rp. ',jml_gaji:0:2);
writeln();
write('Tekan sembarang tombol untuk menutup...');
readkey();
end.
Collection of Exercises
Exercises of Sequential Search
Exercise 1
Create the algorithm and pascal code to:
• Around and area for 4 2-dimensional space
• Around and area for 3 3-dimensional space.
Exercise 2
Create the algorithm and pascal code to show
curriculum vitae in paragraph style.
Contact Person:
Adam Mukharil Bachtiar
Informatics Engineering UNIKOM
Jalan Dipati Ukur Nomor. 112-114 Bandung 40132
Email: adfbipotter@gmail.com
Blog: http://adfbipotter.wordpress.com
Copyright © Adam Mukharil Bachtiar 2011

More Related Content

PPTX
Fundamentals of database system - Relational data model and relational datab...
Mustafa Kamel Mohammadi
 
PPTX
Bubble sort, Selection sort SORTING .pptx
Kalpana Mohan
 
PPTX
Control Flow Statements
Tarun Sharma
 
PPTX
Arrays in C language
Shubham Sharma
 
PDF
BCA DATA STRUCTURES LINEAR ARRAYS MRS.SOWMYA JYOTHI
Sowmya Jyothi
 
PPT
Types Of Join In Sql Server - Join With Example In Sql Server
programmings guru
 
PDF
FP304 DATABASE SYSTEM PAPER FINAL EXAM AGAIN
Syahriha Ruslan
 
Fundamentals of database system - Relational data model and relational datab...
Mustafa Kamel Mohammadi
 
Bubble sort, Selection sort SORTING .pptx
Kalpana Mohan
 
Control Flow Statements
Tarun Sharma
 
Arrays in C language
Shubham Sharma
 
BCA DATA STRUCTURES LINEAR ARRAYS MRS.SOWMYA JYOTHI
Sowmya Jyothi
 
Types Of Join In Sql Server - Join With Example In Sql Server
programmings guru
 
FP304 DATABASE SYSTEM PAPER FINAL EXAM AGAIN
Syahriha Ruslan
 

What's hot (20)

PPTX
Classes and objects1
Vineeta Garg
 
PPTX
Input and Output In C Language
Adnan Khan
 
PDF
SWE-401 - 6. Software Analysis and Design Tools
ghayour abbas
 
PDF
Loops and conditional statements
Saad Sheikh
 
PPTX
Introduction to basic programming
Jordan Delacruz
 
PPTX
Stacks and Queue - Data Structures
Dr. Jasmine Beulah Gnanadurai
 
PPT
Aggregate functions
sinhacp
 
PPTX
Constructors and destructors
Vineeta Garg
 
PPT
Hash table
Rajendran
 
PPTX
Introduction to database
Pradnya Saval
 
PPT
SQL Tutorial - How To Create, Drop, and Truncate Table
1keydata
 
PPT
Arrays in c
vampugani
 
PPT
Array in Java
Shehrevar Davierwala
 
PPT
Chapter 12 ds
Hanif Durad
 
PPT
introduction to_trees
Danish Aakash
 
DOC
Dbms lab Manual
Vivek Kumar Sinha
 
PPT
C# Basics
Sunil OS
 
PPTX
Sql joins inner join self join outer joins
Deepthi Rachumallu
 
PPTX
Classes and Objects in C#
Adeel Rasheed
 
PPT
Introduction To C#
SAMIR BHOGAYTA
 
Classes and objects1
Vineeta Garg
 
Input and Output In C Language
Adnan Khan
 
SWE-401 - 6. Software Analysis and Design Tools
ghayour abbas
 
Loops and conditional statements
Saad Sheikh
 
Introduction to basic programming
Jordan Delacruz
 
Stacks and Queue - Data Structures
Dr. Jasmine Beulah Gnanadurai
 
Aggregate functions
sinhacp
 
Constructors and destructors
Vineeta Garg
 
Hash table
Rajendran
 
Introduction to database
Pradnya Saval
 
SQL Tutorial - How To Create, Drop, and Truncate Table
1keydata
 
Arrays in c
vampugani
 
Array in Java
Shehrevar Davierwala
 
Chapter 12 ds
Hanif Durad
 
introduction to_trees
Danish Aakash
 
Dbms lab Manual
Vivek Kumar Sinha
 
C# Basics
Sunil OS
 
Sql joins inner join self join outer joins
Deepthi Rachumallu
 
Classes and Objects in C#
Adeel Rasheed
 
Introduction To C#
SAMIR BHOGAYTA
 
Ad

Viewers also liked (20)

PDF
Algorithm and Programming (Branching Structure)
Adam Mukharil Bachtiar
 
PPSX
Algorithm and Programming (Searching)
Adam Mukharil Bachtiar
 
PPT
Ibm quantum computing
Francisco J. Gálvez Ramírez
 
PDF
Algorithm and Programming (Looping Structure)
Adam Mukharil Bachtiar
 
PDF
Algorithm and Programming (Introduction of dev pascal, data type, value, and ...
Adam Mukharil Bachtiar
 
PPT
Introduction to Quantum Computing & Quantum Information Theory
Rahul Mee
 
PPTX
04.01 file organization
Bishal Ghimire
 
PDF
Algorithm and Programming (Procedure and Function)
Adam Mukharil Bachtiar
 
PPT
FILE STRUCTURE IN DBMS
Abhishek Dutta
 
PPT
Chapter 11 - File System Implementation
Wayne Jones Jnr
 
PDF
Data Management (Data Mining Klasifikasi)
Adam Mukharil Bachtiar
 
PPT
Chapter 06
Google
 
PPTX
Quantum Computers
Deepti.B
 
PPTX
File system.
elyza12
 
PDF
Algorithm and Programming (Record)
Adam Mukharil Bachtiar
 
PPSX
Algorithm and Programming (Sorting)
Adam Mukharil Bachtiar
 
PDF
Algorithm and Programming (Array)
Adam Mukharil Bachtiar
 
PDF
Algorithm and Programming (Introduction of Algorithms)
Adam Mukharil Bachtiar
 
PPTX
File management
Vishal Singh
 
PPT
Introduccion algoritmoscuanticos
Francisco J. Gálvez Ramírez
 
Algorithm and Programming (Branching Structure)
Adam Mukharil Bachtiar
 
Algorithm and Programming (Searching)
Adam Mukharil Bachtiar
 
Ibm quantum computing
Francisco J. Gálvez Ramírez
 
Algorithm and Programming (Looping Structure)
Adam Mukharil Bachtiar
 
Algorithm and Programming (Introduction of dev pascal, data type, value, and ...
Adam Mukharil Bachtiar
 
Introduction to Quantum Computing & Quantum Information Theory
Rahul Mee
 
04.01 file organization
Bishal Ghimire
 
Algorithm and Programming (Procedure and Function)
Adam Mukharil Bachtiar
 
FILE STRUCTURE IN DBMS
Abhishek Dutta
 
Chapter 11 - File System Implementation
Wayne Jones Jnr
 
Data Management (Data Mining Klasifikasi)
Adam Mukharil Bachtiar
 
Chapter 06
Google
 
Quantum Computers
Deepti.B
 
File system.
elyza12
 
Algorithm and Programming (Record)
Adam Mukharil Bachtiar
 
Algorithm and Programming (Sorting)
Adam Mukharil Bachtiar
 
Algorithm and Programming (Array)
Adam Mukharil Bachtiar
 
Algorithm and Programming (Introduction of Algorithms)
Adam Mukharil Bachtiar
 
File management
Vishal Singh
 
Introduccion algoritmoscuanticos
Francisco J. Gálvez Ramírez
 
Ad

Similar to Algorithm and Programming (Sequential Structure) (20)

PDF
methods of remuneration human resource management
ganapathys28
 
PPT
Payroll Sytem
David Saul Yango
 
PPTX
318424809-Complete-Payroll-Pcr-Schema (2).pptx
SandeepMohapatra34
 
PPTX
C program to calculate net pays
kakande alex
 
PPTX
ERPNext system (CubeTech)
noossaa
 
PPTX
deeplearning topic hashing ppt detailed.pptx
SimhadriSevitha1
 
PPTX
Compensation (HRM)
Akash Tilokani
 
PPT
Incentive Schemes
havisha gupta
 
PPTX
Wages and salary
Bikram Khalkho
 
PDF
Class 38 self tuning controllers and imc
Manipal Institute of Technology
 
PPTX
labour cost control
Ajit Kumar
 
PPTX
School technology and organization
jshoemate
 
PPTX
LECTURE-2-INTRO FEATURE ENGINEERING.pptx
kobiy41698
 
PPTX
PAYROLL MANAGEMENT.pptx
Suraj857568
 
PPTX
PAYROLL MANAGEMENT (1).pptx
Suraj857568
 
PPTX
Electric power system operation.
v Kalairajan
 
PPTX
ERP system
noossaa
 
PPTX
CONTROL STRUCTURE
Dr. Rosemarie Sibbaluca-Guirre
 
PPTX
INCENTIVE By Dhanya Ushas
Dhanya Ushas
 
PPTX
Payroll management system for Employee
Chhabi Lal Garhewal
 
methods of remuneration human resource management
ganapathys28
 
Payroll Sytem
David Saul Yango
 
318424809-Complete-Payroll-Pcr-Schema (2).pptx
SandeepMohapatra34
 
C program to calculate net pays
kakande alex
 
ERPNext system (CubeTech)
noossaa
 
deeplearning topic hashing ppt detailed.pptx
SimhadriSevitha1
 
Compensation (HRM)
Akash Tilokani
 
Incentive Schemes
havisha gupta
 
Wages and salary
Bikram Khalkho
 
Class 38 self tuning controllers and imc
Manipal Institute of Technology
 
labour cost control
Ajit Kumar
 
School technology and organization
jshoemate
 
LECTURE-2-INTRO FEATURE ENGINEERING.pptx
kobiy41698
 
PAYROLL MANAGEMENT.pptx
Suraj857568
 
PAYROLL MANAGEMENT (1).pptx
Suraj857568
 
Electric power system operation.
v Kalairajan
 
ERP system
noossaa
 
INCENTIVE By Dhanya Ushas
Dhanya Ushas
 
Payroll management system for Employee
Chhabi Lal Garhewal
 

More from Adam Mukharil Bachtiar (20)

PDF
Materi 8 - Data Mining Association Rule.pdf
Adam Mukharil Bachtiar
 
PDF
Clean Code - Formatting Code
Adam Mukharil Bachtiar
 
PDF
Clean Code - Clean Comments
Adam Mukharil Bachtiar
 
PDF
Clean Method
Adam Mukharil Bachtiar
 
PDF
Clean Code and Design Pattern - Meaningful Names
Adam Mukharil Bachtiar
 
PDF
Model Driven Software Development
Adam Mukharil Bachtiar
 
PDF
Scrum: How to Implement
Adam Mukharil Bachtiar
 
PDF
Pengujian Perangkat Lunak
Adam Mukharil Bachtiar
 
PDF
Data Mining Clustering
Adam Mukharil Bachtiar
 
PPTX
Data Mining Klasifikasi (Updated 30 Desember 2020)
Adam Mukharil Bachtiar
 
PDF
Analisis Algoritma - Strategi Algoritma Dynamic Programming
Adam Mukharil Bachtiar
 
PDF
Analisis Algoritma - Strategi Algoritma Divide and Conquer
Adam Mukharil Bachtiar
 
PDF
Analisis Algoritma - Strategi Algoritma Greedy
Adam Mukharil Bachtiar
 
PDF
Analisis Algoritma - Penerapan Strategi Algoritma Brute Force
Adam Mukharil Bachtiar
 
PDF
Analisis Algoritma - Strategi Algoritma Brute Force
Adam Mukharil Bachtiar
 
PDF
Analisis Algoritma - Kelas-kelas Dasar Efisiensi Algoritma
Adam Mukharil Bachtiar
 
PDF
Analisis Algoritma - Teorema Notasi Asimptotik
Adam Mukharil Bachtiar
 
PDF
Analisis Algoritma - Notasi Asimptotik
Adam Mukharil Bachtiar
 
PDF
Activity Diagram
Adam Mukharil Bachtiar
 
PDF
UML dan Use Case View
Adam Mukharil Bachtiar
 
Materi 8 - Data Mining Association Rule.pdf
Adam Mukharil Bachtiar
 
Clean Code - Formatting Code
Adam Mukharil Bachtiar
 
Clean Code - Clean Comments
Adam Mukharil Bachtiar
 
Clean Code and Design Pattern - Meaningful Names
Adam Mukharil Bachtiar
 
Model Driven Software Development
Adam Mukharil Bachtiar
 
Scrum: How to Implement
Adam Mukharil Bachtiar
 
Pengujian Perangkat Lunak
Adam Mukharil Bachtiar
 
Data Mining Clustering
Adam Mukharil Bachtiar
 
Data Mining Klasifikasi (Updated 30 Desember 2020)
Adam Mukharil Bachtiar
 
Analisis Algoritma - Strategi Algoritma Dynamic Programming
Adam Mukharil Bachtiar
 
Analisis Algoritma - Strategi Algoritma Divide and Conquer
Adam Mukharil Bachtiar
 
Analisis Algoritma - Strategi Algoritma Greedy
Adam Mukharil Bachtiar
 
Analisis Algoritma - Penerapan Strategi Algoritma Brute Force
Adam Mukharil Bachtiar
 
Analisis Algoritma - Strategi Algoritma Brute Force
Adam Mukharil Bachtiar
 
Analisis Algoritma - Kelas-kelas Dasar Efisiensi Algoritma
Adam Mukharil Bachtiar
 
Analisis Algoritma - Teorema Notasi Asimptotik
Adam Mukharil Bachtiar
 
Analisis Algoritma - Notasi Asimptotik
Adam Mukharil Bachtiar
 
Activity Diagram
Adam Mukharil Bachtiar
 
UML dan Use Case View
Adam Mukharil Bachtiar
 

Recently uploaded (20)

PDF
Protecting the Digital World Cyber Securit
dnthakkar16
 
PPT
Activate_Methodology_Summary presentatio
annapureddyn
 
PPTX
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
DOCX
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
PDF
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
PDF
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
PDF
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
PPTX
Presentation about Database and Database Administrator
abhishekchauhan86963
 
PPTX
Presentation about variables and constant.pptx
kr2589474
 
PPTX
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
PDF
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
PDF
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
PDF
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
PDF
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
PPTX
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
PDF
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
PPTX
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
PDF
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
PDF
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
PPTX
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 
Protecting the Digital World Cyber Securit
dnthakkar16
 
Activate_Methodology_Summary presentatio
annapureddyn
 
slidesgo-unlocking-the-code-the-dynamic-dance-of-variables-and-constants-2024...
kr2589474
 
Can You Build Dashboards Using Open Source Visualization Tool.docx
Varsha Nayak
 
vAdobe Premiere Pro 2025 (v25.2.3.004) Crack Pre-Activated Latest
imang66g
 
On Software Engineers' Productivity - Beyond Misleading Metrics
Romén Rodríguez-Gil
 
New Download FL Studio Crack Full Version [Latest 2025]
imang66g
 
Presentation about Database and Database Administrator
abhishekchauhan86963
 
Presentation about variables and constant.pptx
kr2589474
 
ConcordeApp: Engineering Global Impact & Unlocking Billions in Event ROI with AI
chastechaste14
 
lesson-2-rules-of-netiquette.pdf.bshhsjdj
jasmenrojas249
 
10 posting ideas for community engagement with AI prompts
Pankaj Taneja
 
ChatPharo: an Open Architecture for Understanding How to Talk Live to LLMs
ESUG
 
Key Features to Look for in Arizona App Development Services
Net-Craft.com
 
GALILEO CRS SYSTEM | GALILEO TRAVEL SOFTWARE
philipnathen82
 
Enhancing Healthcare RPM Platforms with Contextual AI Integration
Cadabra Studio
 
ASSIGNMENT_1[1][1][1][1][1] (1) variables.pptx
kr2589474
 
Generating Union types w/ Static Analysis
K. Matthew Dupree
 
Using licensed Data Loss Prevention (DLP) as a strategic proactive data secur...
Q-Advise
 
Can You Build Dashboards Using Open Source Visualization Tool.pptx
Varsha Nayak
 

Algorithm and Programming (Sequential Structure)

  • 1. Adam Mukharil Bachtiar English Class Informatics Engineering 2011 Algorithms and Programming Sequential Structure
  • 2. Steps of the Day Let’s Start Definition Characteristic Exercises
  • 4. DefinitionofSequential Structure • The simplest and basic structure in algorithm. • Instruction was processed in sequential way (top down approach).
  • 5. Characteristics of Sequential Structure All about Sequential Structure
  • 6. Characteristics • Each instruction was processed one by one. • No repeateance in each instruction. • The last instruction is the end of algorithm. • Sequence of instructions is same with sequence of instructions in Algorithm
  • 8. Case of Employee’s Salary UNIKOM has n employees with salary asumptions such as: • Salary of each employee was equal each other. • Salary was counted by basic salary + allowance - tax . • The tax is 10 % from basic salary before added by allowance. • Allowance is 20% from basic salary. • Basic salary can be changed. Calculate salary that UNIKOM must be pay to all employees, detail of tax, and detail of allowance for each employee
  • 9. Algorithm of Employee’s Salary 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 Algoritma Gaji_Karyawan {I.S: Jumlah karyawan dan Gaji pokok diinput oleh user} {F.S: Menampilkan gaji, pajak, dan tunjangan karyawan} Deklarasi: gaji_pokok,gaji,jml_gaji:real pajak:real tunjangan:real jml_karyawan:integer Algoritma: input(jml_karyawan,gaji_pokok) pajak0.1*gaji_pokok tunjangan0.2*gaji_pokok gajigaji_pokok+tunjangan-pajak jml_gajigaji*jml_karyawan output(‘Pajak perorang= Rp. ‘,pajak) output(‘Tunjangan perorang= Rp. ‘,tunjangan) output(Gaji ‘,jml_karyawan,’ orang karyawan= Rp. ‘,jml_gaji)
  • 10. Pascal Code of Employee’s Salary 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 program Gaji_Karyawan; uses crt; var gaji_pokok,gaji,jml_gaji:real; pajak:real; tunjangan:real; jml_karyawan:integer; begin write('Masukan jumlah karyawan: ');readln(jml_karyawan); write('Masukan gaji pokok : ');readln(gaji_pokok); pajak:=0.1*gaji_pokok; tunjangan:=0.2*gaji_pokok; gaji:=gaji_pokok+tunjangan-pajak; jml_gaji:=gaji*jml_karyawan; clrscr();{untuk membersihkan layar} writeln('Pajak perorang = Rp. ',pajak:0:2); writeln('Tunjangan perorang = Rp. ',tunjangan:0:2); writeln('Gaji ',jml_karyawan,' orang = Rp. ',jml_gaji:0:2); writeln(); write('Tekan sembarang tombol untuk menutup...'); readkey(); end.
  • 11. Collection of Exercises Exercises of Sequential Search
  • 12. Exercise 1 Create the algorithm and pascal code to: • Around and area for 4 2-dimensional space • Around and area for 3 3-dimensional space.
  • 13. Exercise 2 Create the algorithm and pascal code to show curriculum vitae in paragraph style.
  • 14. Contact Person: Adam Mukharil Bachtiar Informatics Engineering UNIKOM Jalan Dipati Ukur Nomor. 112-114 Bandung 40132 Email: [email protected] Blog: http://adfbipotter.wordpress.com Copyright © Adam Mukharil Bachtiar 2011