10.1 Quiz Instructions

You have at most 20 minutes to complete this quiz. It MUST be completed in class.

Today you will demonstrate your ability to use the ArrayList class.

Write code to remove from a list any Strings that contain the letter "a". Use the following as your test case:

  • Starting list: ["It", "IS", "a", "dark", "and", "stormy", "night" ]
  • Result: ["It", "IS", "stormy", "night" ]

Name your new main program class <your name>_ArrayListIntroQuiz.java.

Your program must EXACTLY match the designated output found in ArrayListIntroQuizOutput.txt. Make sure you use the output comparision tool!

Submit the source code file to me as usual via DropItToMe

Follow class programming standards and formatting/indentation rules. Make sure you comment your code!

Quiz Grading

The quiz is worth 35 points.

This is pretty simple...you get 100% if your output exactly matches the expected output...and...0% if it has ANY differences.

Make sure you get all the spelling, capitalization, punctuation, spacing, etc. correct! Hint: copy-n-paste is a wonderful thing! :)