GRADE 12
JAVA MATERIAL FOR GRADE 12 STUDENTS
Gr 12 – Prelim Java Prac 2022
Here is the Java prelim paper 2022 written in the month of July. There is the exam paper, the memo, two text files and one Access database. A reminder that you must actually do the paper without looking at the memo.- or only look at the memo when you have spent time...
Gr 12 – OOP practical with text file
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....
Gr 11, 12 – Debug with NetBeans
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...
Gr 11, 12 – Inheritance demo
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...
Gr 12 – SQL practical
Here is a SQL exercise based on the 2022 SQL exam set by Dr C Kader and moderated by Mr T de Jager and Mr R Viljoen of the IEB Pretoria 480 cluster. In some cases you may find comments which can be annoying if you print the documents shown below. These can be turning...
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 advantage...
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 eight versions of this program. The first versions has no OOP...
Gr All – Generate random
Being able in Java to generate a random number, from an arbitrary number, to another arbitrary number (from lower bound to upper bound). Note that the lower bound is included and the upper bound is excluded. Example: If the lower bound is 2 and upper bound is 15, 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...
IEB Information Technology Tutor (Matric) South Africa