logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Bashi LCriminology
(5/5)

561 Answers

Hire Me
expert
SrilekhaStatistics
(/5)

864 Answers

Hire Me
expert
StatAnalytica ExpertScience
(5/5)

969 Answers

Hire Me
expert
Mette BabstockScience
(5/5)

586 Answers

Hire Me
Others
(5/5)

create a conditional loop and continue processing grade values for this student until the given number of assignments have been processed

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Module 1 Assessment Part 3

 Requirements—Part 3

 Write a Python program that will incorporate conditional looping to average a given number of assignment grades for a student. The program will calculate and display the average.

 Pseudocode:

 Enter number of grades to process. 

  Enter a student name

  While loop counter is less than number of grades to proces

Enter assignment grade

 Add grade to grade tally

  Increment loop counter

     Calculate student average

   Display student average

  Instructions—Part 3

 1. Initialize variables as needed (i.e., numGrades = 0).

 2. Prompt the user to input the number of grades to be processed. Store this value in a variable (i.e., numGrades).

 Hint: This value will determine how many repetitions are performed.

 3. Prompt the user to enter a student name. Store that name in a variable (i.e., studentName).

 4. Create a conditional loop and continue processing grade values for this student until the given number of assignments have been processed.

 Within this loop:

 a. Prompt to get a numeric grade value from the user.

 b. Add that grade to a numeric variable to keep a tally of the grades. Each time through the loop (for a given student), a new grade value will be entered and added to this tally.

 c. Increment the loop counter.

 5. Once grades for the conditional loop have been entered, average the grades using the total tally divided by the number of grades to be entered given at the start of the program. Store the average in a variable (i.e., studentAverage).

 

6. Display the name of the student and their average.

 

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme