Working program that uses the repetition control structure

Assignment Help Basic Computer Science
Reference no: EM132278038

Focus

1. While loops and For loops

2. Count-controlled loops

3. Sentinel controlled loops

Working program that uses the Repetition Control Structure including the While Loop, the For Loop, and Nested Loops

Part A: Write Something New!

Python program to solve the following problem:

You are the professor for COSC 1305 at St Edwards University. You want to create a program that will take in the numeric grades of the students in your class. Since the students in a class vary from semester to semester, there is no fixed number assigned to the number of students.

You will keep track of how many students' grades you input. You will stop taking input when the student enters a grade of -1.

Your program will use loops and will accomplish the following:

1. Read in a numeric grade from a student.

2. Convert the numeric grade to a letter grade using the grade policies in your syllabus.

3. Keep a running total of the numeric grades entered.

4. Keep a count of the number of grades entered.

5. Issue a message that comments on the letter grade earned. As an example, you may write "You made an F! Obviously you did not study!"

6. At the end the program will calculate a class average unless there were no grades entered.

All input to the program will be interactive from the keyboard. The output of the program will include the individual grades converted, the message issued to the student, a class average, and the number of grades entered.

Use the IDLE programming environment if you are using Python with IDLE. Remember to use the extension .py.

Submit your file to Canvas and name the file: Lab6PartB_yourSEUusername turn the text file into Canvas for 'Lab 6'.

Run and test your program for all conditions. Once you are sure it works you will turn in the items listed in the next section.

Reference no: EM132278038

Questions Cloud

Identify the main issues in the chosen area : MBA612 International business management : Approaches to culture in the workplace in the United States and globally.
How the monthly balances would be affected : Create a scenario showing how a higher or lower credit for your paycheck would affect each monthly balance - how the monthly balances would be affected
Critique the mission statement of mcdonalds : Critique the mission statement of Mcdonalds and indicate which of the nine (9) characteristics and nine (9) components of a mission statement
How do clarissa dalloway and peter walsh view character : How do Clarissa Dalloway and Peter Walsh view each other's character in the narrative present? How is their perspective on each other shaped.
Working program that uses the repetition control structure : Working program that uses the Repetition Control Structure including the While Loop, the For Loop, and Nested Loops
Regional breakdowns of sales across the country : Regional breakdowns of sales across the country. Date the product was released in the marketplace.
How was jollibee able to build its dominant position in food : How was Jollibee able to build its dominant position in fast food in the Philippines? What are Jollibee's competitive advantages?
Describe the psychodynamic theory in brief : Psychodynamic theories of psychology emphasize the role of the unconscious mind and early childhood experiences in personality development.
Please discuss dynamic programming : Please discuss dynamic programming, greedy, and iterative improvement algorithm design technique with an example.

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Identifies the cost of computer

identifies the cost of computer components to configure a computer system (including all peripheral devices where needed) for use in one of the following four situations:

  Input devices

Compare how the gestures data is generated and represented for interpretation in each of the following input devices. In your comparison, consider the data formats (radio waves, electrical signal, sound, etc.), device drivers, operating systems suppo..

  Cores on computer systems

Assignment : Cores on Computer Systems:  Differentiate between multiprocessor systems and many-core systems in terms of power efficiency, cost benefit analysis, instructions processing efficiency, and packaging form factors.

  Prepare an annual budget in an excel spreadsheet

Prepare working solutions in Excel that will manage the annual budget

  Write a research paper in relation to a software design

Research paper in relation to a Software Design related topic

  Describe the forest, domain, ou, and trust configuration

Describe the forest, domain, OU, and trust configuration for Bluesky. Include a chart or diagram of the current configuration. Currently Bluesky has a single domain and default OU structure.

  Construct a truth table for the boolean expression

Construct a truth table for the Boolean expressions ABC + A'B'C' ABC + AB'C' + A'B'C' A(BC' + B'C)

  Evaluate the cost of materials

Evaluate the cost of materials

  The marie simulator

Depending on how comfortable you are with using the MARIE simulator after reading

  What is the main advantage of using master pages

What is the main advantage of using master pages. Explain the purpose and advantage of using styles.

  Describe the three fundamental models of distributed systems

Explain the two approaches to packet delivery by the network layer in Distributed Systems. Describe the three fundamental models of Distributed Systems

  Distinguish between caching and buffering

Distinguish between caching and buffering The failure model defines the ways in which failure may occur in order to provide an understanding of the effects of failure. Give one type of failure with a brief description of the failure

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd