Home » APCS » Sorting Assignment/Short Week

Cool Links

  • No bookmarks avaliable.

Sorting Assignment/Short Week

Well obviously we don’t have a full week ahead of us. As I write this, the marking period has NOT been extended by the two days we missed. That being said, we still have a significant grade…the unit 4 benchmark. Key the creepy music…

So here is our tentative schedule:

  • Wednesday: Sorting follow up assignment. Details below
  • Thursday: Review
  • Friday: Unit 4 Benchmark
  • Monday – Layne talks

Sorting assignment.

  • You’ve been given a .txt file. Your job is to make that RELATIVE to your root folder. Please review that in either Blue Pelican or your notes from when we imported data.
  • Your goal is to accept the input from the file, sort it and then output it to a new txt file. Again, keep the new txt file relative to your root.
  • The challenge is that their are two columns. Please keep the name and the amount in the same row.
  • Other things to keep in mind
    • You’ve already created the sorting methods so choose which one you want to use.
    • Think about the data structure.
    • Don’t use Arrays.sort
    • Sort it by the user preference of either by Name or by Check Amount
    • Due by Layne Talks on Monday

Ok…you have what you need. Make it happen cap’n. 

 

Classroom Codes:

APCS: 1otuje
Intro to CS: 4gvmqlo
Principles of CS: 0uk9fez
Web Design: pfiz8m