CS 222 Spring 2016

Simple Note Taker

Due: June 04, Monday, 12:00 pm.

Language: Java

Submission:

  • Your file containing the main method WILL HAVE the name NoteCat.java
  • DO NOT include package names
  • Check your file encoding. It should be UTF-8
  • Commit your code to SVN

Context: You are asked to write a simple command line based note taking program. It will have a small menu to interact with the user. Taken notes will be saved in files with extention .ncat.

For this assignment you’re expected to implement all the functionality of - SimpleNoteTaker, Part I - SimpleNoteTaker, Part II - SimpleNoteTaker, Part III provided in spring term.

Task 2

Refactor your code. In addition to appropriate naming, clean and short and well-defined functions, apply what you have learnt from formatting lecture. Make sure that you don’t have any code smells in your code.

Grading

  • Functionality
    • Proper note taking commands:18
    • Proper CLI: 8
    • Wrong command detection and errors: 8
    • Warning messages: 6
  • Coding style
    • Names: 8
    • Functions: 10
    • Comments: 5
    • Formatting: 12

Penalties:

  • Absence of command line: -10 points
  • Keeping notes in an internal data structure instead of writing to file: -10 points
  • Using predefined paths for notes specific to your computer: -10