Logical Problem Solving : Before the Flowchart, with C++ and Visual Basic Applications
For undergraduate courses in problem solving or programming logic found in departments of Computer Science, CIS, MIS, IT and Business. Also appropriate as a supplementary text for introductory C++ and Visual Basic courses.Logical Problem Solving: Before the Flowchart with C++ and Visual Basic Applications teaches students how to best attack a wide variety of problems that they have not previously been taught to solve. It focuses on techniques for developing the logic required to solve problems and how that logic is translated into writing effective computer programs. The author uses a consistent structure throughout the book of introducing a problem and formulating the solution based on a set of rules for creative problem solving. The solution is then represented first in pseudocode, then in a flowchart, then in C++ and finally in Visual Basic. This approach provides students with a strong foundation in problem solving that will benefit them in areas of study beyond programming.
- Paperback | 391 pages
- 180.8 x 234.2 x 15mm | 576.07g
- 25 Jul 2001
- Pearson Education (US)
- United States
Table of contents
1. Understanding the Problem. In the Beginning. Including Common Information. Including Uncommon Information. Working Backwards. Working Backwards-A Ball is Dropped.2. Repetition. The Power of the Personal Computer. The Falling Ball. The Penny Problem. Grade Point Average. Binary Conversion. Daily Compounded Interest. The Wall Problem. Superfly. MacLaurin Series Expansions.3. Zeroing in on Solutions. Strategic Guessing. Calculating Square Roots. Improved Strategic Guessing-Newton-Raphson Method. The Ladder Problem. The Unsolvable Equation.4. Brute Force. Non-Strategic Guessing. The Liars Problem. The Comedians' Hats. Prime Numbers. Searching Routines. Sorting Routines. Combining Searching and Sorting.5. Look-Up Tables. The Look-Up Table. The Understood Look-Up Table. The Unsolvable Problem.6. Simulations. Probabilities. Calculating the Odds. The "What if" Scenario. Geometric Probability. Integral Calculus.7. Removing the Limits. Limitations in Accuracy. Limitations in Scope. Limitations in Conditions. Elimination of the Random Number Bias. Limitations in Options. Limitations in Utility.8. Advanced Techniques. Error Trapping. Handling Input. The Advantages of Objects. Recursion.9. Epilog. Rule Zero.Appendices. A. The Rules. B. Derivation of the Ellipse Formula. C. Integration of the Ellipse Formula. D. Probability Calculations for Winning a Game of Craps. E. ASCII Table.Index.