Solution-p1mygrade

Assignment Help Programming Languages
Reference no: EM13841600

a) Name this Solution "p1MyGrade" and this project "MyGrade01".

b) Write a simple program that does the following:

1. Prompt for a numerical score and determine its letter grade according to the following table:

Score Grade

>= 92 A

>= 83 B

>= 75 C

<75 F

2. Continue the process until the score entered is no greater than 0. (Assuming that the user inputs will be valid.)

3. In the end of the program, write a message indicating the project title and your name.

a) 4. Below is the sample run:

1006_project title and your name.jpg

2) Part 2:

a) Add a new Project (Visual C#/Windows/Console Application) called MyGrade02 to the Solution by right clicking the Solution name and, in the pop-up windows, select Add/New Project...

See figure in Part 1 and your Solution Explorer should list two project now.

b) Use a function (i.e. method) called "score2grade" that accepts the integral score as the only parameter and return the letter grade according to the table as specified in Part 1.

c) Make "MyGrade02" as the Startup Project by right clicking "MyGrade02" and in the pop-up windows select "Set as Startup Project".

d) Below is the sample run:

1545_MyGrade02.jpg

a) Add a new Project called MyGrade03 to the Solution.

b) Refer to Section 9.4 and use the List structure to keep all the scores entered by the user;

c) Use an integer called gradeCountto keep the frequency count of each grade;

d) Below is the sample output:

2020_MyGrade03.jpg

e) Notes: The purpose of this part is to have you use List and array. So you have to use an array of integer to keep the frequency count of each letter grade. You may also use an array of character for the letter grades (i.e., letterGrade= {'A', 'B', ...} and then have the score2grade method return the index which can be used for incrementing gradeCountand retrieving the letter grade from letterGrade.

4) Part 4:

a) Add "MyGrade04" to the Solution and add the following features to your project:

1. Add Exception Handling to your program (refer to Fig 8.8 as an example). For practical purpose, you may simply use Exception as the exception type.

2. Add another List to store the inputted scores but this list will eventually be sorted in descending order. (Find out the solution from the internet or through the class discussion board.)

2324_Exception.jpg

Reference no: EM13841600

Questions Cloud

Write down the value of the gradient of the regression line : Write down the value of the gradient of the regression line and explain what it means in this case. Is the constant or intercept value significant in this case? How do you know this?
Prepare a post-closing trial balance : Prepare a Post-Closing Trial Balance
Program-twos complement : Overview: The real point of this assignment is to give you a chance to work with exceptions. But you can't do anything with exceptions unless there's something that can go horribly wrong, so we need something with plenty of potential for error . ...
Find the pareto optimal allocations : Find the Pareto optimal allocations - Find the best allocation according to the utilitarian criterion and Find the quantity of each good traded, and ?nd each person's actual consumption of ale and bread.
Solution-p1mygrade : a) Name this Solution "p1MyGrade" and this project "MyGrade01". b) Write a simple program that does the following:
Is swimmingpool co liable for martins actions : Is Swimmingpool Co liable for Martin's actions? On what basis in law would this be the case? Can the company claim they are not liable for Martin because he has not followed instructions? Explain.
Examines the future direction for u.s : Locate a recent article that examines the future direction for U.S.  interest rates over the next year, provide an appropriate reference citation, and respond to the following:  1. Do you agree with the observations, conclusions, and projections pre..
Program that convert temperature in fahrenheit : Write a program that will convert a temperature in Fahrenheit to Celsius and Kelvin. The temperature to convert should be captured from user input. The formulas for converting the temperatures are:
Programming assignment : Build a Dictionary on top of a Bag built on top of an

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

These 14 questions covers java class, Array, link list , generic class.

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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