by Editorial | Aug 21, 2026 | Grade 12 - SQL
Random numbers with predictable starting and ending values eg 1 – 10, 1 – 100, 1 -1000In SQL we use the RND( ) function. Inside the round brackets goes the seed value (an integer value) Generating a random number requires a few steps. A) Generating a...
by Editorial | Nov 2, 2021 | Grade 10, Grade 11, Grade 12
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 and upper bound is included. Example: If the lower bound is 2 and upper bound is 15, the code below will...
by Editorial | Mar 7, 2021 | Grade 11, Grade 11 - OOP, Grade 12
This series of programs offer an integrated approach i.e. learning arrays, random numbers, reading from a text file, and Object Orientated Programming (OOP) as single progression from the first example program to the last. The first one is a one-class program with...