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

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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