Computer Science: A Structured Programming Approach Using C A Programming Example— Morse Code Morse code, patented by Samuel F. B. Morse in 1837, is the language that was used to send messages by telegraph from the middle of the nineteenth century until the advent of the modern telephone and today’s computer controlled communications systems. In this section, we use a C program to convert English to Morse and Morse to English.
Computer Science: A Structured Programming Approach Using C2 Table 11-3Morse Code
Computer Science: A Structured Programming Approach Using C3 FIGURE Character to Morse Code Structure
Computer Science: A Structured Programming Approach Using C4 FIGURE Morse Code Menu
Computer Science: A Structured Programming Approach Using C5 FIGURE Morse Code Program Design
Computer Science: A Structured Programming Approach Using C6 PROGRAM 11-18Morse Code: main
Computer Science: A Structured Programming Approach Using C7 PROGRAM 11-18Morse Code: main
Computer Science: A Structured Programming Approach Using C8 PROGRAM 11-18Morse Code: main
Computer Science: A Structured Programming Approach Using C9 PROGRAM 11-18Morse Code: main
Computer Science: A Structured Programming Approach Using C10 PROGRAM 11-18Morse Code: main
Computer Science: A Structured Programming Approach Using C11 PROGRAM 11-18Morse Code: main
Computer Science: A Structured Programming Approach Using C12 PROGRAM 11-19Morse Code: Menu
Computer Science: A Structured Programming Approach Using C13 PROGRAM 11-19Morse Code: Menu
Computer Science: A Structured Programming Approach Using C14 PROGRAM 11-20Morse Code: Get Input
Computer Science: A Structured Programming Approach Using C15 PROGRAM 11-20Morse Code: Get Input
Computer Science: A Structured Programming Approach Using C16 PROGRAM 11-21Morse Code: Print Output
Computer Science: A Structured Programming Approach Using C17 PROGRAM 11-22Morse Code: Encode to Morse
Computer Science: A Structured Programming Approach Using C18 PROGRAM 11-22Morse Code: Encode to Morse
Computer Science: A Structured Programming Approach Using C19 PROGRAM 11-23Morse code: Decode to English
Computer Science: A Structured Programming Approach Using C20 PROGRAM 11-23Morse code: Decode to English
Computer Science: A Structured Programming Approach Using C21 PROGRAM 11-24Morse Code: Convert Codes
Computer Science: A Structured Programming Approach Using C22 PROGRAM 11-24Morse Code: Convert Codes
Computer Science: A Structured Programming Approach Using C Software Engineering In this section, we’ve formalized some of the principles of good programming that we’ve discussed throughout the text. Although you will find little in this discussion of software engineering that relates directly to the subject of strings, all of the string functions have been written using the principles discussed on the following pages. Program Design Concepts Information Hiding Cohesion Topics discussed in this section:
Computer Science: A Structured Programming Approach Using C24 FIGURE Types of Cohesion
Computer Science: A Structured Programming Approach Using C25 FIGURE Example of Functional Cohesion
Computer Science: A Structured Programming Approach Using C26 ALGORITHM 11-1Process Inventory Pseudocode
Computer Science: A Structured Programming Approach Using C27 Well-structured programs are highly cohesive and loosely coupled. Note
Computer Science: A Structured Programming Approach Using C28 ALGORITHM 11-2Process List Pseudocode