SlideShare a Scribd company logo
3
Structured Programming Language
 Structured programming was first suggested by Corrado Bohm and
Guiseppe Jacopini. The two mathematicians demonstrated that any
computer program can be written with just three structures:
decisions, sequences, and loops.
 In general, Structured programming can be seen as a subset or sub-
discipline of procedural programming, one of the major programming
paradigms. It is most famous for removing or reducing reliance on
the GOTO statement.
 In programing languages that use the Structured programming
paradigm, we use of the structured control flow constructs of
selection (if/then/else) and repetition (while and for) block to
perform certain tasks within the program.
 Structured programming is also known as modular programming.
Most read
7
Difference between Structured and
Unstructured Programming Language
 The main difference between structured and unstructured
programming language is that a structured programming language
allows a programmer to dividing the whole program into smaller
units or modules. But in unstructured programming language, the
whole program must be written in single continuous way; there is
no stop or broken block.
 Structured Programming language is a subset of Procedural
Programming language. But in unstructured Programming language
no subset exists.
 Structured Programming language is a precursor to Object
Oriented Programming (OOP) language. But another one is not.
Most read
12
Features of C Programming Language
(cont..)
 The future of the C language is very secure.This is
because the choice of programming language for any
application depends on the nature of the application
itself.
 C has been around for many years and has a
dedicated community of users.
 It has also a lot of online resources, a clean syntax
and is easy to learn and use. So it is safe to say that C
isn't going anywhere.
Most read
Structured Programming Concepts
Md. Imran Hossain Showrov (showrovsworld@gmail.com)
5
1
Outline
 Structured programming language
 Main features of Structured programming language
 Unstructured programming language
 Why C is structured programming language?
Structured Programming Language
 Structured programming was first suggested by Corrado Bohm and
Guiseppe Jacopini. The two mathematicians demonstrated that any
computer program can be written with just three structures:
decisions, sequences, and loops.
 In general, Structured programming can be seen as a subset or sub-
discipline of procedural programming, one of the major programming
paradigms. It is most famous for removing or reducing reliance on
the GOTO statement.
 In programing languages that use the Structured programming
paradigm, we use of the structured control flow constructs of
selection (if/then/else) and repetition (while and for) block to
perform certain tasks within the program.
 Structured programming is also known as modular programming.
Structured Programming
 There are three main principles of structured
programming:
1. Program Design using top-down or bottom-up
approach.
2. Decomposition of program into components
3. Structuring of control flow
Main Features of Structured Programming
Language
1. Division of Complex problems into small procedures
and functions.
2. No presence of GOTO Statement
3. The main statement include – If-then-else, Call and
Case statements.
4. Large set of operators like arithmetic, relational, logical,
bit manipulation, shift and part word operators.
5. Inclusion of facilities for implementing entry points and
external references in program.
Unstructured Programming Language
 A programming language in which the entire logic of the
program is written as a single continuous (nonstop or
unbroken) block is called "unstructured Programming".
 Program written by following this language is very difficult
to modify and to debug
Difference between Structured and
Unstructured Programming Language
 The main difference between structured and unstructured
programming language is that a structured programming language
allows a programmer to dividing the whole program into smaller
units or modules. But in unstructured programming language, the
whole program must be written in single continuous way; there is
no stop or broken block.
 Structured Programming language is a subset of Procedural
Programming language. But in unstructured Programming language
no subset exists.
 Structured Programming language is a precursor to Object
Oriented Programming (OOP) language. But another one is not.
Difference between Structured and Unstructured
Programming Language (cont..)
 Structured Programming language produces readable code
while Unstructured Programming language produces hardly
readable code “spaghetti”.
 Structured Programming language has some limitations while
unstructured Programming language offers freedom to program
as they want.
 Structured Programming language is easy to modify and debug,
while unstructured Programming language is very difficult to
modify and debug.
 Examples of Structured Programming language are C, C++; and
example of unstructured Programming language are BASIC
(early version), COBOL.
Why C language is Structured Language?
 In order to accomplish any task, C-language divide the
problem into smaller modules called functions or
procedure each of which handles a particular job.That is
why C-language is also called as the structured
programming language.The program which solves the
entire problem is a collection of such functions.
Why C language is Structured Language?
 In C Programming when writing a program we add preprocessor directive
#inclue <filename> , than functions like main() , then opening of braces { }
, inside the braces there are two parts declaration of variables and
execution of statements which is a step by step process and well
structured so anyone in the first look can understand what codes are
doing what in which section.
 The structured programming languages allows the program to be splied
into multiple blocks of execution.
 In C, you can split the program into such named blocks called functions.
 That is why it is called a structured programming language.
Features of C Programming Language
 Low Level Language Support
 Program Portability
 Powerful
 Manipulation
 High Level Features
 Modular Language
 Efficient Use of Pointers
Features of C Programming Language
(cont..)
 The future of the C language is very secure.This is
because the choice of programming language for any
application depends on the nature of the application
itself.
 C has been around for many years and has a
dedicated community of users.
 It has also a lot of online resources, a clean syntax
and is easy to learn and use. So it is safe to say that C
isn't going anywhere.
Advantages of C Programming
 C Programs are efficient, fast and Highly Portable .
 It can be written in one computer and can be run in
another one without any modification .
 It is easy for debugging, error finding, testing and
maintenance because of structured programming.
Lecture 5 - Structured Programming Language

More Related Content

What's hot (20)

Introduction to c++ ppt 1
Introduction to c++ ppt 1Introduction to c++ ppt 1
Introduction to c++ ppt 1
Prof. Dr. K. Adisesha
 
C# programming language
C# programming languageC# programming language
C# programming language
swarnapatil
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
Ankur Pandey
 
C++ Files and Streams
C++ Files and Streams C++ Files and Streams
C++ Files and Streams
Ahmed Farag
 
C program
C programC program
C program
AJAL A J
 
Static Data Members and Member Functions
Static Data Members and Member FunctionsStatic Data Members and Member Functions
Static Data Members and Member Functions
MOHIT AGARWAL
 
Phases of compiler
Phases of compilerPhases of compiler
Phases of compiler
Akhil Kaushik
 
Introduction to c++
Introduction to c++Introduction to c++
Introduction to c++
Himanshu Kaushik
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 
Yacc
YaccYacc
Yacc
BBDITM LUCKNOW
 
Nondeterministic Finite Automata
Nondeterministic Finite AutomataNondeterministic Finite Automata
Nondeterministic Finite Automata
Adel Al-Ofairi
 
C presentation
C presentationC presentation
C presentation
APSMIND TECHNOLOGY PVT LTD.
 
Basic concept of OOP's
Basic concept of OOP'sBasic concept of OOP's
Basic concept of OOP's
Prof. Dr. K. Adisesha
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
Trivuz ত্রিভুজ
 
Passes of compilers
Passes of compilersPasses of compilers
Passes of compilers
Vairavel C
 
Algorithm analysis
Algorithm analysisAlgorithm analysis
Algorithm analysis
sumitbardhan
 
9. Input Output in java
9. Input Output in java9. Input Output in java
9. Input Output in java
Nilesh Dalvi
 
C++ Programming Language
C++ Programming Language C++ Programming Language
C++ Programming Language
Mohamed Loey
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
CPD INDIA
 
Functional programming
Functional programmingFunctional programming
Functional programming
ijcd
 
C# programming language
C# programming languageC# programming language
C# programming language
swarnapatil
 
Object oriented programming c++
Object oriented programming c++Object oriented programming c++
Object oriented programming c++
Ankur Pandey
 
C++ Files and Streams
C++ Files and Streams C++ Files and Streams
C++ Files and Streams
Ahmed Farag
 
Static Data Members and Member Functions
Static Data Members and Member FunctionsStatic Data Members and Member Functions
Static Data Members and Member Functions
MOHIT AGARWAL
 
Basic programming concepts
Basic programming conceptsBasic programming concepts
Basic programming concepts
salmankhan570
 
Nondeterministic Finite Automata
Nondeterministic Finite AutomataNondeterministic Finite Automata
Nondeterministic Finite Automata
Adel Al-Ofairi
 
Passes of compilers
Passes of compilersPasses of compilers
Passes of compilers
Vairavel C
 
Algorithm analysis
Algorithm analysisAlgorithm analysis
Algorithm analysis
sumitbardhan
 
9. Input Output in java
9. Input Output in java9. Input Output in java
9. Input Output in java
Nilesh Dalvi
 
C++ Programming Language
C++ Programming Language C++ Programming Language
C++ Programming Language
Mohamed Loey
 
oops concept in java | object oriented programming in java
oops concept in java | object oriented programming in javaoops concept in java | object oriented programming in java
oops concept in java | object oriented programming in java
CPD INDIA
 
Functional programming
Functional programmingFunctional programming
Functional programming
ijcd
 

Similar to Lecture 5 - Structured Programming Language (20)

Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
Sinbad Konick
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
Sheikh Monirul Hasan
 
C-PROGRAMMING pdf text book notes vtu important
C-PROGRAMMING pdf text book notes vtu importantC-PROGRAMMING pdf text book notes vtu important
C-PROGRAMMING pdf text book notes vtu important
taheneekb19
 
PCCF UNIT 2 CLASS.pptx
PCCF UNIT 2 CLASS.pptxPCCF UNIT 2 CLASS.pptx
PCCF UNIT 2 CLASS.pptx
vishnupriyapm4
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
Akshay Ithape
 
An Overview of Programming C
An Overview of Programming CAn Overview of Programming C
An Overview of Programming C
Nishargo Nigar
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
DivyaKS12
 
Introduction to programming c
Introduction to programming cIntroduction to programming c
Introduction to programming c
Md. Rakibuzzaman Khan Pathan
 
C AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDYC AND DATASTRUCTURES PREPARED BY M V B REDDY
C AND DATASTRUCTURES PREPARED BY M V B REDDY
Malikireddy Bramhananda Reddy
 
C.pdf
C.pdfC.pdf
C.pdf
5reality786
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
Malikireddy Bramhananda Reddy
 
1. importance of c
1. importance of c1. importance of c
1. importance of c
Alamgir Hossain
 
UNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptx
UNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptxUNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptx
UNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptx
RoselinLourd
 
Programming in C and Decision Making Branching
Programming in C and Decision Making BranchingProgramming in C and Decision Making Branching
Programming in C and Decision Making Branching
Rvishnupriya2
 
Programming in C & Decision Making Branching
Programming in C & Decision Making BranchingProgramming in C & Decision Making Branching
Programming in C & Decision Making Branching
VishnuPriya810389
 
Introduction to C Programming
Introduction to C ProgrammingIntroduction to C Programming
Introduction to C Programming
Anandhasilambarasan D
 
Introduction to ‘C’ Language
Introduction to ‘C’ LanguageIntroduction to ‘C’ Language
Introduction to ‘C’ Language
Thesis Scientist Private Limited
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEM
Mansi Tyagi
 
Programming in c
Programming in cProgramming in c
Programming in c
vishnu973656
 
Programming in C
Programming in CProgramming in C
Programming in C
Rvishnupriya2
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
Sinbad Konick
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
Sheikh Monirul Hasan
 
C-PROGRAMMING pdf text book notes vtu important
C-PROGRAMMING pdf text book notes vtu importantC-PROGRAMMING pdf text book notes vtu important
C-PROGRAMMING pdf text book notes vtu important
taheneekb19
 
PCCF UNIT 2 CLASS.pptx
PCCF UNIT 2 CLASS.pptxPCCF UNIT 2 CLASS.pptx
PCCF UNIT 2 CLASS.pptx
vishnupriyapm4
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
Akshay Ithape
 
An Overview of Programming C
An Overview of Programming CAn Overview of Programming C
An Overview of Programming C
Nishargo Nigar
 
PCCF UNIT 2.pptx
PCCF UNIT 2.pptxPCCF UNIT 2.pptx
PCCF UNIT 2.pptx
DivyaKS12
 
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
C notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit orderC notes by m v b  reddy(gitam)imp  notes  all units notes  5 unit order
C notes by m v b reddy(gitam)imp notes all units notes 5 unit order
Malikireddy Bramhananda Reddy
 
UNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptx
UNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptxUNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptx
UNIT - 1jhjhjbkjhkjhkjhkjhkjhhkkhhh.pptx
RoselinLourd
 
Programming in C and Decision Making Branching
Programming in C and Decision Making BranchingProgramming in C and Decision Making Branching
Programming in C and Decision Making Branching
Rvishnupriya2
 
Programming in C & Decision Making Branching
Programming in C & Decision Making BranchingProgramming in C & Decision Making Branching
Programming in C & Decision Making Branching
VishnuPriya810389
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEM
Mansi Tyagi
 
Ad

More from Md. Imran Hossain Showrov (20)

Lecture 22 - Error Handling
Lecture 22 - Error HandlingLecture 22 - Error Handling
Lecture 22 - Error Handling
Md. Imran Hossain Showrov
 
Lecture 21 - Preprocessor and Header File
Lecture 21 - Preprocessor and Header FileLecture 21 - Preprocessor and Header File
Lecture 21 - Preprocessor and Header File
Md. Imran Hossain Showrov
 
Lecture 20 - File Handling
Lecture 20 - File HandlingLecture 20 - File Handling
Lecture 20 - File Handling
Md. Imran Hossain Showrov
 
Lecture 19 - Struct and Union
Lecture 19 - Struct and UnionLecture 19 - Struct and Union
Lecture 19 - Struct and Union
Md. Imran Hossain Showrov
 
Lecture 18 - Pointers
Lecture 18 - PointersLecture 18 - Pointers
Lecture 18 - Pointers
Md. Imran Hossain Showrov
 
Lecture 16 - Multi dimensional Array
Lecture 16 - Multi dimensional ArrayLecture 16 - Multi dimensional Array
Lecture 16 - Multi dimensional Array
Md. Imran Hossain Showrov
 
Lecture 17 - Strings
Lecture 17 - StringsLecture 17 - Strings
Lecture 17 - Strings
Md. Imran Hossain Showrov
 
Lecture 15 - Array
Lecture 15 - ArrayLecture 15 - Array
Lecture 15 - Array
Md. Imran Hossain Showrov
 
Lecture 14 - Scope Rules
Lecture 14 - Scope RulesLecture 14 - Scope Rules
Lecture 14 - Scope Rules
Md. Imran Hossain Showrov
 
Lecture 13 - Storage Classes
Lecture 13 - Storage ClassesLecture 13 - Storage Classes
Lecture 13 - Storage Classes
Md. Imran Hossain Showrov
 
Lecture 12 - Recursion
Lecture 12 - Recursion Lecture 12 - Recursion
Lecture 12 - Recursion
Md. Imran Hossain Showrov
 
Lecture 11 - Functions
Lecture 11 - FunctionsLecture 11 - Functions
Lecture 11 - Functions
Md. Imran Hossain Showrov
 
Lecture 10 - Control Structures 2
Lecture 10 - Control Structures 2Lecture 10 - Control Structures 2
Lecture 10 - Control Structures 2
Md. Imran Hossain Showrov
 
Lecture 8- Data Input and Output
Lecture 8- Data Input and OutputLecture 8- Data Input and Output
Lecture 8- Data Input and Output
Md. Imran Hossain Showrov
 
Lecture 9- Control Structures 1
Lecture 9- Control Structures 1Lecture 9- Control Structures 1
Lecture 9- Control Structures 1
Md. Imran Hossain Showrov
 
Lecture 7- Operators and Expressions
Lecture 7- Operators and Expressions Lecture 7- Operators and Expressions
Lecture 7- Operators and Expressions
Md. Imran Hossain Showrov
 
Lecture 6- Intorduction to C Programming
Lecture 6- Intorduction to C ProgrammingLecture 6- Intorduction to C Programming
Lecture 6- Intorduction to C Programming
Md. Imran Hossain Showrov
 
Lecture 4- Computer Software and Languages
Lecture 4- Computer Software and LanguagesLecture 4- Computer Software and Languages
Lecture 4- Computer Software and Languages
Md. Imran Hossain Showrov
 
Lecture 3 - Processors, Memory and I/O devices
Lecture 3 - Processors, Memory and I/O devicesLecture 3 - Processors, Memory and I/O devices
Lecture 3 - Processors, Memory and I/O devices
Md. Imran Hossain Showrov
 
Lecture 2 - Introductory Concepts
Lecture 2 - Introductory ConceptsLecture 2 - Introductory Concepts
Lecture 2 - Introductory Concepts
Md. Imran Hossain Showrov
 
Lecture 3 - Processors, Memory and I/O devices
Lecture 3 - Processors, Memory and I/O devicesLecture 3 - Processors, Memory and I/O devices
Lecture 3 - Processors, Memory and I/O devices
Md. Imran Hossain Showrov
 
Ad

Recently uploaded (20)

Optimization technique in pharmaceutical product development.pptx
Optimization technique in pharmaceutical product development.pptxOptimization technique in pharmaceutical product development.pptx
Optimization technique in pharmaceutical product development.pptx
UrmiPrajapati3
 
Strengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptxStrengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptx
SteffMusniQuiballo
 
LDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad UpdatesLDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad Updates
LDM & Mia eStudios
 
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
EUPHORIA GENERAL QUIZ FINALS | QUIZ CLUB OF PSGCAS | 21 MARCH 2025
Quiz Club of PSG College of Arts & Science
 
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdfFEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
ChristinaFortunova
 
Respiratory System , Urinary System
Respiratory  System , Urinary SystemRespiratory  System , Urinary System
Respiratory System , Urinary System
RushiMandali
 
Adam Grant: Transforming Work Culture Through Organizational Psychology
Adam Grant: Transforming Work Culture Through Organizational PsychologyAdam Grant: Transforming Work Culture Through Organizational Psychology
Adam Grant: Transforming Work Culture Through Organizational Psychology
Prachi Shah
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptxWhat is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Capitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptxCapitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptx
CapitolTechU
 
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
Gibson "Secrets to Changing Behaviour in Scholarly Communication: A 2025 NISO...
National Information Standards Organization (NISO)
 
Rose Cultivation Practices by Kushal Lamichhane.pdf
Rose Cultivation Practices by Kushal Lamichhane.pdfRose Cultivation Practices by Kushal Lamichhane.pdf
Rose Cultivation Practices by Kushal Lamichhane.pdf
kushallamichhame
 
Hemiptera & Neuroptera: Insect Diversity.pptx
Hemiptera & Neuroptera: Insect Diversity.pptxHemiptera & Neuroptera: Insect Diversity.pptx
Hemiptera & Neuroptera: Insect Diversity.pptx
Arshad Shaikh
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptxRai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Rai dyansty Chach or Brahamn dynasty, History of Dahir History of Sindh NEP.pptx
Dr. Ravi Shankar Arya Mahila P. G. College, Banaras Hindu University, Varanasi, India.
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdfUnit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 SlidesHow to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 
Optimization technique in pharmaceutical product development.pptx
Optimization technique in pharmaceutical product development.pptxOptimization technique in pharmaceutical product development.pptx
Optimization technique in pharmaceutical product development.pptx
UrmiPrajapati3
 
Strengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptxStrengthened Senior High School - Landas Tool Kit.pptx
Strengthened Senior High School - Landas Tool Kit.pptx
SteffMusniQuiballo
 
LDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad UpdatesLDMMIA Reiki Yoga Next Week Grad Updates
LDMMIA Reiki Yoga Next Week Grad Updates
LDM & Mia eStudios
 
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdfFEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
FEBA Sofia Univercity final diplian v3 GSDG 5.2025.pdf
ChristinaFortunova
 
Respiratory System , Urinary System
Respiratory  System , Urinary SystemRespiratory  System , Urinary System
Respiratory System , Urinary System
RushiMandali
 
Adam Grant: Transforming Work Culture Through Organizational Psychology
Adam Grant: Transforming Work Culture Through Organizational PsychologyAdam Grant: Transforming Work Culture Through Organizational Psychology
Adam Grant: Transforming Work Culture Through Organizational Psychology
Prachi Shah
 
Unit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptxUnit 3 Poster Sketches with annotations.pptx
Unit 3 Poster Sketches with annotations.pptx
bobby205207
 
What is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptxWhat is FIle and explanation of text files.pptx
What is FIle and explanation of text files.pptx
Ramakrishna Reddy Bijjam
 
Capitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptxCapitol Doctoral Presentation -June 2025.pptx
Capitol Doctoral Presentation -June 2025.pptx
CapitolTechU
 
Rose Cultivation Practices by Kushal Lamichhane.pdf
Rose Cultivation Practices by Kushal Lamichhane.pdfRose Cultivation Practices by Kushal Lamichhane.pdf
Rose Cultivation Practices by Kushal Lamichhane.pdf
kushallamichhame
 
Hemiptera & Neuroptera: Insect Diversity.pptx
Hemiptera & Neuroptera: Insect Diversity.pptxHemiptera & Neuroptera: Insect Diversity.pptx
Hemiptera & Neuroptera: Insect Diversity.pptx
Arshad Shaikh
 
How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18How to Configure Vendor Management in Lunch App of Odoo 18
How to Configure Vendor Management in Lunch App of Odoo 18
Celine George
 
Unit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdfUnit- 4 Biostatistics & Research Methodology.pdf
Unit- 4 Biostatistics & Research Methodology.pdf
KRUTIKA CHANNE
 
How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18How to Create a Rainbow Man Effect in Odoo 18
How to Create a Rainbow Man Effect in Odoo 18
Celine George
 
How to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 SlidesHow to Create an Event in Odoo 18 - Odoo 18 Slides
How to Create an Event in Odoo 18 - Odoo 18 Slides
Celine George
 
Ray Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big CycleRay Dalio How Countries go Broke the Big Cycle
Ray Dalio How Countries go Broke the Big Cycle
Dadang Solihin
 
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKANMATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
MATERI PPT TOPIK 4 LANDASAN FILOSOFIS PENDIDIKAN
aditya23173
 

Lecture 5 - Structured Programming Language

  • 2. Outline  Structured programming language  Main features of Structured programming language  Unstructured programming language  Why C is structured programming language?
  • 3. Structured Programming Language  Structured programming was first suggested by Corrado Bohm and Guiseppe Jacopini. The two mathematicians demonstrated that any computer program can be written with just three structures: decisions, sequences, and loops.  In general, Structured programming can be seen as a subset or sub- discipline of procedural programming, one of the major programming paradigms. It is most famous for removing or reducing reliance on the GOTO statement.  In programing languages that use the Structured programming paradigm, we use of the structured control flow constructs of selection (if/then/else) and repetition (while and for) block to perform certain tasks within the program.  Structured programming is also known as modular programming.
  • 4. Structured Programming  There are three main principles of structured programming: 1. Program Design using top-down or bottom-up approach. 2. Decomposition of program into components 3. Structuring of control flow
  • 5. Main Features of Structured Programming Language 1. Division of Complex problems into small procedures and functions. 2. No presence of GOTO Statement 3. The main statement include – If-then-else, Call and Case statements. 4. Large set of operators like arithmetic, relational, logical, bit manipulation, shift and part word operators. 5. Inclusion of facilities for implementing entry points and external references in program.
  • 6. Unstructured Programming Language  A programming language in which the entire logic of the program is written as a single continuous (nonstop or unbroken) block is called "unstructured Programming".  Program written by following this language is very difficult to modify and to debug
  • 7. Difference between Structured and Unstructured Programming Language  The main difference between structured and unstructured programming language is that a structured programming language allows a programmer to dividing the whole program into smaller units or modules. But in unstructured programming language, the whole program must be written in single continuous way; there is no stop or broken block.  Structured Programming language is a subset of Procedural Programming language. But in unstructured Programming language no subset exists.  Structured Programming language is a precursor to Object Oriented Programming (OOP) language. But another one is not.
  • 8. Difference between Structured and Unstructured Programming Language (cont..)  Structured Programming language produces readable code while Unstructured Programming language produces hardly readable code “spaghetti”.  Structured Programming language has some limitations while unstructured Programming language offers freedom to program as they want.  Structured Programming language is easy to modify and debug, while unstructured Programming language is very difficult to modify and debug.  Examples of Structured Programming language are C, C++; and example of unstructured Programming language are BASIC (early version), COBOL.
  • 9. Why C language is Structured Language?  In order to accomplish any task, C-language divide the problem into smaller modules called functions or procedure each of which handles a particular job.That is why C-language is also called as the structured programming language.The program which solves the entire problem is a collection of such functions.
  • 10. Why C language is Structured Language?  In C Programming when writing a program we add preprocessor directive #inclue <filename> , than functions like main() , then opening of braces { } , inside the braces there are two parts declaration of variables and execution of statements which is a step by step process and well structured so anyone in the first look can understand what codes are doing what in which section.  The structured programming languages allows the program to be splied into multiple blocks of execution.  In C, you can split the program into such named blocks called functions.  That is why it is called a structured programming language.
  • 11. Features of C Programming Language  Low Level Language Support  Program Portability  Powerful  Manipulation  High Level Features  Modular Language  Efficient Use of Pointers
  • 12. Features of C Programming Language (cont..)  The future of the C language is very secure.This is because the choice of programming language for any application depends on the nature of the application itself.  C has been around for many years and has a dedicated community of users.  It has also a lot of online resources, a clean syntax and is easy to learn and use. So it is safe to say that C isn't going anywhere.
  • 13. Advantages of C Programming  C Programs are efficient, fast and Highly Portable .  It can be written in one computer and can be run in another one without any modification .  It is easy for debugging, error finding, testing and maintenance because of structured programming.