Dear Grok Academy users,
We're updating the Grok Academy Terms of Use and associated policies to address updates to our product
We've outlined the main changes below.
  • We updated the ownership of the Grok Platform to KIK Innovation Limited.
  • We have added a third party customer support provider to our list of sub-processors (HubSpot).
  • We have added a list of all sub-processors Grok uses that includes detail on what the purpose of the data collection is and where your data is stored.
  • Minor updates to policy wording to ensure accuracy.
The updated Terms of Use and policies will go into effect on 1 September 2025. You can read the complete updated Terms of Use and policies by visiting the link above.
By continuing to use Grok Academy past 1 September 2025, you accept the updated Terms of Use and acknowledge receipt of the updated policies. If you don't agree, you'll need to stop using Grok Academy and delete your account by following the instructions found here.

Thank you for using Grok Academy, your home for Digital Technologies education.

Intro to Programming - Blockly

ModuleTopics Programming Skills
Talking to your ComputerWriting a simple program
  • Print a string
  • Store things in variables
  • Read input from the user
Calculating ThingsBlockly as a calculator
Data types
  • Use mathematical operations (+ - * / **)
  • Use strings
  • Find the length of a string
  • Convert between numbers and strings
  • Print out numbers and strings
Making DecisionsMaking decisions with if statements
Conditional operators
  • Use the if/elif/else control structure
  • Understand the difference between assignment and comparison
  • Make numerical comparisons using (> < = != >= <=)
  • Use nested if statements
Manipulating StringsUsing and changing strings of characters
  • Check for substrings within a string
  • Use strings in conditional expressions in if statements
  • Change the case of a string
  • Replacing parts of a string
Repeating thingsString indexing
Using for loops
  • String indexing
  • Loop over the characters in a string
  • Loop over a range of numbers
  • Loop in steps
  • Loop backwards
Using loopsMore looping
Data types
  • Sum numbers using a loop
  • Understand the difference between floats and integers
  • Looping over characters
  • Checking the ends of a string
Looping in the unknownUsing while loops
  • Looping while something is true: while loops
  • Stepping in while loops
  • Infinite loops
  • Reading multiple lines from the user
  • Using counters
  • Looping over characters
  • When to use for vs. while loop
  • Factorisation: worked example
Advanced loopingString slicing
Flags
  • Finding a substring within a string
  • Slicing strings
  • Setting flags in loops