This study notes covers Random Number Functions within Merge Sort for GCSE Computer Science. Revise Merge Sort in Algorithms for GCSE Computer Science with 15 exam-style questions and 10 flashcards. This topic appears less often, but it can still be a useful differentiator on mixed-topic papers. It is section 4 of 7 in this topic. Use this study notes to connect the idea to the wider topic before moving on to questions and flashcards.
Topic position
Section 4 of 7
Practice
15 questions
Recall
10 flashcards
Random Number Functions
| OCR Pseudocode | What It Does | Example |
|---|---|---|
| random(min, max) | Returns random integer between min and max (inclusive) | random(1, 6) // dice roll |