SlideShare una empresa de Scribd logo
1 de 19
CSC240
INTRODUCTION TO PROGRAMMING – I
Mr. Dilawar
Lecturer,
Department of Computer Science,
Jahan University
Kabul, Afghanistan.
Previous Lecture Outline
• Introduction to computers and computer organization
• Personal, Distributed and Client/Server Computing
• Programming languages
• Components of programming languages
• Categories of Programming Languages
• Programming techniques
Lecture Outline
• Understanding the concept of flowcharts.
• Working with sequence, decision, repetition and case control
flowchart structures.
• Understanding algorithms.
Flowchart
• A flowchart is a diagram that represents the
flow of a program.
• Flowcharts are the combination of some
symbols that describes the order and sequence
of computer program that how it runs and
executes.
• Flowchart for pay calculation.
Flowchart
• A flowchart is composed of following symbols:
Terminal1.
Parallelogram2.
Rectangle3.
Used to indicate the starting and ending
point of flowchart.
Used to indicate input/output operations.
Used to indicate process operation.
Flowchart
• A flowchart is composed of following symbols:
4.
5.
Connector Used to connect different parts of flowcharts.
Used to connect different other symbols in flowchart
with each other.
Flowchart
• Based on order of execution, program flowcharts are divided into
four types:
• Sequence flowchart
• Decision flowchart
• Repetition flowchart
• Case flowchart
• Combination of all the above flowchart create nested flowcharts.
Flowchart
Sequence Flowchart
• A flowchart in which a series of actions are
performed in sequence.
• In sequence flowchart all the activities and actions
are performed one after another in an order.
Flowchart
Decision Flowchart
• A flowchart in which statements are
executed and skipped after a condition.
• Actions are performed when condition
becomes true and actions are skipped
when condition is false.
Flowchart
Decision Flowchart
• It uses diamond symbol.
• It is also called IF…..THEN decision making.
• It is one-way decision making.
Flowchart
Decision Flowchart
• A flowchart in which statements are
executed when a condition is true and
when condition becomes false, other
statements are executed.
• It uses diamond symbol.
• It is also called IF…..THEN….ELSE decision
making.
• It is two-way decision making.
Flowchart
Repetition Flowchart
• A flowchart in which statements are
executed for a number of times repeatedly.
• The number of execution is controlled
through a condition.
• It can be pre-tested or post-tested.
Flowchart
Repetition Flowchart
• Pre-tested repetitive flowchart
• Statements are repeated or executed
after checking a condition.
• If the condition is omitted, it will
becomes infinite loop.
Flowchart
Repetition Flowchart
• Post-tested repetitive flowchart
• Statements are repeated or executed
before checking a condition once.
• If the condition is omitted, it will
becomes infinite loop.
Flowchart
Repetition Flowchart
• Repetition flowchart becomes infinite it the
condition is always true.
Flowchart
Case Flowchart
• One of several possible actions is
taken, depending on the contents of a
variable.
Algorithm
• Step by step processes used for
problem solving is called algorithm.
• A procedure or rule for solving a
problem in the term of which
action is to execute on and in which
order the action will be executed.
• Pseudo Code is an artificial
language that can be used for
writing steps for problem solving.
• 1 Prompt the user to enter the first integer
• 2 Input the first integer
• 3 Prompt the user to enter the second integer
• 4 input the second integer
• 5 Add first integer and second integer, store
result
• 6 Display result
Summery
• Understanding the concept of flowcharts.
• Working with sequence, decision, repetition and case control
flowchart structures.
• Understanding algorithms.
Thank You
For your Patience

Más contenido relacionado

La actualidad más candente

The analysis synthesis model of compilation
The analysis synthesis model of compilationThe analysis synthesis model of compilation
The analysis synthesis model of compilation
Huawei Technologies
 
Systolic, Transposed & Semi-Parallel Architectures and Programming
Systolic, Transposed & Semi-Parallel Architectures and ProgrammingSystolic, Transposed & Semi-Parallel Architectures and Programming
Systolic, Transposed & Semi-Parallel Architectures and Programming
Sandip Jassar (sandipjassar@hotmail.com)
 
Pseudocode-Flowchart
Pseudocode-FlowchartPseudocode-Flowchart
Pseudocode-Flowchart
lotlot
 

La actualidad más candente (20)

State transition testing-software_testing
State transition testing-software_testingState transition testing-software_testing
State transition testing-software_testing
 
Algorithm
AlgorithmAlgorithm
Algorithm
 
Compiler lecture 04
Compiler lecture 04Compiler lecture 04
Compiler lecture 04
 
The analysis synthesis model of compilation
The analysis synthesis model of compilationThe analysis synthesis model of compilation
The analysis synthesis model of compilation
 
Algorithm and flowchart2010
Algorithm and flowchart2010Algorithm and flowchart2010
Algorithm and flowchart2010
 
Flow chart
Flow chartFlow chart
Flow chart
 
Functions and procedures
Functions and proceduresFunctions and procedures
Functions and procedures
 
Unit 1 psp
Unit 1 pspUnit 1 psp
Unit 1 psp
 
Programming flowcharts for C Language
Programming flowcharts for C LanguageProgramming flowcharts for C Language
Programming flowcharts for C Language
 
Flow control in computer
Flow control in computerFlow control in computer
Flow control in computer
 
Programing techniques
Programing techniquesPrograming techniques
Programing techniques
 
States, state graphs and transition testing
States, state graphs and transition testingStates, state graphs and transition testing
States, state graphs and transition testing
 
Systolic, Transposed & Semi-Parallel Architectures and Programming
Systolic, Transposed & Semi-Parallel Architectures and ProgrammingSystolic, Transposed & Semi-Parallel Architectures and Programming
Systolic, Transposed & Semi-Parallel Architectures and Programming
 
Pseudocode-Flowchart
Pseudocode-FlowchartPseudocode-Flowchart
Pseudocode-Flowchart
 
Algorithm manual
Algorithm manualAlgorithm manual
Algorithm manual
 
Software develop....
Software develop.... Software develop....
Software develop....
 
St 1.6
St 1.6St 1.6
St 1.6
 
Flow chart programming
Flow chart programmingFlow chart programming
Flow chart programming
 
Intro To C++ - Class 09 - Control Statements: Part 1
Intro To C++ - Class 09 - Control Statements: Part 1Intro To C++ - Class 09 - Control Statements: Part 1
Intro To C++ - Class 09 - Control Statements: Part 1
 
Intro To C++ - Class 12 - For, do … While
Intro To C++ - Class 12 - For, do … WhileIntro To C++ - Class 12 - For, do … While
Intro To C++ - Class 12 - For, do … While
 

Destacado

ITCH_E.compressed
ITCH_E.compressedITCH_E.compressed
ITCH_E.compressed
Mike White
 
An Area Analysis Report of Gainesville Parks with a Focus on Springtree Park
An Area Analysis Report of Gainesville Parks with a Focus on Springtree ParkAn Area Analysis Report of Gainesville Parks with a Focus on Springtree Park
An Area Analysis Report of Gainesville Parks with a Focus on Springtree Park
Danielle Behr
 
Byu scavenger hunt
Byu scavenger huntByu scavenger hunt
Byu scavenger hunt
mblangton
 

Destacado (16)

Project Part 2
Project Part 2Project Part 2
Project Part 2
 
dean resume (1)
dean resume (1)dean resume (1)
dean resume (1)
 
Georgia Studies Jeopardy!, WWII Edition
Georgia Studies Jeopardy!, WWII EditionGeorgia Studies Jeopardy!, WWII Edition
Georgia Studies Jeopardy!, WWII Edition
 
Csc240 -lecture_3
Csc240  -lecture_3Csc240  -lecture_3
Csc240 -lecture_3
 
Powerp2
Powerp2Powerp2
Powerp2
 
Presentación de computacion
Presentación  de computacionPresentación  de computacion
Presentación de computacion
 
ITCH_E.compressed
ITCH_E.compressedITCH_E.compressed
ITCH_E.compressed
 
An Area Analysis Report of Gainesville Parks with a Focus on Springtree Park
An Area Analysis Report of Gainesville Parks with a Focus on Springtree ParkAn Area Analysis Report of Gainesville Parks with a Focus on Springtree Park
An Area Analysis Report of Gainesville Parks with a Focus on Springtree Park
 
Lfu
LfuLfu
Lfu
 
How to up Optimize Your Google Product Feed in Time for Black Friday
How to up Optimize Your Google Product Feed in Time for Black FridayHow to up Optimize Your Google Product Feed in Time for Black Friday
How to up Optimize Your Google Product Feed in Time for Black Friday
 
IJRET20140304067
IJRET20140304067IJRET20140304067
IJRET20140304067
 
Byu scavenger hunt
Byu scavenger huntByu scavenger hunt
Byu scavenger hunt
 
Administração Básica IBM Connections
Administração Básica IBM ConnectionsAdministração Básica IBM Connections
Administração Básica IBM Connections
 
Area de tecnologia e informatica
Area de tecnologia e informatica Area de tecnologia e informatica
Area de tecnologia e informatica
 
Un breve resumen de álgebra lineal - Juan Álvarez (incompleto)
Un breve resumen de álgebra lineal - Juan Álvarez (incompleto)Un breve resumen de álgebra lineal - Juan Álvarez (incompleto)
Un breve resumen de álgebra lineal - Juan Álvarez (incompleto)
 
Statistical lechure
Statistical lechureStatistical lechure
Statistical lechure
 

Similar a Csc240 -lecture_2

Es_module2ppt.pptx
Es_module2ppt.pptxEs_module2ppt.pptx
Es_module2ppt.pptx
RohanAM1
 
FPL -Part 2 ( Sem - I 2013)
FPL -Part 2 ( Sem - I 2013)FPL -Part 2 ( Sem - I 2013)
FPL -Part 2 ( Sem - I 2013)
Yogesh Deshpande
 
BIL406-Chapter-4-Parallel Processing Concept.ppt
BIL406-Chapter-4-Parallel Processing Concept.pptBIL406-Chapter-4-Parallel Processing Concept.ppt
BIL406-Chapter-4-Parallel Processing Concept.ppt
Kadri20
 
detail of flowchart and algorithm that are used in programmingpdf
detail of flowchart and algorithm that are used in programmingpdfdetail of flowchart and algorithm that are used in programmingpdf
detail of flowchart and algorithm that are used in programmingpdf
ssuserf86fba
 
classVII_Coding_Teacher_Presentation.pptx
classVII_Coding_Teacher_Presentation.pptxclassVII_Coding_Teacher_Presentation.pptx
classVII_Coding_Teacher_Presentation.pptx
ssusere336f4
 
notes_Lecture-8 (Computer Architecture) 3rd Semester 2k11 (1).pdf
notes_Lecture-8 (Computer Architecture) 3rd Semester 2k11 (1).pdfnotes_Lecture-8 (Computer Architecture) 3rd Semester 2k11 (1).pdf
notes_Lecture-8 (Computer Architecture) 3rd Semester 2k11 (1).pdf
SatyamMishra828076
 

Similar a Csc240 -lecture_2 (20)

Lesson 1 of c programming algorithms and flowcharts.pptx
Lesson 1 of c programming algorithms and flowcharts.pptxLesson 1 of c programming algorithms and flowcharts.pptx
Lesson 1 of c programming algorithms and flowcharts.pptx
 
Basic syntax : Algorithm,Flow chart
Basic syntax : Algorithm,Flow chartBasic syntax : Algorithm,Flow chart
Basic syntax : Algorithm,Flow chart
 
final Unit 1-1.pdf
final Unit 1-1.pdffinal Unit 1-1.pdf
final Unit 1-1.pdf
 
C language (Part 2)
C language (Part 2)C language (Part 2)
C language (Part 2)
 
Algorithm & Flowchart.pdf
Algorithm & Flowchart.pdfAlgorithm & Flowchart.pdf
Algorithm & Flowchart.pdf
 
Es_module2ppt.pptx
Es_module2ppt.pptxEs_module2ppt.pptx
Es_module2ppt.pptx
 
Cse115 lecture03problemsolving
Cse115 lecture03problemsolvingCse115 lecture03problemsolving
Cse115 lecture03problemsolving
 
Pseudo code.pptx
Pseudo code.pptxPseudo code.pptx
Pseudo code.pptx
 
FPL -Part 2 ( Sem - I 2013)
FPL -Part 2 ( Sem - I 2013)FPL -Part 2 ( Sem - I 2013)
FPL -Part 2 ( Sem - I 2013)
 
Models of Operational research, Advantages & disadvantages of Operational res...
Models of Operational research, Advantages & disadvantages of Operational res...Models of Operational research, Advantages & disadvantages of Operational res...
Models of Operational research, Advantages & disadvantages of Operational res...
 
Cse
CseCse
Cse
 
BIL406-Chapter-4-Parallel Processing Concept.ppt
BIL406-Chapter-4-Parallel Processing Concept.pptBIL406-Chapter-4-Parallel Processing Concept.ppt
BIL406-Chapter-4-Parallel Processing Concept.ppt
 
detail of flowchart and algorithm that are used in programmingpdf
detail of flowchart and algorithm that are used in programmingpdfdetail of flowchart and algorithm that are used in programmingpdf
detail of flowchart and algorithm that are used in programmingpdf
 
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
Algorithm   Flowchart Manual ALGORITHM   FLOWCHART MANUAL For STUDENTSAlgorithm   Flowchart Manual ALGORITHM   FLOWCHART MANUAL For STUDENTS
Algorithm Flowchart Manual ALGORITHM FLOWCHART MANUAL For STUDENTS
 
Lect 3-4 Zaheer Abbas
Lect 3-4 Zaheer AbbasLect 3-4 Zaheer Abbas
Lect 3-4 Zaheer Abbas
 
classVII_Coding_Teacher_Presentation.pptx
classVII_Coding_Teacher_Presentation.pptxclassVII_Coding_Teacher_Presentation.pptx
classVII_Coding_Teacher_Presentation.pptx
 
notes_Lecture-8 (Computer Architecture) 3rd Semester 2k11 (1).pdf
notes_Lecture-8 (Computer Architecture) 3rd Semester 2k11 (1).pdfnotes_Lecture-8 (Computer Architecture) 3rd Semester 2k11 (1).pdf
notes_Lecture-8 (Computer Architecture) 3rd Semester 2k11 (1).pdf
 
Algorithm and flowchart.pptx
Algorithm and flowchart.pptxAlgorithm and flowchart.pptx
Algorithm and flowchart.pptx
 
Programming with C++
Programming with C++Programming with C++
Programming with C++
 
Flow charts
Flow chartsFlow charts
Flow charts
 

Más de Ainuddin Yousufzai (15)

Chapter04 ip addressing networking
Chapter04 ip addressing networkingChapter04 ip addressing networking
Chapter04 ip addressing networking
 
Chapter 02 topology networking
Chapter 02  topology networkingChapter 02  topology networking
Chapter 02 topology networking
 
Chapter 01 networking
Chapter 01 networkingChapter 01 networking
Chapter 01 networking
 
Chapter08 internet & multimedia (b)
Chapter08   internet & multimedia (b)Chapter08   internet & multimedia (b)
Chapter08 internet & multimedia (b)
 
Chapter08 internet & multimedia (a)
Chapter08   internet & multimedia (a)Chapter08   internet & multimedia (a)
Chapter08 internet & multimedia (a)
 
Chapter07 io devices
Chapter07   io devicesChapter07   io devices
Chapter07 io devices
 
Chapter06 computer software
Chapter06   computer softwareChapter06   computer software
Chapter06 computer software
 
Chapter05 secondary storage
Chapter05   secondary storageChapter05   secondary storage
Chapter05 secondary storage
 
Chapter04 processor and memory
Chapter04   processor and memoryChapter04   processor and memory
Chapter04 processor and memory
 
Chapter03 number system
Chapter03   number systemChapter03   number system
Chapter03 number system
 
Chapter02 basic computer organization
Chapter02   basic computer organizationChapter02   basic computer organization
Chapter02 basic computer organization
 
Chapter01 introduction to computer
Chapter01   introduction to computerChapter01   introduction to computer
Chapter01 introduction to computer
 
Csc240 -lecture_5
Csc240  -lecture_5Csc240  -lecture_5
Csc240 -lecture_5
 
Csc240 -lecture_4
Csc240  -lecture_4Csc240  -lecture_4
Csc240 -lecture_4
 
Csc240 lecture 1
Csc240   lecture 1Csc240   lecture 1
Csc240 lecture 1
 

Último

Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
AnaAcapella
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Último (20)

How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701ComPTIA Overview | Comptia Security+ Book SY0-701
ComPTIA Overview | Comptia Security+ Book SY0-701
 
Spellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please PractiseSpellings Wk 3 English CAPS CARES Please Practise
Spellings Wk 3 English CAPS CARES Please Practise
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
Asian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptxAsian American Pacific Islander Month DDSD 2024.pptx
Asian American Pacific Islander Month DDSD 2024.pptx
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdfMicro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Spatium Project Simulation student brief
Spatium Project Simulation student briefSpatium Project Simulation student brief
Spatium Project Simulation student brief
 
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 

Csc240 -lecture_2

  • 1. CSC240 INTRODUCTION TO PROGRAMMING – I Mr. Dilawar Lecturer, Department of Computer Science, Jahan University Kabul, Afghanistan.
  • 2. Previous Lecture Outline • Introduction to computers and computer organization • Personal, Distributed and Client/Server Computing • Programming languages • Components of programming languages • Categories of Programming Languages • Programming techniques
  • 3. Lecture Outline • Understanding the concept of flowcharts. • Working with sequence, decision, repetition and case control flowchart structures. • Understanding algorithms.
  • 4. Flowchart • A flowchart is a diagram that represents the flow of a program. • Flowcharts are the combination of some symbols that describes the order and sequence of computer program that how it runs and executes. • Flowchart for pay calculation.
  • 5. Flowchart • A flowchart is composed of following symbols: Terminal1. Parallelogram2. Rectangle3. Used to indicate the starting and ending point of flowchart. Used to indicate input/output operations. Used to indicate process operation.
  • 6. Flowchart • A flowchart is composed of following symbols: 4. 5. Connector Used to connect different parts of flowcharts. Used to connect different other symbols in flowchart with each other.
  • 7. Flowchart • Based on order of execution, program flowcharts are divided into four types: • Sequence flowchart • Decision flowchart • Repetition flowchart • Case flowchart • Combination of all the above flowchart create nested flowcharts.
  • 8. Flowchart Sequence Flowchart • A flowchart in which a series of actions are performed in sequence. • In sequence flowchart all the activities and actions are performed one after another in an order.
  • 9. Flowchart Decision Flowchart • A flowchart in which statements are executed and skipped after a condition. • Actions are performed when condition becomes true and actions are skipped when condition is false.
  • 10. Flowchart Decision Flowchart • It uses diamond symbol. • It is also called IF…..THEN decision making. • It is one-way decision making.
  • 11. Flowchart Decision Flowchart • A flowchart in which statements are executed when a condition is true and when condition becomes false, other statements are executed. • It uses diamond symbol. • It is also called IF…..THEN….ELSE decision making. • It is two-way decision making.
  • 12. Flowchart Repetition Flowchart • A flowchart in which statements are executed for a number of times repeatedly. • The number of execution is controlled through a condition. • It can be pre-tested or post-tested.
  • 13. Flowchart Repetition Flowchart • Pre-tested repetitive flowchart • Statements are repeated or executed after checking a condition. • If the condition is omitted, it will becomes infinite loop.
  • 14. Flowchart Repetition Flowchart • Post-tested repetitive flowchart • Statements are repeated or executed before checking a condition once. • If the condition is omitted, it will becomes infinite loop.
  • 15. Flowchart Repetition Flowchart • Repetition flowchart becomes infinite it the condition is always true.
  • 16. Flowchart Case Flowchart • One of several possible actions is taken, depending on the contents of a variable.
  • 17. Algorithm • Step by step processes used for problem solving is called algorithm. • A procedure or rule for solving a problem in the term of which action is to execute on and in which order the action will be executed. • Pseudo Code is an artificial language that can be used for writing steps for problem solving. • 1 Prompt the user to enter the first integer • 2 Input the first integer • 3 Prompt the user to enter the second integer • 4 input the second integer • 5 Add first integer and second integer, store result • 6 Display result
  • 18. Summery • Understanding the concept of flowcharts. • Working with sequence, decision, repetition and case control flowchart structures. • Understanding algorithms.
  • 19. Thank You For your Patience