Welcome to AssignmentCache!

DAT 210 Data Programming Week 4 Write a Ruby Program

Availability: In stock

Regular Price: $15.00

Special Price: $12.00

Quick Overview

DAT 210 Data Programming Week 4 Write a Ruby Program


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 teacher's files and output the student's 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.
Submit the ZIP file.

DAT 210 Data Programming Week 4 Write a Ruby Program Code

Double click on above image to view full picture

Zoom Out
Zoom In

More Views

  • DAT 210 Data Programming Week 4 Write a Ruby Program Code
  • DAT 210 Data Programming Week 4 Write a Ruby Program Output

Regular Price: $15.00

Special Price: $12.00

Details

DAT 210 Data Programming Week 4 Write a Ruby Program

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 teacher's files and output the student's 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.
Submit the ZIP file.

Product Tags

Use spaces to separate tags. Use single quotes (') for phrases.