Class Notes on Looping

Class Notes on Looping - Class Notes February 15, 2007...

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

View Full Document Right Arrow Icon
Class Notes February 15, 2007 Algorithm Looping o While Counter controlled (need three things) Sentinel controlled Flag controlled EOF (end of file) You need different steps to understand the complex problem Object Oriented Programming From example: Read from a file ~and, the, an, for isStopWord(string aWord) Three actions that have to do with a file:  1. open the file (easy to put into java code) 2. read the file and see if the word is in it (must be broken down before it can  be transferred into java code) a. need a loop b. pseudo code option c. activity diagram 3. close the file (easy to put into java code)
Background image of page 1

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

View Full DocumentRight Arrow Icon
Background image of page 2
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 2

Class Notes on Looping - Class Notes February 15, 2007...

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

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