Presentation is loading. Please wait.

Presentation is loading. Please wait.

Lect02 – Designing a Program

Similar presentations


Presentation on theme: "Lect02 – Designing a Program"— Presentation transcript:

1 Lect02 – Designing a Program
Ed Brunjes

2 The IPO chart Three components of a module (function)
Input- assuming the programming has already been entered, input is generally the data to be processed. Remember data are “raw facts”. Output – this is the result of the manipulation of the data. It is information created by the process (next). Process – is the sequence of instructions used to change input (data) into output (information)

3 IPO (parte dos) General sequence of events –
Input -> Process -> Output Output form one process can be input into a subsequent process The IPO chart looks something like -

4 IPO - Lastly Not all modules have all components of IPO Examples –
But that’s a good place to start Examples – Modules that do not receive data Modules that do not do processing (i.e. Print information only)

5 The Story Board Each part of the IPO often corresponds to a screen (this is a 50.05% rule) So consider the possibility of a screen for each component of the IPO For the purposes of this class each screen will be designed for a screen with 80 columns and 25 lines. A design template is linked to project descriptions and to the Class Resources page of the web site. A design sheet is presented in the next slide.

6 Database Scenario Purpose of a Database
Allow the entry (filtering) of data Allow manipulation and (selected??) access to data Allow display of data and derived information--- DATA (raw facts) The example to be developed will be a series of data packages (records) that relate an employee (or employees). Each employee record will include – Empl. Numb., Last Name, First Name, Address, Zip, Job Pos., Job Status, Hrs. Worked

7 Database Scenario (cont’d)
The IPO for the Employee Tracking System (ETS) might look like the following -

8 Database Scenario (cont’d)
Note the primary processing to be done is the pay for the period of work. But WAIT!!! What is the Pay Rate??? There in lies the issue. We will be talking about that in the next lecture. So on to the screen designs.

9 Database Scenario (cont’d)
Screen designs – the second project will require three screens – Splash screen – the opening screen of your project: includes project name, programmer’s name, date of last revision, and a prompt for the user to “press ENTER to continue” Input screen – Displays Project and screen titles, prompts user for input, accepts input, and prompts the user to continue. Output screen – Displays project and screen title, the data entered, total pay results, and a prompt to continue

10 Possible Splash Design (NOT a very good one!!)

11 Possible Input Screen Design

12 Possible Output Screen Design

13 Screen Criteria Titles Project and Screen Initial user instructions
Body of the Screen User prompt to continue Remember that not all screens will have all components

14 Have a Super Day!!


Download ppt "Lect02 – Designing a Program"

Similar presentations


Ads by Google