Giter Club home page Giter Club logo

csv_grades's Introduction

course title category
Ruby on Rails
CSV Gradebook
pair_programming

Using a CSV of student names and assignment grades, and your code from yesterday's project, you will generate a report from a CSV. For example, given the following CSV:

Student,Project 1,Project 2,Quiz
Evelyn,90,95,85
Marley,80,85,90
Hayden,75,85,80

you should generate a report like the following:

Average by student:
  Evelyn: 90 (A)
  Marley: 85 (B)
  Hayden: 80 (B)

Average by assignment:
  Project 1: 81 (B)
  Project 2: 88 (B)
  Quiz: 85 (B)

Class average: 85

Files

Starter files have been provided in the 'starter_files' folder. gradebook.rb includes code to accept a filename on the command line, so you should be able to run ruby gradebook.rb input1.csv and see a report for input1.csv.

To run the tests to see if your code is correct, run ruby gradebook_test.rb.

[callout-download]

[/callout-download]

[callout-warning] The solutions are located in the 'solution' folder. Do not look at the solutions prior to completing the assignment. If you are stuck, move to the next exercise and then come back the the places where you had trouble. If you need help, consult with a peer first and only then look at the solution files for hints about how to proceed. [/callout-warning]

csv_grades's People

Contributors

erickanarr avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.