Write a ruby program to calculate grades

Assignment Help Other Subject
Reference no: EM132426565

Question: The college IT department manager no longer wants to use spreadsheets to calculate grades. The manager has asked you to create a program that will input the teachers' files and output the students' grades.

Write a Ruby program named formatfile.rb, which can be run by typing ruby widgets.rb.

In your Ruby environment, the program must read an input file formatted in CSV format, named input.csv. Each record contains data about a student and their corresponding grades.

The data will look similar to the following:

Student Name, assignment1, assignment 2, assignment 3, assignment 4

John Adams, 90, 91, 99, 98

Paul Newman, 90, 92, 93, 94

Mary Smith, 95, 96, 99

Be careful to follow the output format exactly, including spacing. The output of your program must look like the following:

Student Assignment Average

John Adams 94.5

Compress your files into a ZIP folder.

Review the readings for this week from Ruby on Rails Tutorial if you have additional questions on deploying Ruby applications.

Reference no: EM132426565

Questions Cloud

Develop a prospectus for your project : The capstone is a culmination of your work and experience up to this point. This course requires the completion of a capstone prospectus, a capstone report.
Describe issues arise at the time of installing and setup : HP Printers are well-known to provide the outstanding printing results and has established a trust worthy image among its customers.
Write a business report on apple inc : How is the company positioned relative to the competition? Is the company's competitive advantage sustainable?Write a business report on Apple Inc
Should end users be allowed to install applications : In 250-300 words. In a corporate, networked setting, should end users be allowed to install applications on their company workstations, whether the application.
Write a ruby program to calculate grades : The college IT department manager no longer wants to use spreadsheets to calculate grades. The manager has asked you to create a program that.
Explain the term gross income : Explain the term Gross Income.In addition, list one item of gross income that is excluded from income. Explain why it should be excluded.
What is most interesting information in that privacy policy : In 300 words. Locate any company privacy policy. Some of the more popular ones might include GOOGLE, APPLE, or MICROSOFT, but you may elect to review another.
Briefly describe the expectations hypothesis : How the liquidity preference theory accounts for the observation that the yield curve tends to be upward sloped, rather than what is predicted by expectation
FNSACC311 Process financial transactions Assignment : FNSACC311 Process financial transactions and extract interim reports Assignment Help and Solution – Assessment Writing Service - Describe the banking procedures

Reviews

Write a Review

Other Subject Questions & Answers

  Important neurological factors underlying visual perception

What are some important neurological factors underlying visual perception? How is color perception explained?

  How popular press information agrees with journal article

Research your chosen issue. Find two articles that discuss this issue. One can be a video or popular press article, but one must be a journal article.

  Determine the validity or invalidity of original arguments

Some foreign emissaries are people without diplomatic immunity, so some people invulnerable to arrest and prosecution are foreign emissaries.

  Describe immigration to north american colonies

What were the main ethnic groups, where did they settle and what did they do? Be specific and detailed.

  Identify your own approach to spiritual discernment

Explore and identify your own approach to spiritual discernment, 3) increase your awareness of how your approach may influence your counseling.

  Explain the five domains of personality

Explain the five domains of personality. Interpret your score, noting aspects of the assessment that are interesting to you. Illustrate each dimension of your personality with personal examples

  How is it possible for speakers to communicate to hearers

How is it possible for speakers to communicate to hearers when speaking metaphorically inasmuch as they do not say what they mean

  What is quality

What is quality? Why is it important to measure quality of care? What do you believe is the most effective measure of quality and why?

  How should market mechanisms such as outsourcing

How should market mechanisms such as privatization, vouchers, outsourcing, and public entrepreneurship be integrated into public service leadership?

  Discuss what is meant by each of these dyads

Assume you are a supervisor. How would you work within each of these situations with your employees to increase employee motivation?

  Explain consequence of being in an underpaid profession

Receiving free coffee, meals, groceries and other items as a consequence of being in an underpaid profession or for possible future acts of favoritism

  Was the conflict a precedent for the modern doctrine

Was the Investiture Controversy a political or religious conflict? Was the conflict a precedent for the modern doctrine of the separation of church and state

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