SlideShare a Scribd company logo
Introduction to programming (week 1)
   The    process     of    developing   and
    implementing various sets of instructions
    to enable a computer to do a certain task.
    These instructions are considered computer
    programs and help the computer to
    operate smoothly.
 It   is also the process of
  writing, testing and maintaining the
  source code of computer programs
 Knowledge and mastery of
  the programming language.
 Logic formulation
 Is
   an artificial language that can be
 used to control the behavior of a
 machine, particularly a computer.
 Problem definition
 Problem Analysis
 Algorithm design
 Coding
 Testing and debugging
Introduction to programming (week 1)
 Use of symbols and phrases to
  designate the logic of how a problem is
  solved.
 A combination representing the logical
  sequence in which a combination of
  steps or operations to be performed.
 It is a blueprint of the program.
Terminal
          (Start/Begin)



Used to signify the beginning
   and end of flowchart
Preparation or
            Initialization
           (Sum=0, A=1)



Used to select initial conditions
Input / Output
     (Read A or Print A)


Shows input and output
Processing
           (Sum=A+B)


Performs any calculations that are
           to be done
Decision
               (If A>B)


Signifies any decisions that are to be done.
Flowlines – signifies the process that is to be
aexecuted next.
Introduction to programming (week 1)
   Is a finite set of instructions that specify
    a sequence of operations to be carried
    out in order to solve a specific problem.
Draw a flowchart that will compute and display
the sum and product of two numbers. Write its
equivalent algorithm.
Draw a flowchart that will compute and display
the area of a rectangle using the formula:
Area =Length X width
          Start




           L=0
           W=0
          Area=0


                     Area=L *W   Display Area   End
         Read L, W
Draw a flowchart that will compute and display
the area of a rectangle using the formula:
Area =Length X width, if the Area is greater
than 5, display the word Hello and if not display
Hi
      Start


     L=0
     W=0
    Area=0                    Area >5     Display Area   End


   Read L, W   Area=L *W


                           Display Area

More Related Content

PPTX
Lab 1:c++
سلمى شطا
 
DOCX
CLASS VIII COMPUTERS FLOW CHART AND ALGORITHM
Rc Os
 
PPT
2.3 Apply the different types of algorithm to solve problem
Frankie Jones
 
PPTX
Flowcharting and Algorithm
Zeinna Belle Desamito
 
PPTX
Flowchart and algorithm
DHANIK VIKRANT
 
PDF
Ge6161 lab manual
Mani Kandan
 
PPTX
Algorithm Development
ALI RAZA
 
PPTX
Algorithms and Flowcharts
Deva Singh
 
Lab 1:c++
سلمى شطا
 
CLASS VIII COMPUTERS FLOW CHART AND ALGORITHM
Rc Os
 
2.3 Apply the different types of algorithm to solve problem
Frankie Jones
 
Flowcharting and Algorithm
Zeinna Belle Desamito
 
Flowchart and algorithm
DHANIK VIKRANT
 
Ge6161 lab manual
Mani Kandan
 
Algorithm Development
ALI RAZA
 
Algorithms and Flowcharts
Deva Singh
 

What's hot (20)

PPTX
Algorithms and flowcharts
Samuel Igbanogu
 
PPT
algo
Rao Khan
 
PPTX
Flowchart and algorithem
ehsanullah786
 
PDF
Algorithms and flowcharts
khair20
 
PPTX
flowchart & algorithms
Student
 
PDF
Algorithms and how to write an algorithms
Ahmed Nobi
 
PPTX
Introduction to basic programming repetition
Jordan Delacruz
 
PPT
Unit 3 Foc
JAYA
 
PPT
Computer programming:Know How to Flowchart
Angelo Tomboc
 
PPT
Best Techniques To Design Programs - Program Designing Techniques
Tech
 
PPT
Ch03
leminhvuong
 
PPTX
Chapter 6 algorithms and flow charts
Praveen M Jigajinni
 
DOC
Md university cmis 102 week 3 hands
eyavagal
 
PPT
3 algorithm-and-flowchart
Rohit Shrivastava
 
PPT
Program design techniques
fika sweety
 
PPTX
Algorithm itabq
mckennadglyn
 
PPT
8.1 alogorithm & prolem solving
Khan Yousafzai
 
PPT
Copy of dti2143/dam31303 chap 1 problem solving and program design
alish sha
 
PPTX
Algorithms, flow charts and pseudocodes
Satveer Mann
 
PPSX
Algorithm and flowchart
Sachin Goyani
 
Algorithms and flowcharts
Samuel Igbanogu
 
algo
Rao Khan
 
Flowchart and algorithem
ehsanullah786
 
Algorithms and flowcharts
khair20
 
flowchart & algorithms
Student
 
Algorithms and how to write an algorithms
Ahmed Nobi
 
Introduction to basic programming repetition
Jordan Delacruz
 
Unit 3 Foc
JAYA
 
Computer programming:Know How to Flowchart
Angelo Tomboc
 
Best Techniques To Design Programs - Program Designing Techniques
Tech
 
Chapter 6 algorithms and flow charts
Praveen M Jigajinni
 
Md university cmis 102 week 3 hands
eyavagal
 
3 algorithm-and-flowchart
Rohit Shrivastava
 
Program design techniques
fika sweety
 
Algorithm itabq
mckennadglyn
 
8.1 alogorithm & prolem solving
Khan Yousafzai
 
Copy of dti2143/dam31303 chap 1 problem solving and program design
alish sha
 
Algorithms, flow charts and pseudocodes
Satveer Mann
 
Algorithm and flowchart
Sachin Goyani
 
Ad

Viewers also liked (15)

PPT
дорогие друзья! сегодня мы с вами станем
goodad
 
PPTX
test
aingemarsson
 
PPTX
If then statement
Don Bosco School Manila
 
PPT
Leverage the Power of Social Media for Your Business: Presented by Cisco
SquareOne|Consulting
 
PPTX
Introduction to Visual Basic (Week 2)
Don Bosco School Manila
 
PPT
situational Leadership (R) History
robw75
 
PPT
Itog
goodad
 
PPT
Leveraging the Power of Social Media - For Cisco Partners
SquareOne|Consulting
 
PPTX
Introduction to programming (week 1)
Don Bosco School Manila
 
DOCX
Practice Quiz Week 4
tjvmetric
 
PPT
Social Media | Demystified
SquareOne|Consulting
 
PPT
Lecture 2
Mohammed Saleh
 
PDF
Theming Sites with SASS
Shawn Rider
 
PPTX
Barbarians at the Gate: Games and Culture
Shawn Rider
 
PDF
Work is not a Dare: Tips for Building Inclusive Teams
Shawn Rider
 
дорогие друзья! сегодня мы с вами станем
goodad
 
If then statement
Don Bosco School Manila
 
Leverage the Power of Social Media for Your Business: Presented by Cisco
SquareOne|Consulting
 
Introduction to Visual Basic (Week 2)
Don Bosco School Manila
 
situational Leadership (R) History
robw75
 
Itog
goodad
 
Leveraging the Power of Social Media - For Cisco Partners
SquareOne|Consulting
 
Introduction to programming (week 1)
Don Bosco School Manila
 
Practice Quiz Week 4
tjvmetric
 
Social Media | Demystified
SquareOne|Consulting
 
Lecture 2
Mohammed Saleh
 
Theming Sites with SASS
Shawn Rider
 
Barbarians at the Gate: Games and Culture
Shawn Rider
 
Work is not a Dare: Tips for Building Inclusive Teams
Shawn Rider
 
Ad

Similar to Introduction to programming (week 1) (20)

PDF
ALGORITHM PPT GUIDE.pdf
meychu1
 
PDF
Introduction to programming : flowchart, algorithm
Kritika Chauhan
 
PPT
Lect1 - Algorithms-and-Flowchart-ppt.ppt
KARMANAYGUPTA1
 
PPT
Lect1-Algorithms-and-Flowchart-ppt (1).ppt
olisahchristopher
 
PPT
Lecture1-Algorithms-and-Flowchart-ppt.ppt
abhaidarm
 
PPT
Lect1-Algorithms-and-Flowchart PPT presentation
gstagra
 
PPT
Lecture1-Algorithms-and-Flowchart-ppt.ppt
samreen82
 
PPT
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
ReshuReshma8
 
PPT
Lect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
gstagra
 
PDF
ICP - Lecture 6
Hassaan Rahman
 
PPT
Basic Slides on Algorithms and Flowcharts
moazwinner
 
PDF
algorithms and flow chart overview.pdf
AmanPratik11
 
PPT
Algorithms and Flowchart usages in C laguage
BalaKrishnan466
 
PDF
Problem solving methodology
Prof. Dr. K. Adisesha
 
PDF
AlgorithmAndFlowChart.pdf
SusieMaestre1
 
PPT
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
cosc242101003
 
PDF
Logic Development and Algorithm.
NandiniSidana
 
PPTX
UNIT 1.pptx Programming for Problem Solving
ramesh130484
 
PPT
Flowcharts and Introduction to computers
ssuser2023c6
 
PPT
Flowchart presentation that can be useful
ssuser2023c6
 
ALGORITHM PPT GUIDE.pdf
meychu1
 
Introduction to programming : flowchart, algorithm
Kritika Chauhan
 
Lect1 - Algorithms-and-Flowchart-ppt.ppt
KARMANAYGUPTA1
 
Lect1-Algorithms-and-Flowchart-ppt (1).ppt
olisahchristopher
 
Lecture1-Algorithms-and-Flowchart-ppt.ppt
abhaidarm
 
Lect1-Algorithms-and-Flowchart PPT presentation
gstagra
 
Lecture1-Algorithms-and-Flowchart-ppt.ppt
samreen82
 
Lecture1-Algorithms-and-Flowcharts-ppt.ppt
ReshuReshma8
 
Lect1-Detailed description aboutAlgorithms-and-Flowchart.ppt
gstagra
 
ICP - Lecture 6
Hassaan Rahman
 
Basic Slides on Algorithms and Flowcharts
moazwinner
 
algorithms and flow chart overview.pdf
AmanPratik11
 
Algorithms and Flowchart usages in C laguage
BalaKrishnan466
 
Problem solving methodology
Prof. Dr. K. Adisesha
 
AlgorithmAndFlowChart.pdf
SusieMaestre1
 
Lecture_01-Problem_Solving[1]||ProgrammingFundamental.ppt
cosc242101003
 
Logic Development and Algorithm.
NandiniSidana
 
UNIT 1.pptx Programming for Problem Solving
ramesh130484
 
Flowcharts and Introduction to computers
ssuser2023c6
 
Flowchart presentation that can be useful
ssuser2023c6
 

Introduction to programming (week 1)

  • 2. The process of developing and implementing various sets of instructions to enable a computer to do a certain task. These instructions are considered computer programs and help the computer to operate smoothly.
  • 3.  It is also the process of writing, testing and maintaining the source code of computer programs
  • 4.  Knowledge and mastery of the programming language.  Logic formulation
  • 5.  Is an artificial language that can be used to control the behavior of a machine, particularly a computer.
  • 6.  Problem definition  Problem Analysis  Algorithm design  Coding  Testing and debugging
  • 8.  Use of symbols and phrases to designate the logic of how a problem is solved.  A combination representing the logical sequence in which a combination of steps or operations to be performed.  It is a blueprint of the program.
  • 9. Terminal (Start/Begin) Used to signify the beginning and end of flowchart
  • 10. Preparation or Initialization (Sum=0, A=1) Used to select initial conditions
  • 11. Input / Output (Read A or Print A) Shows input and output
  • 12. Processing (Sum=A+B) Performs any calculations that are to be done
  • 13. Decision (If A>B) Signifies any decisions that are to be done.
  • 14. Flowlines – signifies the process that is to be aexecuted next.
  • 16. Is a finite set of instructions that specify a sequence of operations to be carried out in order to solve a specific problem.
  • 17. Draw a flowchart that will compute and display the sum and product of two numbers. Write its equivalent algorithm.
  • 18. Draw a flowchart that will compute and display the area of a rectangle using the formula: Area =Length X width Start L=0 W=0 Area=0 Area=L *W Display Area End Read L, W
  • 19. Draw a flowchart that will compute and display the area of a rectangle using the formula: Area =Length X width, if the Area is greater than 5, display the word Hello and if not display Hi Start L=0 W=0 Area=0 Area >5 Display Area End Read L, W Area=L *W Display Area