<p> C Program Worksheet</p><p>C Program Worksheet</p><p>Define the problem – Why is there a need for this C program?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>C Program Requirements – What does the customer want?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>Steve Clayden, Gateway Community College © 2005 1 of 6 C Program Worksheet</p><p>List possible variable names – include the variable data types and default values:</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>List the possible equations or analyses that are needed in the program.</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>Steve Clayden, Gateway Community College © 2005 2 of 6 C Program Worksheet</p><p>Part A: Buying the currency</p><p>1. Which currency was bought by the instructor in the demonstration and what was the exchange rate from USD to that currency? Why was this currency chosen?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>2. What was the resulting conversion amount in the selected currency? How was the amount determined? What equation was used to convert the USD into the new currency?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>Part B: Selling the currency</p><p>1. Which currency was sold by the instructor in the demonstration and what was the exchange rate from that currency to USD? Why was this currency chosen?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>Steve Clayden, Gateway Community College © 2005 3 of 6 C Program Worksheet</p><p>2. What was the resulting conversion amount in USD? How was the amount determined? What equation was used to convert the currency into USD?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>3. Did the transaction result in a profit or loss, based on the original investment amount and the resulting sale back to USD? What percentage of the original investment was the profit or loss? How was the profit or loss determined? How was the percentage determined? What equations were used?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>Part C: Logic Flow Diagrams & Pseudo Code</p><p>1. Why do Logic Flow Diagrams assist in program development?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>2. Why does Pseudo Code assist in program development?</p><p>______</p><p>______</p><p>______</p><p>______</p><p>Steve Clayden, Gateway Community College © 2005 4 of 6 C Program Worksheet</p><p>Notes:</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>______</p><p>Steve Clayden, Gateway Community College © 2005 5 of 6 C Program Worksheet</p><p>Steve Clayden, Gateway Community College © 2005 6 of 6</p>
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages6 Page
-
File Size-