SlideShare une entreprise Scribd logo
1  sur  30
[object Object],[object Object],Introduction
Course Work Breakdown ,[object Object],[object Object],[object Object],[object Object],[object Object]
Learning Goals ,[object Object],[object Object],[object Object],[object Object]
Outcome 3   Introduction & Objective ,[object Object],[object Object],[object Object],[object Object],[object Object]
Outcome 3 ,[object Object],[object Object],[object Object]
Manual process for enrollment ,[object Object],[object Object],[object Object],[object Object]
Online process for enrollment ,[object Object],[object Object],[object Object],[object Object]
Cont… ,[object Object]
Cont.. ,[object Object],[object Object]
Pseudocode ,[object Object],[object Object]
Why needs pseudocode? ,[object Object],[object Object],[object Object],[object Object],[object Object]
How to write pseudocode ,[object Object],[object Object],[object Object],[object Object]
Pseudocode Meaning Read  name Read a value from input device and store it under the specified name Write  name Write the value stored under the name to the output device Write  string Write whatever appears in the string name = expression Evaluate the expression and store it under specified name IF  condition  THEN  statements In the condition is true then execute the statements otherwise ignore them FOR  counter = 1 TO n  DO  statements Execute the statements ‘n’ times REPEAT  Statements  UNTIL  condition Repeat the statements over and over until the condition is true
Case study ,[object Object]
[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Flow Chart ,[object Object],[object Object],[object Object]
Cont.. ,[object Object]
Descriptions  Symbols Start / End  Input / output Processing / computational Decision making /selection Flow line
Cont… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Cont Salary = 5.5 X how many days Display first name I/C numbers & salary Start Enter first name Read first name Enter I/C number Read how many days Enter how many days Read I/C number End
Control Structure ,[object Object],[object Object],[object Object],[object Object],[object Object]
The sequence Control Structure ,[object Object]
Selection control structure ,[object Object],[object Object]
Example… ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Nested selection structure ,[object Object],[object Object]
Cont.. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Repetition Control structure ,[object Object]
Cont.. ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Summary ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Questions ,[object Object],[object Object],[object Object],[object Object]

Contenu connexe

Tendances

Basic Flowcharting
Basic FlowchartingBasic Flowcharting
Basic Flowchartingsebrown
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and FlowchartsSabik T S
 
pseudocode and Flowchart
pseudocode and Flowchartpseudocode and Flowchart
pseudocode and FlowchartALI RAZA
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problemFrankie Jones
 
Unit 3 Foc
Unit  3 FocUnit  3 Foc
Unit 3 FocJAYA
 
Software develop....
Software develop.... Software develop....
Software develop.... GCWUS
 
Introduction to flowchart
Introduction to flowchartIntroduction to flowchart
Introduction to flowchartJordan Delacruz
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchartRabin BK
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programraksharao
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchartSachin Goyani
 
Algorithm and flowchart
Algorithm and flowchart Algorithm and flowchart
Algorithm and flowchart Shivam Sharma
 
Adding gift questions in swayam 2.0
Adding gift questions  in swayam 2.0Adding gift questions  in swayam 2.0
Adding gift questions in swayam 2.0aschrdc
 
Validation and input formatting
Validation and input formattingValidation and input formatting
Validation and input formattingNeha Kaurav
 

Tendances (20)

Algorithms
AlgorithmsAlgorithms
Algorithms
 
Algorithms
AlgorithmsAlgorithms
Algorithms
 
Basic Flowcharting
Basic FlowchartingBasic Flowcharting
Basic Flowcharting
 
Algorithm and Flowcharts
Algorithm and FlowchartsAlgorithm and Flowcharts
Algorithm and Flowcharts
 
Grade 10 flowcharting
Grade 10  flowchartingGrade 10  flowcharting
Grade 10 flowcharting
 
pseudocode and Flowchart
pseudocode and Flowchartpseudocode and Flowchart
pseudocode and Flowchart
 
Pseudocode
PseudocodePseudocode
Pseudocode
 
2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem2.3 Apply the different types of algorithm to solve problem
2.3 Apply the different types of algorithm to solve problem
 
Unit 3 Foc
Unit  3 FocUnit  3 Foc
Unit 3 Foc
 
Software develop....
Software develop.... Software develop....
Software develop....
 
Introduction to flowchart
Introduction to flowchartIntroduction to flowchart
Introduction to flowchart
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
FIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer programFIT-Unit3 chapter 1 -computer program
FIT-Unit3 chapter 1 -computer program
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
Algorithm and flowchart
Algorithm and flowchart Algorithm and flowchart
Algorithm and flowchart
 
Adding gift questions in swayam 2.0
Adding gift questions  in swayam 2.0Adding gift questions  in swayam 2.0
Adding gift questions in swayam 2.0
 
Algorithm and flowchart
Algorithm and flowchartAlgorithm and flowchart
Algorithm and flowchart
 
management
managementmanagement
management
 
Validation and input formatting
Validation and input formattingValidation and input formatting
Validation and input formatting
 
Algorithm
AlgorithmAlgorithm
Algorithm
 

Similaire à Chap3

Copy of dti2143/dam31303 chap 1 problem solving and program design
Copy of dti2143/dam31303 chap 1 problem solving and program designCopy of dti2143/dam31303 chap 1 problem solving and program design
Copy of dti2143/dam31303 chap 1 problem solving and program designalish sha
 
Ch1 principles of software development
Ch1 principles of software developmentCh1 principles of software development
Ch1 principles of software developmentHattori Sidek
 
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docxCSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docxfaithxdunce63732
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithmrajkumar1631010038
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithmsStudent
 
Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving TechniquesAshesh R
 
Jeremiah Yancy - Objectives for Software design and testing
Jeremiah Yancy - Objectives for Software design and testingJeremiah Yancy - Objectives for Software design and testing
Jeremiah Yancy - Objectives for Software design and testingJeremiah Yancy
 
What is algorithm
What is algorithmWhat is algorithm
What is algorithmmshoaib15
 

Similaire à Chap3 (20)

Copy of dti2143/dam31303 chap 1 problem solving and program design
Copy of dti2143/dam31303 chap 1 problem solving and program designCopy of dti2143/dam31303 chap 1 problem solving and program design
Copy of dti2143/dam31303 chap 1 problem solving and program design
 
Chapter 2- Prog101.ppt
Chapter 2- Prog101.pptChapter 2- Prog101.ppt
Chapter 2- Prog101.ppt
 
Class 7 lecture notes
Class 7 lecture notesClass 7 lecture notes
Class 7 lecture notes
 
Ch1 principles of software development
Ch1 principles of software developmentCh1 principles of software development
Ch1 principles of software development
 
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
CSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docxCSCI1250    Project 3  Fall 2015  CSCI1250 INTRODUCTIO.docx
CSCI1250 Project 3 Fall 2015 CSCI1250 INTRODUCTIO.docx
 
Unit 1-problem solving with algorithm
Unit 1-problem solving with algorithmUnit 1-problem solving with algorithm
Unit 1-problem solving with algorithm
 
flowchart & algorithms
flowchart & algorithmsflowchart & algorithms
flowchart & algorithms
 
UNIT 1.pptx
UNIT 1.pptxUNIT 1.pptx
UNIT 1.pptx
 
Problem Solving Techniques
Problem Solving TechniquesProblem Solving Techniques
Problem Solving Techniques
 
Programming Fundamentals
Programming FundamentalsProgramming Fundamentals
Programming Fundamentals
 
Fundamentals of Programming Chapter 3
Fundamentals of Programming Chapter 3Fundamentals of Programming Chapter 3
Fundamentals of Programming Chapter 3
 
Flowcharting and Algorithm
Flowcharting and Algorithm Flowcharting and Algorithm
Flowcharting and Algorithm
 
Jeremiah Yancy - Objectives for Software design and testing
Jeremiah Yancy - Objectives for Software design and testingJeremiah Yancy - Objectives for Software design and testing
Jeremiah Yancy - Objectives for Software design and testing
 
What is algorithm
What is algorithmWhat is algorithm
What is algorithm
 
Cp module 2
Cp module 2Cp module 2
Cp module 2
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
 
Ppt lesson 06
Ppt lesson 06Ppt lesson 06
Ppt lesson 06
 
Unit-I Algorithm.pptx
Unit-I Algorithm.pptxUnit-I Algorithm.pptx
Unit-I Algorithm.pptx
 
3 algorithm-and-flowchart
3 algorithm-and-flowchart3 algorithm-and-flowchart
3 algorithm-and-flowchart
 

Plus de cheekeong1231

Plus de cheekeong1231 (8)

Sns mid term-test2-solution
Sns mid term-test2-solutionSns mid term-test2-solution
Sns mid term-test2-solution
 
Sns slide 1 2011
Sns slide 1 2011Sns slide 1 2011
Sns slide 1 2011
 
Bjt tut 9 1(2003)
Bjt  tut 9 1(2003)Bjt  tut 9 1(2003)
Bjt tut 9 1(2003)
 
Revision
RevisionRevision
Revision
 
Et1 midterm solutions (2010 11)
Et1 midterm solutions (2010 11)Et1 midterm solutions (2010 11)
Et1 midterm solutions (2010 11)
 
Revision
RevisionRevision
Revision
 
Standard formula
Standard formulaStandard formula
Standard formula
 
Et1 practical final examination
Et1 practical final examinationEt1 practical final examination
Et1 practical final examination
 

Chap3

  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12.
  • 13. Pseudocode Meaning Read name Read a value from input device and store it under the specified name Write name Write the value stored under the name to the output device Write string Write whatever appears in the string name = expression Evaluate the expression and store it under specified name IF condition THEN statements In the condition is true then execute the statements otherwise ignore them FOR counter = 1 TO n DO statements Execute the statements ‘n’ times REPEAT Statements UNTIL condition Repeat the statements over and over until the condition is true
  • 14.
  • 15.
  • 16.
  • 17.
  • 18. Descriptions Symbols Start / End Input / output Processing / computational Decision making /selection Flow line
  • 19.
  • 20. Cont Salary = 5.5 X how many days Display first name I/C numbers & salary Start Enter first name Read first name Enter I/C number Read how many days Enter how many days Read I/C number End
  • 21.
  • 22.
  • 23.
  • 24.
  • 25.
  • 26.
  • 27.
  • 28.
  • 29.
  • 30.