Download presentation

Presentation is loading. Please wait.

Published byRebecca Schwartz Modified over 4 years ago

1
Program Development Cycle Prof. Carlos Rodríguez Sánchez

2
Program Planning (oriented to objects) Analyze Design Choose the interfase Code Test & debug Complete the documentation

3
Examples: How fast is a car traveling if it goes 50 miles in 2 hours? Formula: rate = distance / time Rate = 50 miles / 2 hours Rate = 25 mph How much postage to put on the envelope when you mail a letter? Rule = 1 stamp for every 5 sheets of paper or fraction Algorithm: –R–Request the number of sheets –D–Divide by 5 –R–Round the quotient up the next highest whole number

4
Algorithm Request the number of sheets of paper; call it SHEETS (input) Divide SHEETS by 5 (processing) Round the quotient up to the next highest whole number; call it STAMPS (processing) Reply with the number STAMPS (output) We can test the algorithm for a letter with 16 sheets of paper.

5
Performing a Task on the Computer INPUT PROCESSING OUTPUT

6
Programming Flowcharts Representación gráfica de un algorítmo Utiliza símbolos estandarizados

7
Flowchart START SHEETS STAMPS = SHEETS / 5 ROUND (STAMPS) STAMPS STOP

8
Símbolos Principales

Similar presentations

OK

Visual Basic Programming Introduction to Computers Programming.

Visual Basic Programming Introduction to Computers Programming.

© 2018 SlidePlayer.com Inc.

All rights reserved.

To make this website work, we log user data and share it with processors. To use this website, you must agree to our Privacy Policy, including cookie policy.

Ads by Google