MIS505 HW week 3.docx - Natosha Robinson Professor B Sran...

This preview shows page 1 - 4 out of 4 pages.

Natosha RobinsonProfessor B. SranMIS505: Essentials of Information Systems and ProgrammingHomework Week 3: Due November 18, 2018CChapter 3, p. 130, Logic Exercise #6 Required: Data Dictionary, Hierarchy Chart, Flowchart, and PseudocodeLogic Exercise #6:Looking up a word in a dictionary can be a complicated process. For example, assume you want to look up “logic.” You might open the dictionary to a random page and see “juice.” You know this word comes alphabetically before “logic,” so you flip forward and see “lamb.” That is still not far enough, so you flip forward and see “monkey.” You have gone too far, so you flip back, and so on. Draw a structured flowchart or write pseudocode that describes the process of looking up a word in a dictionary.Pick a word at random and have a fellow student attempt to carry out your instructions.Pseudocode:StartDeclarationsstring wordstring randomWordoutput “Look up random word in dictionary.”input wordWHILE randomWord NOT equal to word

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture