Create while-end repetition structure includes a nested if

Assignment Help Programming Languages
Reference no: EM13762900

Create your own While-End (or For-End) repetition structure that includes a nested if-then selection 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. Provide a walk-through of your code and the values at each iteration of the loop.
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 of your submission 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:

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

Think about using a simple process to stop entering students and course grades. For example, if StudentName < 0.

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: EM13762900

Questions Cloud

The role of community and public health nurse : How do these skills differ from those required in the institutional setting?
True sampling error : The true sampling error is usually not known because
Create a c++ project using appropriate data types : Create a C++ project. Declare the following identifiers using appropriate data types.
Study of the human muscles : 1. The study of the human muscles.
Create while-end repetition structure includes a nested if : Create your own While-End (or For-End) repetition structure that includes a nested if-then selection structure. You decide the theme. You should provide both the pseudocode and the flowchart of your example.
Underestimate the value of output : GDP measures underestimate the value of output produced by an economy because they include services not transferred through markets? T or F
Issues based on agricultural industary : The discharge rate of the wastewater to maintain at least 5 mg/L critical DO concentration in the river
Advanced information technology of u : Assess the relationship of systems analysis, design, implementation, and development processes as they relate to the management of information technology systems
Profitability of the zenith and pinnacle models : Using activity-based costing (ABC), calculate the profitability of the Zenith and Pinnacle models.

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