CS135_S06_1_Introduction2

CS135_S06_1_Introduction2 - 1.a How to Develop a Program...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
1/25/2006 CS 135 - Computer Science I - 1. Introduction to Programming 22 1.a How to Develop a Program Procedural programming Pasta for six –bo i l 1 qua r t sa l t y water – stir in the pasta – cook on medium until “al dente” –s e r v e • get a saucepan • fill it with water • add salt • put it on the stove • turn on to high
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
1/25/2006 CS 135 - Computer Science I - 1. Introduction to Programming 23 1.a How to Develop a Program Procedural programming ¾ Top-down development 9 in the top-down development of a program design, a general solution to the problem is outlined first 9 this is then broken down gradually into more detailed steps until finally the most detailed levels have been completed 9 hierarchy of procedures, subtasks, and elementary steps ¾ Modular design 9 procedural programming also incorporates the concept of modular design, which involves grouping tasks together because they all perform the same function 9 modular design is connected directly to top-down development
Background image of page 2
1/25/2006 CS 135 - Computer Science I - 1. Introduction to Programming 24 Computer Science I CS 135 1. Introduction to Programming a. How to Develop a Program 9 A program is like a recipe 9 Steps in program development 9 Procedural programming b. Writing Pseudocode c. First Elements of C++ d. Looking Under the Hood
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 09/26/2010 for the course PHYS 021 taught by Professor Dick during the Spring '08 term at GWU.

Page1 / 13

CS135_S06_1_Introduction2 - 1.a How to Develop a Program...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online