GRADE 12
JAVA MATERIAL FOR GRADE 12 STUDENTS
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...
Gr 12 – Date/time format
There are times when you need to present a stored value in a different format . . . Real number example - 8.987578. Here you may prefer to say 8.99 Date example - "2018-1-1". Here you may prefer to say "1 January 2018" Java has a number of String formatting methods...
Gr 12 – date/time text file
Reading records from a text file.Three class program creating an array of people objects - uses LocalDate class. Fields are as follows - First Name, Last Name, Date of Birth. NOTE: The date in the text file is in default date format for LocalDate i.e. "yyyy-MM-dd" ...
Gr 10,11,12 – Pause
There are times when we wish our Java code would run a lot slower e.g. when we want to count down from 10 to 0 with 1-second intervals. Here we can use "Thread.sleep(milliseconds)" see line 22 below. Note that the sleep period is not precise as your computer is...
Gr 12 – IEB 2020 exam papers
Here are the 2020 IEB IT exam papers with marking guidelines ((copyright IEB) Click here for theory. Here for the appendix for the theory paper Click here for practical Section A: SQL files - Database HopeDB MsAccess.mdb JavaDB MySQL Section B: Java clients...
Gr 11,12 – JSON
JSON is a file format or text-based data structure that we can use with, or in place, of text files. JSON is intended to replace file format XML which you may have come across before. Here is a video explaining JSON Click here IT teacher Sandra De Lange shared this...
IEB Information Technology Tutor (Matric) South Africa