GRADE 12
JAVA MATERIAL FOR GRADE 12 STUDENTS
Gr 10 11- GUIs 101
Teacher's Calculator - Learning how to create GUIs in Java takes your coding to the next level and empowers you to start your Grade 12 PAT project. Up to this point your coding has had to run sequentially from top to bottom without user interventions. The big...
Gr 12 – Critical OOP textfile
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 five versions of this program. The first versions has no OOP...
Gr All – Generate random
Being able in Java to generate a random, from an arbitrary number, to another arbitrary number (from lower bound to upper bound). This program generates 20 random numbers to ensure that both the upper bound and the lower bound feature in the solution. Here is the...
Gr 12 – GUI Cheatsheet
When coding your Java GUIs in JFrameForm you will need the same lines of code over and over again. Because GUIs are only in the PAT, you do not have to memorize structure or syntax; you can just use a cheatsheet to remind you how to structure each line of code. Here...
Gr 12 – PAT help files
When preparing your Java application program for your grade 12 PAT project, you need to include online help for the user eg dialog boxes, helpful messages and prompts, tooltips, and of course context-sensitive help for each of the major GUIs. Context-sensitive help...
Gr 12 – Inheritance Calculations
Your Java Parent class must do the calculations on behalf of your Child class. How is how to do it . . . Click here to download presentation.
Gr 12 – SQLite
SQLite is a serverless SQL solution which makes it perfect for your grade 12 PAT. It is also suitable for a LAN with tight security restrictions. SQLite is open source and is perhaps the most used code on the planet - it is even in your browser software. Most of the...
Gr 11 – GUIs 102
The weather station project - Grade 11 This Java project is similar to the grade 10 project but a much higher level of sophistication is required - in how the four text files are read in for example. The grade 11 version uses 4 arrays which the grade 10 version does...
Gr 11,12 – Class Diagrams (UML)
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...
Gr 12 – Practice Prelim Java
Create a four-class program - a single array of contestant objects with inheritance - some contestants have donated and some have not. UI class , manager class, contestant class and donor class which is a sub class of contestants Contestants - Fields and datatypes...