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 6, 2025 | Grade 10 - SQL, Grade 11 - SQL
Here is a paried down SQL summary suitable for grade 10 and 11. Version 10 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 | Feb 22, 2025 | Grade 11, Grade 11 - Date time, Grade 11 - Text Files, Teacher
Asks for your full name and ID number. Determines the time right now. It reformats the name. It reformats the date of birth from the ID number. It determines the gender from the ID number. It creates a single output String which it prints to both the monitor and an...
by Editorial | Feb 2, 2025 | Grade 11 - NetBeans, Grade 11 - OOP, Grade 11 - String and Character Handling
Here is a PowerPoint showing the following. Using String handling with OOP – a UI class for the interface and a manager class for the methods. Organizing your One Drive account with your coding projects using NetBeans.Passing a string parameter from one method...
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...