# computational thinking for the modern problem solver text

Prepare written answers to, and be prepared to discuss each of the following questions, each of which is taken from, is an extension of, or is inspired by the correspondingly numbered exercise question from the Computational Thinking for the Modern Problem Solver text.

Chapter 5:

Question 5. Draw a flowchart (using appropriate software to develop this diagram, or scan in a neatly hand drawn one) that depicts the computation of the weekly salary earned by an hourly employee. The algorithm to be depicted makes use of two variables; hoursWorked denotes the number of hours than an employee has worked during a one-week pay period, and hourlyRate denotes the number of dollars an employee earns for every hour of nonovertime work. The hourly rate for overtime work, anything exceeding 40 hours in a single week, is 50% above the normal hourly rate.

Question 11 (from Chapter 1 revisited). Draw a flowchart that depicts the computation to render run-length encoded pictures, such as the one presented in Question 11 from Chapter 1. Note that since no names are given to you here, it will be up to you to provide names for the data elements of this task. Thus the flowchart you develop must be augmented with some narrative explanation that clarifies both the task being depicted and the names used in the algorithm.

_________________________________________________________________________________________________________

Prepare written answers to, and be prepared to discuss each of the following questions, each of which is taken from, is an extension of, or is inspired by the correspondingly numbered exercise question from the Essentials of Software Engineering text.

Chapter 9 – Section 9.3:

First, explain in your own words the particular importance of Programming Style and Coding Guidelines when it comes to the production of quality professional software.

Second, draw upon your prior experience in writing and (hopefully) your prior experience in using writing “style guides” (such as those promulgated by the MLA, APA, IEEE and others), in an attempt to relate these issues in programming to corresponding issues in writing. You may find it useful to check out the Wikipedia article at https://en.wikipedia.org/wiki/Style_guide, for some background on writing styles.

Additionally, you may find also find it useful to read about a real-life coding standard available online at https://make.wordpress.org/core/handbook/best-practices/coding-standards

Thanks for installing the Bottom of every post plugin by Corey Salzano. Contact me if you need custom WordPress plugins or website design.