# LectureTwo - C+ Programming Language Lecture 2 Problem...

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

Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department

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

View Full Document
Program Development Cycle ± Program development cycle steps: ± Problem definition. ± Problem analysis (understanding). ± Algorithm development: ± Ways for algorithm representation: ± Human language ± Pseudocode. ± Flowcharts (also called UML activity diagram). ± Coding. ± Execution and testing. ± Maintenance. ± Recall that such cycle and all the techniques presented in this lecture are the same for any programming language you want to use not only for C++.
Problem Definition ± To understand the problem is half the solution. ± Describe it by precise, up to the point statements that will make both analyzing and solving the problem easier and clearer.

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

View Full Document
Problem Analysis ± Determine the inputs, outputs, and the required operations. ± Explore all possible solutions. ± Pick the easiest, in terms of implementation cost (space, time) one.
Algorithm Development ± Algorithm is a procedure that determines the: ± Actions to be executed. ± Order in which these actions are to be executed (which is called program control and in industry it is called work flow). ± So, it is a plan for solving the given problem.

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

View Full Document
This is the end of the preview. Sign up to access the rest of the document.

## This note was uploaded on 10/29/2010 for the course COMPUTER E 2010 taught by Professor Ghadaal-mashaqbeh during the Spring '10 term at Hashemite University.

### Page1 / 16

LectureTwo - C+ Programming Language Lecture 2 Problem...

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

View Full Document
Ask a homework question - tutors are online