by Editorial | Oct 30, 2021 | Grade 11, Grade 11 - Critical algorithms, Grade 11 - OOP
You must be able to code these algorithms quickly. Click on links for some of the solutions offered as a download. 1) Determine if a number is odd or even. 2) Find the bigger of two values. 3) Swop two values around. 4) Check username and password – allow or...
by Editorial | Aug 26, 2021 | Grade 11, Grade 11 - OOP, Grade 12, Grade 12 - OOP
Class diagrams are a critical part of any OOP exam in both grade 11 and 12. In the practical exam paper, it is part of the question and must be coded (followed) exactly. In the theory paper, you will need to be able to create your own class diagram according to the...
by Editorial | Aug 14, 2021 | Grade 11, Grade 11 - OOP
Java – Three class template. In the grade 11 exam you are expected to write applications with at least three classes i.e. A UI class. Creates the manager class. Calls the methods it needs. May have some input and output. A manager class for all your methods. A...
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 | Mar 7, 2021 | Grade 11, Grade 11 - OOP, Grade 12
This series of programs offer an integrated approach i.e. learning arrays, random numbers, reading from a text file, and Object Orientated Programming (OOP) as single progression from the first example program to the last. The first one is a one-class program with...