Assignment 7 - Students Stream

Table of contents

  1. Lab Goals:
  2. Instructions
  3. Deliverables:
  4. Grading
    1. Remember:

Lab Goals:

  1. Practice using Java Streams.
  2. Practice using Java Lambda Expressions


Create a Java project that reads the text file (*.csv) and uses Java Streams and Lambda Expressions to answer the following questions.

  1. Count the students with 3.7 GPA and higher.
  2. List the students with 4.0 GPA.
  3. Out of the 4.0 Students who’s taking more classes?
  4. What’s the Average GPA for this set of data?
  5. What’s the lowest GPA?
  6. Use the IntSummaryStatistics Class to show statistics on the number of Credit Hours (CR) students are taking.


  • A complete Java Project named StudentStreams.
  • The used students file.
  • The output should like something like: example output


  1. The program runs with no errors.
  2. Proper usage of the lambda Expressions.
  3. Proper usage of the Java Streams.
  4. Logic is sound.
  5. Proper usage of Git and GitHub (frequent commits, explanatory commit messages)


  • Include the .gitignore file at the root of the git repository o Make sure it’s named .gitignore not just gitignore
  • Include README file at the root of the git repository Don’t forget to include README file at the root of the git repository. Submission: You will be submitting a git repository, hosted on, with the following naming convention, <your 6+2>-assignment7-students-stream, (i.e., gilanyym-assignment7-students-stream)