While-end repetition structure

Assignment Help Basic Computer Science
Reference no: EM13835338

While-End Repetition Structure

Create your own unique While-End  repetition structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example. Be sure to provide an overview of what your repetition structure is doing.Please keep the design simple for this exercise. Just a few lines of code is all that is needed for this response.

Also provide the C code and results of testing your code in an online compiler. Again, this should be a simple loop with just a few lines of code.

Instructions

Repetition Statements

In this homework, you will design a program to perform the following task:

Write a program that would allow a user to enter student names and Final grades (e.g. A,B,C,D,F) from their courses. You do not know how many students need to be entered. You also do not know how many courses each of the students completed. Design your program to calculate the Grade Point Average (GPA) for each student based on each of their final grades.  The program should output the Student name along with the GPA.

There are 5 components including:

Program Description- A detailed, clear description of the program you are building.

Analysis- Demonstrates your thought process and steps used to analyze the problem. Be sure to include the required input and output and how you will obtain the required output from the given input? Also, include your variable names and definitions. Be sure to describe the necessary formulas and sample calculations that might be needed. Talk about how your design will allow any number of students and final grades to be possible inputs.

Test plan - Prepare at least 1 set of input data (Test data) along with their expected output for testing your program.  This test case should include at least 10 students. Your test data can be presented in the form of a table as follows (note: feel free to adapt to your design)

Flowchart - Provide a flowchart for your design. You can use Word, Powerpoint, Visio or any software you have available that will allow to draw shapes and connectors.

Pseudocode- Provide pseudocode of your overall design that fulfills the requirements of the project

All of these components should be placed in word document for submission.

Additional details about the program you need to write:

  1. GPA is calculated by summing the point equivalents for final grades and taking the average. A =4, B=3, C=2, D=1, and F = 0. So, if someone earned 2 A's and 1 B, their GPA would be (4 + 4 + 3)/3 = 3.67
  2. Think about using a simple process to stop entering students and course grades. For example, if StudentName< 0.

 Example application test data:

Test Case #

Input

Expected Output

1

Sally: A,D,B,C
John: A,A,A,B,B
Jason: A,A,A,A,B
Bob: B,B
Bill: A
...

GPA for Sally is : 2.5
GPA for John is: 3.6
GPA for Jason is: 3.8
GPA for Bob is: 3.0
GPA for Bill is: 4.0
...

Reference no: EM13835338

Questions Cloud

Internal rate of return and modified internal rate of return : Can someone explain the steps to solve this Internal Rate of Return and Modified Internal Rate of Return problem? Lepton Industries has three potential projects, all with an initial cost of $1,800,000. Given the discount rates and the future cash flo..
Can spiritual beliefs impact political ideologies : Can spiritual beliefs impact political ideologies and the health care policy process? How have such beliefs impacted health care reform. Please provide references
How can components of performance management : In the healthcare industry how can components of performance management systems affect quality and risk management? (200 words cite your sources)
Considering that a healthcare organization : Considering that a healthcare organization has numerous regulatory requirements to meet, answer the following question about this organization. What short term and long term actions can the organization take to come into regulatory compliance (with i..
While-end repetition structure : Create your own unique While-End  repetition structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example. Be sure to provide an overview of what your repetition structure is doing.Please keep the desig..
At least two sects of the islamic religion : Discuss the main similarities and differences between at least two sects of the Islamic religion. Discuss the overall role of women in the Islamic religion. Name at least two ways in which the role of women is different in Islam from the role of wome..
Write a small program in matlab : Write a small program in MATLAB that evaluates the gradient at each point in a two-dimensional grid in the space -5 ≤ x 1 ≤ 5. Choose an appropriate grid spacing
What is a star rating : What is a STAR Rating? and What is the purpose and how does it impact the quality in the health care industry. (please only 100 words and to the point) please cite one source.
Compare two operating system : Find a friend, relative, or co-worker with a computer that uses an operating system that you don't usually use (Windows, Mac OS, or Linux). Try out the operating system, and observe how it works compared with the operating system that you normally..

Reviews

Write a Review

Basic Computer Science Questions & Answers

  Radius implementation

Suppose you are a Systems Administrator, and you have been tasked with implementing RADIUS to support authentication, authorization, and accounting in your organizations Windows network environment.

  Describe when you would want to use double hashing

Briefly describe when you would want to use double hashing. Also, provide an example of a rule that can be used for a double hashing probe sequence.

  Designing a corporate network

Design a network that connects the four offices of XYZ by wide area links. The company has users in three different departments, each of which has different security and resource requirements. However, each of the physical offices has some users from..

  Find prime numbersless than or equal natural numbers

Find the prime numbersless than or equal to the following natural numbers.

  Public key cryptography

Write a paper about "Public Key Cryptography".The paper will be at least 1,250 words in length. APA formatting must be used, along with proper citations in APA format. At least seven (7) reputable sources will be cited, and at least three (3) o..

  Gantt and pert charts

Set property values to denote progress in at least fifteen (15) of the line items. Set properties so that at least one (1) of the main tasks is behind schedule.

  Explain reads and writes using lipner-s matrix

Who in Lipner's model can make this change? Explain the reads and writes necessary to make this change and justify the read and write using Lipner's matrix.

  Perform in-depth research and provide an explanation

You will perform in-depth research and provide an explanation of how an issue associated with your selected topic relates to the consumption of digital media.

  The federal reserve web site

In current business publications or on the Federal Reserve Web site (www.federalreserve.gov), find the press release from the most recent meeting of the FOMC. What is the targeted federal funds rate? How does the FOMC evaluate the balance of risks be..

  Create a japplet that contains a jlabel and jbutton.

Create a JApplet that contains a JLabel and JButton. You'll create a JButton that will automatically change font typeface, style, and size when clicked by the user. Change the font typeface, style, and size on the JLabel.

  Write a program that prompts the user for a measurement

write a program that prompts the user for a measurement in meters and then converts it to miles, feet and inches.

  Sequence of events necessary to establish communication

Multiple KDC Domains to chain of three KDC. In other words, suppose that Alice wants to talk to Boris through a chain of 3 KDCs. Provide sequence of events necessary to establish communication.

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