probsolv - CIS 338: Problem Solving Dr. Ralph D. Westfall...

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

View Full Document Right Arrow Icon
CIS 338: Problem Solving Dr. Ralph D. Westfall February, 2009
Background image of page 1

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

View Full DocumentRight Arrow Icon
Programming Problems need to translate a problem into language a computer can understand translate from specifications written, verbal translate into a mental model what are we really trying to do here? translate into objects and code
Background image of page 2
Decompose the Problem identify application tiers and functions User Interface (UI) tier inputs by/outputs to user, printer, etc. Data tier (if necessary) files/layouts, database tables/fields network connections (if necessary)
Background image of page 3

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

View Full DocumentRight Arrow Icon
Decompose the Problem - 2 Business rules tier control structures – loops, decisions, etc. data structures: arrays, collections, etc. variables – inputs, outputs, temporary (with meaningful variable names) operations/processing: math (+,-, etc.), logical (compare), assignment (=), etc.
Background image of page 4
Translating write pseudocode list of steps (recipe in human language) to solve problem write code translate pseudocode into computer code
Background image of page 5

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

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

Page1 / 12

probsolv - CIS 338: Problem Solving Dr. Ralph D. Westfall...

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

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