Pages

PA1-APCSA-17-18

Programming Assignment 1

AP Computer Science A, 2017-2018

Instructions

  1. Read these instructions completely before beginning this assignment.
  2. If you have not already done so, follow the links on the Draw me a ... → See Also tab and read about Javadoc comments.
  3. Do Draw me a ... → Exercises → #4 and #5. Follow the instructions given in the exercises very carefully.
    • Use Windows Notepad to enter the source code that you submit for grading.
    • Save your source code in a file named PrintProgSays.java using Notepad’s default (ANSI) encoding option.
    If after attempting to understand the instructions you are unsure about what you are supposed to do, ask Mr. Spurgeon for help.
    • Do not look at anyone else’s source code!
    • Write your own code!
    • Cite your sources and any collaboration directly in the file PrintProgSays.java using Java comments. (Collaboration that does not involve source code is okay as long as you cite it.)
  4. Make sure that the program you submit for grading compiles and executes as you expect it to before submitting your work.
  5. Appended the following comment to the bottom of the program that you submit for grading. Work that is submitted without this comment will be ignored completely; it will be as if you did not do the assignment.
    /*****************************************************
     * I understand that this is a graded programming
     * assignment and that I have been instructed to
     * do my own work and cite all forms of collaboration.
     * I understand that this means I should not look
     * at anyone else's source code and that I should
     * not share my source code with anyone.
     *
     * The Java program above is my own work. Unless I
     * have confessed in writing in this document,
     * I attest that I did not look at anyone else's
     * source code, I did not share my code with anyone,
     * and I have cited my sources, including all forms
     * of collaboration, in writing in this document.
     *
     * I understand that if I have claimed anyone else's
     * work as my own or if I shared my code with anyone,
     * then I will be penalized if caught, and I
     * understand what the penalties for cheating are.
     *
     * I understand that I must print a copy of this
     * document, sign it, and submit the signed document
     * before my work will be considered for grading.
     ****************************************************/
    
  6. When you are convinced that your program is ready for grading,
    • Attach the file PrintProgSays.java to a new email message.
    • Use the following text as the subject of the email message: Programming Assignment 1.
    • Address the email message to: jspurgeon@vcstudent.org.
    • Send the message.
    • Print a copy of the source code file you submitted.
    • Print you name in the upper right hand corner of each page as you have been doing in class.
    • Sign your name below the final comment on the last page of your printed program.
    • If your source code spans multiple printed pages, staple the pages together in order.
    • Put the signed hard-copy in your personal folder in the filing cabinet in room 209.
  7. If you decide to resubmit work for this assignment prior to turning in a signed hard-copy of your work, only the most recently submitted work will be graded; however, once a signed hard-copy has been received, no additional submissions will be accepted.
  8. The assignment is due by 11:59 PM (PST) Saturday, 23 September 2017. The date of the email message you send to Mr. Spurgeon will determine whether your work was submitted on time or not. Don't wait until the last minute to turn in your work. One second late will be treated the same as 1 day, 23 hours and 59 minutes late.