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

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

View Full Document Right Arrow Icon
Lecture 2 Problem Analysis and Solution Representation By Ghada Al-Mashaqbeh The Hashemite University Computer Engineering Department
Background image of page 1

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

View Full DocumentRight Arrow Icon
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++.
Background image of page 2
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.
Background image of page 3

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

View Full DocumentRight Arrow Icon
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.
Background image of page 4
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.
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.

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 Right Arrow Icon
Ask a homework question - tutors are online