by Editorial | Jul 19, 2021 | Grade 11, Grade 11 - Theory, Grade 12, Grade12 - Theory, Windows 10
It is difficult to understand IT Theory if you don’t understand your own Windows computer. What type of processor do you have? Does it hyperthread? How much physical RAM and how much virtual RAM do you have? Are your USB ports 2.0 or 3.0? Does your computer boot...
by Editorial | Jul 6, 2021 | Grade 11, Grade 11 - Debug
Nested loops can be difficult to visualize and are easily misunderstood. Here is a presentation that uses the Step function in the Debug mode of jGRASP to show you exactly how 3 nested loops interact. Click...
by Editorial | Jun 13, 2021 | Grade 11, Grade 11 - OOP, Grade 12, Grade 12 - OOP, Grade 12 - Search and Sort
Searching an array in Java Searching for a value in an unsorted array is a standard algorithm that loops from the first element and moves to the last element. These are all two-class programs using an OOP approach where arrays are passed as parameters. Here the...
by Editorial | Jun 12, 2021 | Grade 11 - Critical algorithms, Grade 11 - OOP, Grade 12 - OOP
A typed method can only return one value. (Yes, a method MAY have several return statements but only one of them will execute depending on the condition.) Sometimes we need to return more than one value. To get around the limitation above we can return one array, that...
by Editorial | May 31, 2021 | Grade 11, Grade 11 - NetBeans, Grade 12 - Cheat Sheets
NetBeans can be very helpful – sometimes toooo helpful which is why we start coding in jGRASP. Here are some shortcuts to begin with . . . psvm <tab> – public static void main(String[]args) sout <tab> – System.out.println(”...
by Editorial | May 17, 2021 | Grade 11, Grade 11 - Text Files, Grade 12, Grade 12 - text files
Grade 11 – Reading in a text file into an array or into parallel arrays (array sets). Without a delimiter and with a delimiter. Grade 12 – Reading in a text file into an array of objects GRADE 11 1) Reading in a simple text file using the Scanner class....