Skip to content

Course home

x
Random number generation in a programming language
x

What random number generation means

What random number generation means

Random integer generator showing lower bound 1 and upper bound 6 with outputs 1 to 6, plus a 0-indexed list using RANDOM_INT(0, 4) to select a valid item Random number generation lets a program produce an unpredictable value within limits chosen by the programmer. At GCSE level, you focus on using the function correctly, not on how the computer creates the value internally.

Random number generation in a programming language Lesson

  1. GCSE
  2. /Computer Science
  3. /Random number generation in a programming language

Step-by-step lessons on AQA GCSE Computer Science Random number generation in a programming language. Each one builds up to exam-style questions. Build strong foundations in binary, logic and core programming constructs before moving on to the more complex algorithm design and evaluation questions.

Lessons