Your SlideShare is downloading. ×
Introduction to programming (week 1)
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Introduction to programming (week 1)

450

Published on

1 Comment
0 Likes
Statistics
Notes
  • Be the first to like this

No Downloads
Views
Total Views
450
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
27
Comments
1
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 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.
  • 2.  It is also the process of writing, testing and maintaining the source code of computer programs
  • 3.  Knowledge and mastery of the programming language. Logic formulation
  • 4.  Is an artificial language that can be used to control the behavior of a machine, particularly a computer.
  • 5.  Problem definition Problem Analysis Algorithm design Coding Testing and debugging
  • 6.  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.
  • 7. Terminal (Start/Begin)Used to signify the beginning and end of flowchart
  • 8. Preparation or Initialization (Sum=0, A=1)Used to select initial conditions
  • 9. Input / Output (Read A or Print A)Shows input and output
  • 10. Processing (Sum=A+B)Performs any calculations that are to be done
  • 11. Decision (If A>B)Signifies any decisions that are to be done.
  • 12. Flowlines – signifies the process that is to beaexecuted next.
  • 13.  Is a finite set of instructions that specify a sequence of operations to be carried out in order to solve a specific problem.
  • 14. Draw a flowchart that will compute and displaythe sum and product of two numbers. Write itsequivalent algorithm.
  • 15. Draw a flowchart that will compute and displaythe 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
  • 16. Draw a flowchart that will compute and displaythe area of a rectangle using the formula:Area =Length X width, if the Area is greaterthan 5, display the word Hello and if not displayHi Start L=0 W=0 Area=0 Area >5 Display Area End Read L, W Area=L *W Display Area

×