by Editorial | Oct 11, 2022 | Grade 11, Grade 11 - GUI, Grade 11 - OOP, Grade 12, Grade 12 - OOP
And the passing of parameters. Here is the same app using GUIs coded in two different ways – the first has no OOP programming while the second does. The first is a one-class program. The second is a two-class program. In your grade 12 PAT project you have to use...
by Editorial | Aug 26, 2022 | Grade 12, Grade 12 - Inheritance, Grade 12 - OOP
This one hour, 2022 OOP exercise comes from an exam paper set by M Walker and moderated by H Peuckert and R Viljoen from the Pretoria 480 IEB IT cluster. The mark allocations are also shown. Concepts in this exam. Reads from a text file. Creates an array of objects....
by Editorial | Aug 26, 2022 | Grade 11, Grade 12, Grade 12 - Debug, Grade 12 - OOP
Using the Java Debugger in NetBeans is not as easy as it looks. Here is a demo with a four class program that uses inheritance. Click here to download If your knowledge of Java inheritance is not good perhaps you should watch this presentation first. It also...
by Editorial | Aug 25, 2022 | Grade 12, Grade 12 - Inheritance, Grade 12 - OOP
Here is a helicopter overview of how inheritance works using the NetBeans Debugger. Click here to download presentation Here is the code for the four classes for you to examine (many topics in the code have not been discussed in the presentation as this is an...
by Editorial | Feb 8, 2022 | Grade 12 - OOP, Grade 12 - text files
Reading in a text file into an array using the Scanner class and using OOP principals eg static variables and methods, creating objects, passing parameters. This program also uses String handling. There are eight versions of this program. The first versions has no OOP...
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...