The following algorithm is designed to determine a grade for a course that consists of quizzes, homework, and a final exam:
Step 1: Input course number and name.
Step 2: Input weighting factors for quizzes
Step 3: Input quiz grades and determine an average quiz grade
Step 4: Input homework grades and determine an average homework grade
Step 5: If this course has a final grade, continue to step 6. If not, go to step 9.
Step 6: Input final exam grade
Step 7: Determine average grade AG according to
Step 8: Go to step 10.
Step 9: Determine average grade AG according to
Step 10: Print out course number, name, and average grade.
Step 11: Terminate computation.
(a) Write well-structured pseudocode to implement this algorithm.
(b) Write, debug, and document a structured computer program based on this algorithm. Testitusingthefollowingdatato calculate a grade without the final exam and a grade with the final exam:
Want to see the full answer?
Check out a sample textbook solutionChapter 2 Solutions
Numerical Methods For Engineers, 7 Ed
Additional Math Textbook Solutions
Precalculus: A Unit Circle Approach (3rd Edition)
Calculus: Early Transcendentals (2nd Edition)
Intro Stats, Books a la Carte Edition (5th Edition)
Intermediate Algebra (13th Edition)
Graphical Approach To College Algebra
Elementary Algebra For College Students (10th Edition)
- The data file includes the text of three books of the Bible (Joshua, Jonah and Philippians) using the ESV translation. While these are all great books, our only interest for this project is how often each letter is used. 1) In the Word file containing the Biblical text, use the “Find” feature to identify how many times each letter occurs (i.e. the letter’s frequency). Create an Excel spreadsheet to display the number of occurrences of each letter in the English alphabet. Using the find feature, here is the amount for each letter in alphabet A 1810 B 323 C 442 D 1097 E 2845 F 609 G 416 H 1689 I 1381 J 134 K 143 L 935 M 586 N 1503 O 2237 P 379 Q 5 R 1362 S 1407 T 2235 U 703 V 257 W 513 X 17 Z 6 2) In the Excel spreadsheet, sum your frequencies to compute the total number of letters in the 3 books (this is n). a) In your…arrow_forwardThe data file includes the text of three books of the Bible (Joshua, Jonah and Philippians) using the ESV translation. While these are all great books, our only interest for this project is how often each letter is used. 1) In the Word file containing the Biblical text, use the “Find” feature to identify how many times each letter occurs (i.e. the letter’s frequency). Create an Excel spreadsheet to display the number of occurrences of each letter in the English alphabet. Here is the amount of occurences I found for each letter using the find feature A=1810 B=323 C=442 D=1097 E=2845 F=609 G=416 H=1689 I=1381 J=134 K=143 L=935 M=586 N=1503 O=2237 P=379 Q=5 R=1362 S=1407 T=2235 U=703 V=257 W=513 X=17 Z=6 2) In the Excel spreadsheet, sum your frequencies to compute the total number of letters in the 3 books (this is n). a) In your spreadsheet, use the formula to compute the sample proportion of each letter’s appearances relative to total number of letters (i.e. find the relative…arrow_forwardThe Social Security Office kept records on salary history and age of all US citizens (with social security numbers) The Medicare Office kept health hustories and premium information on all US citizens and wanted to combine salary information with their records by matching up social security numbers. This data manipalation is known as O a attaching O b. supplementing O cindexing Ⓒd.appendingarrow_forward
- If a data set contains three groups that each have ten people in them, how many rows will the “data view” have? 30 3 100 10arrow_forwardApproaching midseason, the teams in a basketball league had won the following numbers of games. Construct a stem-and-leaf display for the given data in the accompanying table. Treat the ones digit as the leaves. For any single-digit data, use a stem of 0. Click the icon to view the data table. ..... Construct a stem-and-leaf display for the given data. (Use a comma to separate answers as needed.) Data table Full data set O 12 29 24 14 16 31 29 18 16 21 29 11 26 23 16 10 23 20 18 10 36 25 14 14 7. 28 24 16 Print Donearrow_forwardJeff Friedman was a section chief for an electric utility company. After the numbers in one of his reports to the management of the utility didn't add up, he was reassigned to the home economics department. He interviewed 119 people in a suburban shopping center to discover some of their cooking habits. He obtained the results shown to the right. 53 use microwave ovens; 63 use electric ranges; 52 use gas ranges; 23 use microwave ovens and electric ranges; 20 use microwave ovens and gas ranges; 8 use both gas and electric ranges; 2 use all three; 4 uses none of the three. Should he be reassigned one more time? Why or why not? Select the correct choice below and, if necessary, fill in the answer box to complete your choice. A. Yes, he should be reassigned. He says that he interviewed 119 people, but the numbers in his report indicate that he actually interviewed some error, he should be reassigned. people. Since he made B. No he should not be reassigned. He says that he interviewed 119…arrow_forward
- How is the frequency of the segmentation set?arrow_forwardNeed help with part: D, E and Farrow_forwardThe Student Store holds a contest to hand out souvenir shirts featuring four designs from the Mathematics Hall of Fame. Each shirt is size XL. 700 different people enter the contest. 6 different people win a shirt. Shirts with the same design are indistinguishable from one another. The order in which the shirts are handed out does not matter. How many different ways can the shirts be handed out? No need to simplify your answer. You must explain your answer.arrow_forward
- Algebra: Structure And Method, Book 1AlgebraISBN:9780395977224Author:Richard G. Brown, Mary P. Dolciani, Robert H. Sorgenfrey, William L. ColePublisher:McDougal LittellGlencoe Algebra 1, Student Edition, 9780079039897...AlgebraISBN:9780079039897Author:CarterPublisher:McGraw HillHolt Mcdougal Larson Pre-algebra: Student Edition...AlgebraISBN:9780547587776Author:HOLT MCDOUGALPublisher:HOLT MCDOUGAL
- Mathematics For Machine TechnologyAdvanced MathISBN:9781337798310Author:Peterson, John.Publisher:Cengage Learning,