JAVA TEACHER FOR STUDENTS
All the Java material you need as an IEB Information Technology (IT) student in South Africa.
Java Teacher does focus on IEB material for South African students doing grade 10, 11 and matric computer science but the resources in this website will assist first year IT university students as well.
How to use this site
Java Teacher is not a sequential Java textbook. Instead, it is a Java and SQL encyclopedia.
There are two ways to get help.
- On the right, you will find the topics sorted by grades.
- On the top right you will find a search bar where you can search by keywords eg class diagram, rounding, tracetables, debug etc
- This site is based on the Java by Example approach – less explanation and more examples. View or download the coded examples and study them, code them, run them, edit them, break them . . . this is how professional coders learn.
- There are two “Java by Example” textbooks that are a companion to this website. These textbooks offer an sequential learning experience grade by grade.
Java Teacher is passionately built and supported by Steve Eilertsen, an IT teacher at a private school in Johannesburg.
“This is my give-back strategy for IT learners who are passionate and gifted but do not have access to a suitable teacher.”
Online tutoring is available for matric learners in preperation for the PAT, Prelims and Finals for the remainder of 2026.
Gr – 11/12 GUI images problem
Many learners have the problem of missing images from their Java JFrameForms when they move their PAT projects from one computer to another. The reason for this is that the path to the image has been hard coded (see examples below) In lines 81, 82 and 91 the...
Gr 11 – Date Time
Everything you need to know about time and date contained in 17 Java mini example programs. How to create date-time objects, and how to do date-time calcultions. The text file contains the method analysis tables for each method used. Sorting with the bubble sort...
Gr 10 – Nov exams memos
November 2021 exam papers and memos for both the Java practical exam as well as the IT Theory exam Theory Paper Memo Practical Paper and memo
Gr 12 – Prelim Theory 2022
Here is the four term prelim theory examination paper from the Pretoria IEB cluster. Click here for the exam paper Click here for the memo
Gr 11 – GUIs and 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 OOP...
Gr 12 – Prelim Java Prac 2022
Here is the 2022 four term prelim practical Java examination paper as prepared by the IT teachers of the Pretoria cluster. . Question one is SQL and question two onwards, is the Java. Learner files are plain text files and a MS Access database (Tour de France) Click...
Gr 11 – Network basics
Good video on networking basics - LAN, WAN, router, gateway, IP address, firewall etc Click here
Gr 11 – July exams memos
Here you will find the grade 11 exam papers from July 2022. The IT theory paper and memo as well as the Java practical paper and memo. Theory exam paper Theory exam memo Java practical exam paper and memo
Gr 10 – July exams memos
Here you will find the exam papers from July 2022. The IT theory paper and memo as well as the Java practical paper and memo. Theory exam paper Theory exam memo Java practical exam paper Java practical exam memo
Gr 10/11/12 – Boolean Logic
Boolean Logic. AND OR and NOT. Search engines, Expressions. Functions. Truth tables with 2 and 3 variables. Click here for part one Two more examples
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...