Tianjing Meets the Real Problems
Tianjing took the Khan Academy Grade 5 course challenge for the second time—and got 27/30 again. 😂 Then she visited DMOJ.ca for the first time. After solving just two problems, her rank improved dramatically.
Before the class ended, she proudly demonstrated the homework from the previous lesson: a Python program that generates 15 random numbers and finds the largest one.
The screen filled with random arrays:
[18, 85, 53, 89, ...] → 89
[65, 36, 98, 45, ...] → 98
[89, 53, 29, 68, ...] → 98
The program worked repeatedly—not because she knew the answer beforehand, but because she had written a procedure for discovering it.
The for loop was becoming something more than Python syntax.
Tianjing was beginning to use a loop to express an idea: keep a candidate, examine the next item, and replace the candidate whenever something better appears.
And now DMOJ was waiting for the next step.
Today connected three different kinds of progress:
practice → algorithm → real problems.
Khan showed what she already knows. Her array program showed that she could turn an idea into code. DMOJ gave her problems she had never seen before.
Donald gave her the next challenge:
“Crack the 3rd one in DMOJ.ca.”