by Editorial | Jun 16, 2025 | Grade 11, Grade 12
Complex “if-then-else” statements are needed when there are many options e.g. consider all the options in a menu. Fortunately, there is a better way when a lot of options are needed i.e. the “Switch-Case-Break” construct. It works exactly the...
by Editorial | Jun 16, 2025 | Grade 12 - OOP
Here are Java OOP theory summary notes and Java OOP practical notes. These notes are not my own but were given to me by one of my students so I do not know who the original author is OOP theory OOP...
by Editorial | Mar 4, 2025 | Grade 12 - SQL, PWC grade 12 - All
SQL summary cheat sheet version 10 Click here SQL summary cheat sheet. Author unknown. Click...
by Editorial | Mar 3, 2025 | Grade 11, Grade 11 - SQL, Grade 12, Grade 12 - SQL
SQL TIPS for exams. STUDY the database first (at least 5 full minutes). Study both the data and the fields. Know how many records are in each table so that you can recognize any potential errors in the returned dataset. The better you understand the database, the...
by Editorial | Nov 11, 2024 | Grade 12 - PAT, Grade 12 - Search and Sort
Java has an “array” class that offers many useful methods that you can use in your grade 12 PAT. First you will need to import the Array class import java.util.Arrays; All the methods are static i.e. “Array.nameOfTheMethod”. Here is a list of...
by Editorial | Sep 15, 2024 | Grade 11, Grade 11 - Text Files, Grade 12, Grade 12 - text files
A Java program to write to a text file using PrintWriter (not FileWriter). This program reads in a text file using Scanner – a date and a boolean flag. It adds 45 days to the date and compliments the flag (true to false and false to true) It then writes the new...