Utilizes a good design process and incorporates sequential

Assignment Help Programming Languages
Reference no: EM131325256

Project: Final Project

Your final project will be to analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements(i.e loops) as well as at least three functions and the use of at least three parallel arrays. Your program must collect all the information from the user, then do the calculations and display of the total counts. The specific problem you need to solve for the final project is:

Design a program that will allow a user to Input a list of his Classmate's studentID along with their Student Major (where 1=Mathematics, 2=Comp.Science, 3=other) and Age. You must first collect all the information from the user ( three parallel arrays). Then, count the number
of each Major and calculate the average age of the classmates. Finally display all the information collected (with each student information on a separate line). After the list is printed then display these counts of each of the Majors, and the average age.

Optional data items:

Student Name Collect and Display

Student City or Residence Collect and Display

Student Marital Status (Married,Single) Collect and Count each and Display Gender (Male, Female) Collect and Count each and Display.

There are 4 components of your submission including:

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 and processes that might be needed.

Design choose 1 of the following two

o Program Design- A detailed, clear description of the program you are building. It should show the flow and logic of your program.(this is the outline approach)

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

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

Test plan - Prepare at least 1 set of input data (Test data) along with their expected output for testing your program. Your test data can be presented in the form of a table and must contain at least 10 classmates.

C-code submit a separate .c or .txt file.

- Make sure you code is documented with header and in-line comments and is neatly (i.e. indented properly) written

All of these components (except the C-code) should be placed in word (or other acceptable) document for submission.

OPTIONAL: You may choose to do the Pseudo-code instead of the C-code but it is only worth 10pts (meaning the highest possible grade will be a 90). And you must do the Program Design or Flowchart for the Design section.

Additional details about the program you need to consider:

1. Class sizes vary, however you should design to be able to enter at most 40 Classmates, but be flexible enough to handle less than 40. It will be easier if you loop on studentID (which should be an Integer array)

2. Your test case should have at least 10 classmates.

3. Be sure to separate some functionality into functions. Having all functionality in the main module is not a good design.

4. Your design should consider how to indicate the classmate entry is complete.

5. Carefully consider the best data type for each of your variables. (e.g. when to use Float versus Integers versus Strings versus Boolean)

6. Strings in C are an array of characters, hence an array of Names will need to be two dimensions, one for the number of classmates, one for the length of the Names.

7. If you use one char for Gender the arrays can then be one dimension. But it may be easier to use an integer array and store a 1 or 2. OR a Boolean array.

Suggestion: Do you Analysis and Design first then implement in C in a stepwise fashion.

In others, implement the loop first, compile, and run. Then implement the next step (i.e. the prompts and input) then compile and run. Save your code at each step so you have something to fall back to.

Reference no: EM131325256

Questions Cloud

Evaluate type of impact the violation had on organization : Evaluate the type of impact the violation had on the organization then determine two (2) ways the organization could mitigate the issue. Justify your response
What is the storage time now : How will your answer change if there is an additional current of 10-10 A per centimeter of penmeter?
Reduce or eliminate any current account deficit : Explain why this adjustment would occur. Why does the exchange rate not always adjust to correct a current account deficit?
Determine the legally mandated benefits : Examine the core legal requirements affecting employee benefits in today's competitive environment. Determine the legally mandated benefits that the company must currently offer to its employees
Utilizes a good design process and incorporates sequential : Your final project will be to analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements.
Important feature of a dividing cell : Cell cycle checkpoints are an important feature of a dividing cell to reduce errors that can occur in various stages of the cell cycle. Loss of Rb, an important part of the G1-S transition checkpoint, can result in uncontrolled cell cycle progress..
Explain the performance of the drug industry : Which theory or theories of profit do you think best explain(s) the performance of the drug industry
Explain the theory of purchasing power parity : Explain the theory of purchasing power parity (PPP).- Based on this theory, what is a general forecast of the values of currencies in highly inflated countries?
Facilitate the progression of a cell through : Cyclin-dependent kinases are special molecules that facilitate the progression of a cell through the cell cycle. Many molecules such as p53 regulate the cell cycle. An unregulated cell cycle can lead to rapid growth of the cell that may eventually..

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a program that converts english units to metric

Write a unit conversion program that converts English units to Metric using the conversion table given above. Ask the user from which unit they want to convert ( oz, lb, in, ft, mi) and which unit they want to convert to (g, kg, cm, and km).

  Write an algorithm in structured english

Write an algorithm in structured English (pseudocode) that describes the steps required to perform the task specified and implement your algorithm in Python.

  The given code is meant to find out the largest item of a

the following code is meant to find the largest item of a list but the lines are out of order. the following code is

  Write a program to compute diameter in centimeters of a rod

Write a program to compute the diameter in centimeters of a steel rod, an aluminum rod, and copper rod, which can withstand a particular compression load.

  What are the differences between these two standards

One recent change in web design is the shift in standards from HTML to XHTML

  Validation and test documentation

The final project consists of a currency conversion application. This application-similar to simple, practical programs on many travel or financial Web sites-includes the following elements: Validation and test documentation

  Design and algorithm that compute numbers of married men

Design and algorithm that will read through the file and compute the numbers of married men, single men, married women and single women.

  Write implementation of counter class

Write the implementation (.cpp file) of the Counter class. Here is the full specification of the class: A data member counter of type int.

  Write a program that will help the club determine the winner

The CSIT Racing Club is a group that runs amateur car racing events throughout the US. In This project, write a program that will help the club determine the winner of their Fall Rally Race.

  Identify the errors in the program segment

Determine the output displayed when the button is clicked. Assume the five lines of the file Dates.txt contain the numbers 1492, 1776, 1812, 1929, and 1941 and the file is in the appropriate folder.

  Create a draft program design

Start creating the program structure using the provided integrated development environment (IDE). Create a draft program design

  What are the advantages and disadvantages of a

what are the advantages and disadvantages of a manufacturing company owning and operating its own outbound warehouse

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