Sunday, 2 November 2014

Chapter 2 Assignment - Due Friday November 7

  1. Read Chapter 2 - Variables and Types
    1. make sure to understand the glossary words
      glossary word examples are in S:/Handout/Mills/It12/Chapter 2/Chapter2GlossaryExamples.Java
  2. Complete
    • Exercise 2.2 
      • For the time use Monday November 3, 2014
    • Exercise 2.3 
      • For the time use 14:10:19 (ie. 2:10pm + 19 seconds)
Instructions to create and hand in assignment
  1. Copy  the folder S:/Handout/Mills/It12/Chapter 2/Chapter 2  Code folder and its contents into your It12 directory
  2. Rename Chapter2_FirstnameLastname.java so that FirstnameLastName is replaced with your name
    eg. Chapter2_JustinBieber.java
  3. In the same file rename all instances of Chapter2_FirstnameLastname to match the updated filename
    Note: In Java the class name and file name must match or else a compiler error will occur
  4. Follow teacher's instructions to properly set up file. Phones/youtube/game should be off and away!!!
  5. When handing in the assignment -ONLY- handin your renamed Chapter2_FirstnameLastname.java file




***Build after each few statements added. It is much easier to find syntax errors this way***

Build/Run Shortcuts
  • CRTL+S   - save
  • F6             - build (set up via configure->customize->keyboard->Build->Build File)
  • F5             - run
Other Shortcuts
  • CTRL+C   - copy
  • CTRL+X   - cut
  • CTRL+V   - paste
  • CTRL+Z    - undo
  • CTRL+Y   - redo


Features to try
  • View -> Class View

No comments:

Post a Comment