GRADE 10
JAVA MATERIAL FOR GRADE 10 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 10 – Binary
Here is the best animation for binary - great for your junior IT students. Click here
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 10 – Critical algorithms
Ten critical algorithms for grade 10 (and 11 and 12) An algorithm is a series of sequential steps to solving a coding problem. The algorithms listed here below may seem very short but they are critical nevertheless - perhaps one could argue that they are concepts more...
Gr 10 – GUIs 102
The weather station project. How to code a Java weather station application (part of a much bigger project) that reads in temperature, wind speed, rain, and cloud cover from 4 different text files and then calculates the average value for each. The average value is...
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 10 – Java Core
Java Core concepts - Java 101 Java for grade 10 learners from January to mid-year exams. Below are four PowerPoint presentations/shows covering all Java core concepts. Download them and use them with the "Java by Example" textbook pages 1 to page 28. Java Core 1 -...
Gr 10 – Input Processing Output
A simple one-class, one-method calculator program that demonstrates INPUT, PROCESSING, and OUTPUT. Keep these sections separate even when working with larger and more complex programs. Also, keep your prompts and messages useful and user-friendly. Employ good layout...
Gr 10 – Intro to Java. Gogga
Assumption: You are going to use the IDE called jGRASP. To create a Gogga project you need to download the Gogga library published by Funworks. Funworks provides IT text books for grade 10, 11 and 12, both theory and Java. Click here to download the libary. The...
Integer overflow error video
The wonderful world of coding is full of tricks and traps. Here is a space rocket that blew up due to a simple coding error - an error you will be able to understand in the next few weeks.