Tag Archives: AP Computer Science

5 Tips for the AP Computer Science A Exam

Tip 1  : Floating Point Error! If you are asked to compare doubles with either “==” or “!=” the answer is probably “Floating point error”!   (demo of floating point error in Java)   Tip 2 : Constructors are not inherited! The code below fails because constructors are not inherited! public class SuperClass{ } public class … Continue reading 5 Tips for the AP Computer Science A Exam →

AP Computer Science A Labs

AP Computer Science Labs Requirement There has been a lot of confusion about whether or not the new labs requirement for the AP computer science A exam. In short, these ‘required’ labs do not ever need to be verified so they’re not really required. The only thing that the labs seem to have done is … Continue reading AP Computer Science A Labs →

Passing by Value vs. by Reference Visual Explanation

    When writing software code, you will spend a lot of time defining, reading and changing variables. Using a variable means you use a descriptive word in your code which holds some information (a number, some text, an object, etc.). This descriptive word is the “title” of the stored information. For example: [crayon-662a68961b5b7950562742/] Variables … Continue reading Passing by Value vs. by Reference Visual Explanation →