User Tools

Site Tools


qtr_1_study_guide

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
qtr_1_study_guide [2019/10/04 12:52] frchrisqtr_1_study_guide [2019/10/04 12:54] frchris
Line 14: Line 14:
   - dangling else statements (p 148)   - dangling else statements (p 148)
   - forgetting to have a method return something of the correct type    - forgetting to have a method return something of the correct type 
-  - **Do not** add a ''System.out.print'' when no printing is requested (This can be a 1 or 2 point 'Extraneous code that causes side effectpenalty on the AP Exam)+  - **Do not** add a ''System.out.print'' when no printing is requested (This can be a 1 or 2 point **Extraneous code that causes side effect** penalty on the AP Exam)
   - **Do not** use local variables with first declaring them ( also a AP scoring penalty)   - **Do not** use local variables with first declaring them ( also a AP scoring penalty)
-  - **Do not** assign a value to a parameter inside a method  (also a AP scoring penalty)+  - **Do not** assign a value to a parameter inside a method unless you are asked to (also a AP scoring penalty called **Destruction of data**)
   - return statement on a constructor, or a method that isn't supposed to return something (a 'void' method).  This too has a AP scoring penalty)   - return statement on a constructor, or a method that isn't supposed to return something (a 'void' method).  This too has a AP scoring penalty)
    
 Finally, please remember to get a good night's rest and a healthy breakfast! Finally, please remember to get a good night's rest and a healthy breakfast!
 Good Luck! Good Luck!
qtr_1_study_guide.txt · Last modified: 2023/10/09 09:23 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki