Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

No error checking or handling. Enter -1 to indicate not taking the optional final exam and to indicate the end of a list of homework

  1. No error checking or handling.

  2. Enter -1 to indicate not taking the optional final exam and to indicate the end of a list of homework or labwork grades.

  3. Zybook activities, Class participation, and Labworks require 85% for full credit. To achieve this, the score is increased by adding 15% and limited to a max of 100%. Unless the score was 0%, in which case it remains 0%.

    1. Zybook participation and challenges are treated separately and then combined.

    2. Labworks can be entered in the range [0,100], but your actual lab grades in class will almost always be either 0 or 100.

  4. If the user did not earn 100% on the syllabus quiz, their grade is an F.

    1. This is the first question asked

    2. The user answers y or Y to indicate passing. Anything else counts as a no.

    3. If the user did not earn 100% on the syllabus quiz, the program immediately outputs their final letter grade and exits.

  5. After collecting data from the user, print a summary of grade components, the numeric grade, and the letter grade.

Create a code with functions to calculate final grade in a class
Use selection constructs
Use iteration constructs
Use functions
image text in transcribed
image text in transcribed
Leler Grade EXAMS u take the optional final exam, your course exam averag 45 exam average OR the average of exam 1, exam 2, and the final exam. Otherwi e will be the higher of the final course exam average is the weighted average of exam 1 (40%) and exam a course exam average must be 60% or higher to get a C or higher in the c 2 (60%) ourse. you have less than a 60% course exam average and a passing overall ca maximum grade you can receive is a D. calculated score, the fe Participation Activities (496) + Challenge Activities (394) For full credit, you must successfully complete 85% by the due date These are hard due dates and you cannot receive credit for late completion for full credit allows omissions for extenuating circumstances including YBOOK ACTIVITIES 7% . Requiring 85% ed absences CLASS PARTICIPATION Various ways will be used to assess your engagement in the course.T attendance and quizzes For full credit, you must have 8S96 credit These can include 3% HOMEWORK work is a combination of preparation for and coding of progra mming assignments These are due approximately once a week. . Must be done on your own 35% Failing to submit code for more than two homework assignments will result in a failing course grade . Can with late day pool, but not after any solutions have been published f you feel there are extenuating circumstances, do not wait to submit until after you have consulted an instructor. We can go back and update late penalties, but only if we know when you actually finished the assignment If you want to challenge any grading, you must do so within one week of when the . grade is published Team labwork are activities to help you get a better understanding of concepts that students traditionally struggle with or that are integral to know prior to doing homework programming assignments * For full credit, you must complete 85% by the due dates . You must work collaboratively with other students in the class. .You must submit as a team with at least one and no more than two other collaborators. . You must be present in lab to get credit These are hard due dates and you cannot receive credit for late completion. Requiring 85% for f for extenuating circumstances such as excused absences TEAM LABWORK 5% ull You mustgeta 100% on the syllabus quiz by Wednesday 23 January 2019 to get a passing grade in the class. You may retake the quiz as needed prior to the due date SYLLABus Quiz You can get up to one point added your exposure to computer science. You can submit up to two report one-half point. Details for selecting material, writing, and submitting is on eCampus to your final grade through culture reports that broaden EXTRA CREDIT s, and each is worth f you are at the borderline and you did not submit extra credia and have excessive missing grades to the next level it is unlikely that you will be considered if you are at the borderline and you did no 8:28 PM Fri Feb 8 ? 17%. c. d. e. f. Eliminate all global variables. Lines should be no longer than 1 screen-width (about 80 characters). Functions should be no longer than 1 screen-height (about 50 lines). Use whitespace and indentation to properly align and separate blocks of code Sample Run did you get 100% on the syllabus quiz [y)? y exam 1 grade [0-100]: 86 exam 2 grade [0-100]: 75 final exam grade [0-100, 1 to skip]: 84 zybook participation (%): 83 zybook challenge (%): 80 class participation (%): 86 homework 1 [0-100, -1 to end] 100 homework 2 [0-100, -1 to end]: 95 homework 3 [0-100, -1 to end] 100 homework 4 [0-100, -1 to end]: 95 homework 5 [0-10e, -1 to end]: 95 homework 6 [0-100 , -1 to end): 98 homework 7 [0-10e, -1 to end] 100 homework 8 [0-108, -1 to end]: -1 labwork 1 [e-100, -1 to end]: 100 Labwork 2 [8-100, -1 to end]: 180 Labwork 3 [0-100, -1 to end] 100 labwork 4 [6-100, -1 to end]: ) Labwork 5 [0-100, 1 to end] 0 labwork 6 [6-100, -1 to end]: 8e labwork 7 [0-100, -1 to end]: 199 labwork 8 [0-100, -1 to end] 100 labwork 9 [0-100, -1 to end]: 98 labwork 10 [6-108, -1 to end): 98 labwork 11 [0-100,-1 to end]-1 extra credit points [0-1]: 0.5 84 exams zybook activities: 96.7143 class participation: 1e0 homework: Labwork: extra credit: 96.4286 91 8.5 numeric grade: 90.57 letter grade: A Leler Grade EXAMS u take the optional final exam, your course exam averag 45 exam average OR the average of exam 1, exam 2, and the final exam. Otherwi e will be the higher of the final course exam average is the weighted average of exam 1 (40%) and exam a course exam average must be 60% or higher to get a C or higher in the c 2 (60%) ourse. you have less than a 60% course exam average and a passing overall ca maximum grade you can receive is a D. calculated score, the fe Participation Activities (496) + Challenge Activities (394) For full credit, you must successfully complete 85% by the due date These are hard due dates and you cannot receive credit for late completion for full credit allows omissions for extenuating circumstances including YBOOK ACTIVITIES 7% . Requiring 85% ed absences CLASS PARTICIPATION Various ways will be used to assess your engagement in the course.T attendance and quizzes For full credit, you must have 8S96 credit These can include 3% HOMEWORK work is a combination of preparation for and coding of progra mming assignments These are due approximately once a week. . Must be done on your own 35% Failing to submit code for more than two homework assignments will result in a failing course grade . Can with late day pool, but not after any solutions have been published f you feel there are extenuating circumstances, do not wait to submit until after you have consulted an instructor. We can go back and update late penalties, but only if we know when you actually finished the assignment If you want to challenge any grading, you must do so within one week of when the . grade is published Team labwork are activities to help you get a better understanding of concepts that students traditionally struggle with or that are integral to know prior to doing homework programming assignments * For full credit, you must complete 85% by the due dates . You must work collaboratively with other students in the class. .You must submit as a team with at least one and no more than two other collaborators. . You must be present in lab to get credit These are hard due dates and you cannot receive credit for late completion. Requiring 85% for f for extenuating circumstances such as excused absences TEAM LABWORK 5% ull You mustgeta 100% on the syllabus quiz by Wednesday 23 January 2019 to get a passing grade in the class. You may retake the quiz as needed prior to the due date SYLLABus Quiz You can get up to one point added your exposure to computer science. You can submit up to two report one-half point. Details for selecting material, writing, and submitting is on eCampus to your final grade through culture reports that broaden EXTRA CREDIT s, and each is worth f you are at the borderline and you did not submit extra credia and have excessive missing grades to the next level it is unlikely that you will be considered if you are at the borderline and you did no 8:28 PM Fri Feb 8 ? 17%. c. d. e. f. Eliminate all global variables. Lines should be no longer than 1 screen-width (about 80 characters). Functions should be no longer than 1 screen-height (about 50 lines). Use whitespace and indentation to properly align and separate blocks of code Sample Run did you get 100% on the syllabus quiz [y)? y exam 1 grade [0-100]: 86 exam 2 grade [0-100]: 75 final exam grade [0-100, 1 to skip]: 84 zybook participation (%): 83 zybook challenge (%): 80 class participation (%): 86 homework 1 [0-100, -1 to end] 100 homework 2 [0-100, -1 to end]: 95 homework 3 [0-100, -1 to end] 100 homework 4 [0-100, -1 to end]: 95 homework 5 [0-10e, -1 to end]: 95 homework 6 [0-100 , -1 to end): 98 homework 7 [0-10e, -1 to end] 100 homework 8 [0-108, -1 to end]: -1 labwork 1 [e-100, -1 to end]: 100 Labwork 2 [8-100, -1 to end]: 180 Labwork 3 [0-100, -1 to end] 100 labwork 4 [6-100, -1 to end]: ) Labwork 5 [0-100, 1 to end] 0 labwork 6 [6-100, -1 to end]: 8e labwork 7 [0-100, -1 to end]: 199 labwork 8 [0-100, -1 to end] 100 labwork 9 [0-100, -1 to end]: 98 labwork 10 [6-108, -1 to end): 98 labwork 11 [0-100,-1 to end]-1 extra credit points [0-1]: 0.5 84 exams zybook activities: 96.7143 class participation: 1e0 homework: Labwork: extra credit: 96.4286 91 8.5 numeric grade: 90.57 letter grade: A

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions