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 10 – Flowcharts tracetables more
Here is another flowchart, tracetable exercise with solutions. Click here to download.
Gr 11 – Class Development
Java - One class many methods, static methods Calling classes from a main method Parameter passing Void and typed methods Constructors. All these topics are covered by the chapter from "Java by Example" PWC - For July exams 2020 study pages 1 to 20 Click here to...
Gr 11 – One Class Static Methods
Like with any program write a bare bones program first. Get the framework to run, then you can begin to answer the precise question. Here are two examples demonstarting bare bones examples of a one class program with static methods Click here
Gr 12 – Cloud Computing
-Cloud Computing. SaaS - Software as a Service. Here End-Users can use existing applications online usually through their browser. Software is not downloaded and is usually paid for monthly. Example: Using a wordprocessor offered by Google. PaaS - Platform as a...
Gr 11,12 – PAT 3B. GUI JFrameForm
We are going to create a graphical user interface for this java program that also reads in a text file. The comments will describe what it does and how it works. The process has been broken down into a number of short steps to make downloading easier. Here is a copy...
Gr 10 – Networking Notes 1
Here are the class notes for Networking 1 for grade 10 Click here to download.
Gr 11,12 – Defensive Programming
Garbage in = garbage out. If your user inputs unexpected values from the keyboard your program can crash or give the incorrect result. Defensive programming is the way that we avoid this. Defensive programming is also super useful for login methods. NOTE: Use...
Gr 12 – OOP and Pseudocode
The final question of your theory paper is usually OOP, pseudocode, algorithms flowcharts and tracetables. Here is question 7 of the IEB Thoery paper supplementary 2019. To answer it you need to know how to set out a class diagram (part of the OOP part of the...
Gr 11,12 – Gateways and more
Gateways, Routers, Firewalls, Proxy Server, Bridges . . . A gateway is a hardware device that acts as a "gate" between two networks. It may be a router, firewall, server, or other device that enables traffic to flow in and out of the network. While a gateway protects...
Gr 12 – Algorithms TraceTables
Be able to read a program written in pseudocode and then fill out the relevant tracetable. Here is an example for download. Now create your own trace table with differing values for ageArr for the example above. ageArr[0] = 5 ageArr[1] = 17 ageArr[2] = 48 ageArr[3] =...
Gr 11, 12 – Internet and IP
How does the Internet work? IP addresses, DNS servers, fibre cables, data centers, TCP/IP, radio magnetic waves, microwaves, protocols. Click here to watch the video on YouTube
Gr 12 – PAT. Neat columns
Neat, readable output formatted into columns is an important part of our programming. Method One Up to this point the escape character "\t" has been offered as a means of arranging your work in columns. Only works if the data in the fields is more or less the same...
Windows 10 – Power User
TechRepublic is a great sourse of current IT information. They have a great daily newsletter that you can subscribe to. Knowing Windows 10 better is a huge advantage. Here are two guides. Pro tips for Windows 10 Additional Windows 10 Power Toys .
Gr 12 – SQL Term Test
Here is a SQL Term Test based on the Ms Access database "BP Challenge" (Slightly modified. I do not know who the original author of this database is.). The database can be opened and SQL queries written in SQLBrowser (so you don't need to have a copy of Ms Access)...
Gr 10 – Algorithms and Flowcharts 1
Being able resolve an everyday problem into a number of logical steps is a critical programming skill. We can represent a solution (algorithm) using a flow chart or pseudocode. Trace tables are a useful tool that assist us to understand how the program moves from the...