Understand the problem plan the logic code the

This preview shows page 9 - 20 out of 39 pages.

Understand the problemPlan the logicCode the programUse software (a compiler or interpreter) to translate the program into machine languageTest the programPut the program into productionMaintain the programProgramming Logic & Design, Sixth Edition9
Understanding the ProgramDevelopment Cycle (continued)Programming Logic & Design, Sixth Edition10Figure 1-1 The program development cycle
Understanding the ProblemOne of the most difficult aspects of programmingUsersor end usersPeople for whom program is writtenDocumentationSupporting paperwork for a programProgramming Logic & Design, Sixth Edition11
Planning the LogicHeart of the programming processMost common planning tools Flowcharts PseudocodeDesk-checkingWalking through a program’s logic on paper before you actually write the programProgramming Logic & Design, Sixth Edition12
Coding the ProgramHundreds of programming languages are availableChoose based on featuresAlike in their basic capabilitiesEasier than planning stepProgramming Logic & Design, Sixth Edition13
Using Software to Translate the Program into Machine LanguageTranslator programCompiler or interpreterChanges the programmer’s English-like high-level programming languageinto the low-level machine languageSyntax errorMisuse of a language’s grammar rulesProgrammer corrects listed syntax errorsMight need to recompile the code several timesProgramming Logic & Design, Sixth Edition14
Using Software to Translate the Program into Machine Language (continued)Figure 1-2Creating an executable programProgramming Logic & Design, Sixth Edition15
Testing the ProgramLogical error Use a syntactically correct statement but use the wrong one for the current contextTestExecute the program with some sample data to see whether the results are logically correctPrograms should be tested with many sets of dataProgramming Logic & Design, Sixth Edition16
Putting the Program into ProductionProcess depends on program’s purposeMay take several monthsConversionEntire set of actions an organization must take to switch over to using a new program or set of programsProgramming Logic & Design, Sixth Edition17
Maintaining the ProgramMaintenanceMaking changes after program is put into productionCommon first programming job Maintaining previously written programsMake changes to existing programsRepeat the development cycleProgramming Logic & Design, Sixth Edition18
Using Pseudocode Statementsand Flowchart SymbolsPseudocode English-like representation of the logical steps it takes to solve a problem

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture