Throughout much of our study and development of human cognition and its replication in the various forms of artificial intelligence, there has been an underlying assumption from which we have based our work…
Hey guys! So, this time, we’re going look at other methods we can use to construct proofs when just deriving from the premises isn’t enough. Conditional Proof (CP) The setup: Basically, you use this method […]
So, recursion, one of the hardest units in APCS. The concept is pretty easy but the execution is a bit trickier. Today, I’m going to pass on a trick that my teacher taught me on […]
“What good fortune for governments that people do not think.” – Adolf Hitler In humans, there has always been an intrinsic struggle between the self and others. We must be able to maintain a […]
Alright, it’s time to tackle 2D arrays and arrayLists. 2D arrays are basically arrays of arrays. First off, 2D arrays: 2D Arrays To start off with, the declaration and instantiation. Since 2D arrays are objects, we […]
Sorting methods as it pertains to arrays isn’t the simplest thing to wrap your head around but the concept and the way they should work should be pretty intuitive. You would need to know about […]
Arrays are basically lists of things. This list can contain both objects and primitive data. The basic array can be declared and instantiated as such: (data type)[ ] (arrayname) = new (data type) [(number of […]
This lab review goes over three labs within Chapter 2: the base conversion lab, the circle lab and the string manipulation lab. Even if you aren’t an AP Comp Sci student, if you are learning Java and want some practice, these lab reviews are a good resource. Chapter 2 covers the concept of objects and primitive data.