expand icon
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

Edition 7ISBN: 1285225562
book Programming Logic and Design, Introductory 7th Edition by Joyce Farrell cover

Programming Logic and Design, Introductory 7th Edition by Joyce Farrell

Edition 7ISBN: 1285225562
Exercise 21

Since the early days of computer programming, program errors have been called bugs. The term is often said to have originated from an actual moth that was discovered trapped in the circuitry of a computer at Harvard University in 1945. Actually, the term bug was in use prior to 1945 to mean trouble with any electrical apparatus; even during Thomas Edison’s life, it meant an industrial defect. However, the term debugging is more closely associated with correcting program syntax and logic errors than with any other type of trouble.

Your downloadable files for Chapter 1 include DEBUG01-01.txt, DEBUG01-02.txt, and DEBUG01-03.txt. Each file starts with some comments (lines that begin with two slashes) that describe the program. Examine the pseudocode that follows the introductory comments, then find and correct all the bugs.

Explanation
like image
like image
no-answer
This question doesn’t have an expert verified answer yet, let Quizplus AI Copilot help.
close menu
Programming Logic and Design, Introductory 7th Edition by Joyce Farrell
cross icon