Last problem was 0480 (HELP)

Q71. Consider this little bit of logic that describes a tourist's thinking process (taken from the title of a 1970s movie): “if it’s Tuesday, this must be Belgium. Otherwise, I have no idea where we are.” Sketch a flowchart that represents this flow of thought.

Q72. Sketch a flowchart that represents this bit of logic: “if you are a woman then if you are over 40 you should have this test no matter what but if either parent had diabetes women should have the test no matter what. Men only need to take the test if they are overweight.”

Q73. Sketch a flowchart that represents this bit of logic: “if cell E\$3 is greater than cell G\$12 then value is G\$12; otherwise, value is G\$12-E\$3.”

Q74. Sketch a flowchart that represents this bit of logic: “if the balance is less than the minimum alternative payment then just pay the balance, otherwise, pay the minimum alternative payment.”

Q75. Sketch a flowchart that represents this bit of logic: “If you can get a direct flight for under \$1500 take it unless it leaves from SFO before 9 am. Otherwise, see if anything is available on frequent flier miles no matter what the routing. If you can’t find anything, use Expedia to find the cheapest flight out of OAK.”

Q76. Sketch a flowchart that represents this bit of logic: If I have anything that is due tomorrow then if I am acing the class already and if I have some money I’ll go out drinking by myself (since all my friends will be busy), but if I don’t have any money I’ll stay home and watch reruns on cable. If, on the other hand, I’m not acing this class, I’ll stay home and study. If I don’t have anything due tomorrow, then if I have some money I’ll see if some friends are around and if so I’ll party with them. Otherwise, I’ll drink alone. If I don’ t have any money I’ll just stay home and watch reruns on cable.

Q77. Draw a flow charts that represents "Do A until B" and "While B do A. Then do C".

Q78. Sketch a flow chart that represents the following writing protocol: (1) Edit your essay until it is perfect. (2) While the essay still needs work, edit your essay.

Q79. Use stepwise refinement to create a flow chart for this set of instructions: Do A and then B. If C, then while E do F and after that do G, otherwise do H. Do I.

Q80. If A: until B do C and then, do D if E, otherwise do F while G. Otherwise if H, then if I do J else do K. Do L.

Q81. Is a picture worth 548 words? Convert the Rock County, Wisconsin "Drug Court Flow Chart" from text form to diagram form.

1. District Attorney and Defense Attorney present to Judge in assigned Criminal Court a completed Rock County Drug Court Contract and a copy of the defendant’s criminal history (either NCIC Report or CCAP Record of Convictions).
2. Criminal Court Judge determines the defendant may be eligible for Drug Court so the matter is continued for two (2) weeks before the same court. Judge orders defendant to attend an initial screening at the offices of the Rock County Community RECAP Program, 303 W. Court Street, Janesville, WI on the following Tuesday.
3. Court Attendant for the Criminal Court will then immediately photocopy the completed Drug Court Contract, the defendant’s criminal record (either NCIC or CCAP), and the criminal complaint in the present matter and place them in an envelope and put it in the mailbox of the Community RECAP Program that is located in the Courthouse mailroom.
4. The Court Attendant will daily FAX a list of the defendants referred the Community RECAP Program, providing the defendant’s name, date of birth, and case number. This will be FAXed daily to (608)743-1759 to provide that office with a list of the defendants they should expect the following Tuesday for the initial screening.
5. Upon completion of the initial screening the Community RECAP office will FAX to the Criminal Court a document indicating the completion of the initial screening and whether the defendant is qualified for the Drug Court. If the defendant is eligible, the Community RECAP office will provide the defendant with an appointment date (scheduled after his next scheduled return to the Criminal court) for completion of the intake process and to complete a full assessment of the defendants needs. The defendant will also be scheduled with an initial date for first appearance at Drug Court. This information will also be contained in the FAX sent to the Criminal court.
6. After the initial screening, the defendant returns to the Criminal Court. If the Community RECAP FAX (from #5 above) has been received by the court and it indicates that the defendant is eligible for the Drug Court, then the Criminal Court will take the plea to the original charge but will withhold a finding of guilt. The Court will then order the clerk to place the file in status “Deferred Pending”, continue bond and order the defendant to the Drug Court appearance indicated on that FAX.
7. The Court Attendant will then photocopy the following documents, place them in an envelope, and forward them to Judge John Roethe of the Drug Court as these documents will constitute the Drug Court file:
1. Criminal complaint,
2. Completed Drug Court Contract,
3. NCIC or CCAP criminal history of the defendant,
4. Community RECAP Program FAX indicating the completion of the initial screening and initial date for first appearance before the Drug Court.
8. The matter will not return to the Criminal Court until the defendant either successfully completes the program or is removed from the program. If the defendant successfully completed the program the court will implement the agreement outlined in the Drug Court Contract. If for any reason the defendant fails to complete the program the defendant’s original plea will be perfected the entry of a finding of guilt and the matter will proceed to sentencing on the original charge.

Q82. Flow chart the following protocols. (a) Record youth name and address. Check in system to see if already there. If there, pull up record and verify information. If not, create new record and ask for information. When done, send record to orientation staff, give youth a number and instruct to wait until number is called. (b) Once stage three in the treatment regimen is completed, clients are not eligible for the next stage in treatment until they have had three consecutive clean weekly drug tests. If they have one failed test they are given a warning. Two failed tests in a row and they have to meet with a counselor. Three failed tests and they are out of the program.

Q83. Weimer & Vining (1989) characterize policy problems in terms of market failure and government failure. Any given problem, they suggest, can be placed in one of four categories: (1) market AND government failure; (2) government works (policy corrects for market failure); (3) market works; (4) government failure to correct for market failure. Their suggested strategy is to start by asking whether there is a market failure and then whether there is government failure. Using the two conditionals, "Is there evidence of market failure?" and "Is there evidence of government failure?" construct a flowchart that would permit you to classify any given situation into one of the four aforementioned categories.

Q84. If the weather is nice, plant a garden. Otherwise paint the office. For the garden, make a decision between flowers and vegetables. If you go for vegetables, buy compost, seeds, and stakes; till the soil, and hook up the irrigation. If it's flowers this year, go to the garden store and if they have 4 inch plants buy enough for the plot and plant them. If they don't then get flats of smaller plants and bring them home and let them get acclimated for a week and then plant them next week. To till the soil, if the ox is healthy, do it with the animal plow, otherwise get out the rototiller.

Q85. A regimen consists of three mandatory sessions, followed by an optional weekend retreat and then, monthly sessions until standard test indicates absence of symptoms.

Q86. Sort clients into four categories promising, troubling, recalcitrant, hopeless on the basis of two tests which can be passed or failed.

Q87. Sketch a flow chart to represent the following scenario. The Alameda County Waste Management Authority (ACWMA) has decided to spend some money on a public relations campaign to increase the level of composting ("green bin") recylcing. Data on hand says that current levels are 4 kg per household of four per week. The plan is to spend \$10,000 on advertising each month until the level has gone over 6 kg per week for four weeks in a row.
Prefatory concern – what does 4 kg / household of 4 / week mean? The amount of compost likely depends on the number of people in a household. We don't want to get the numbers wrong by failing to take this into account. So, in our data collection, we double the number for households of 2, halve it for households of 8, etc. Why not just express it as "kg/person/week"? That would work fine mathematically. Perhaps the PR folks had wanted to focus on households (and families) so as to induce a greater sense of collective responsibility.

Q88. Convert the following statement to “pseudo-Excel” formulas (follow the example to see what we mean by that).
Example. "If it is Tuesday, this must be Belgium, otherwise it is France" would become something like

= if(day="Tuesday","Belgium","France")

If the calculated payment (CALC_PMT) is less than the alternative monthly minimum payment (ALT_MIN_PMT) then the payment is the alternative monthly payment otherwise it is the calculated payment.

Q89. Convert the following statement to “pseudo-Excel” formulas (follow the example to see what we mean by that).
Example. "If it is Tuesday, this must be Belgium, otherwise it is France" would become something like

= if(day="Tuesday","Belgium","France")

If the current balance (BAL) is less than the calculated payment then pay the balance off, otherwise, pay the calculated payment.

Q90. Convert the following statement to “pseudo-Excel” formulas (follow the example to see what we mean by that).
Example. "If it is Tuesday, this must be Belgium, otherwise it is France" would become something like

= if(day="Tuesday","Belgium","France")

If the calculated payment is less than the alternative minimum monthly payment then pay the alternative monthly minimum unless it is more than the remaining balance in which case just pay the balance off. Otherwise pay the calculated payment.

page 1 of 212next »
page revision: 100, last edited: 16 Jan 2016 02:56