Hong Kong · Informatics olympiad · HKOI Junior Group

Preparing for the HKOI Junior Group

The Junior Group is where most Hong Kong students meet HKOI for the first time, often in S1 or S2 and often with only school ICT behind them. We coach those students live, one to one and in English: first the habit of reading code exactly, then the searching, sorting and data structures the Junior syllabus names, then the step from Python into C++.

Teaching since 2020 · 10,000+ students worldwide · every Hong Kong class is one to one, live and in English

In short

The HKOI Junior Group is the younger division of the Hong Kong Olympiad in Informatics. For 2026/27 it is open to students born on or after 1 July 2010 with more than two years of secondary school left, usually S1 to S4, nominated by their day secondary school. Modern Age Coders prepares Junior students through live online classes in English, one to one, at times your family sets on Hong Kong time: code tracing for the written Heat, the Junior syllabus, and C++ for the Final. We never promise a place or a medal.

Courses for Junior students

Which course should a Junior Group student start with?

Most Junior students are twelve to fifteen. These three courses take them from careful reasoning to contest-ready code, in the order we usually teach them.

Eligibility

Who can enter the HKOI Junior Group in 2026/27?

A student has to meet every Junior rule at once: a birth date, a minimum number of school years still ahead, and a maximum. And, as for every HKOI entrant, the nomination has to come from a day secondary school in Hong Kong.

HKOI 2026/27 eligibility: Junior Group and Senior Group side by side
RuleJunior GroupSenior Group
Born on or after1 July 20101 July 2007
Latest stage of schoolMore than 2 years of secondary school left (S1 to S4 on the HKDSE route)Has not completed secondary school (S1 to S6)
Earliest stage of schoolFewer than 7 years of secondary school leftFewer than 7 years of secondary school left
Places per school8: 6 open to S1 to S4, 2 kept for S1 to S3 (pilot)8, any level
Entry routeSchool nomination onlySchool nomination only

Source: HKOI Organizing Committee, HKOI Rules (updated for 2026/27) and HKOI 2026/27 Apply, read on 23 November 2026. The rules describe the quota split as a "2026/27 Pilot, subject to review in subsequent years".

The new quota pilot, in plain words

Until 2025/26 a school could fill its eight Junior places with any eligible students. For 2026/27 HKOI reserves two of them for students with more than three years of secondary school left, which on the local route means S1 to S3. In the rules' own words, among the eight Junior nominees "at most 6 may be from S4 (or equivalent)".

For a younger student this is good news: schools now have a reason to put S1, S2 and S3 students forward. For parents it means a conversation with the ICT teacher in September is worth having, because nominations for 2026/27 closed on 27 October 2026 and HKOI recorded 528 Junior nominations against a quota of 600.

International-school years

Schools on non-local curricula use HKOI's Non-local Curriculum Level-of-Study Reference Table. The FAQ gives two useful examples. A Grade 6 student in the Middle School of an international school can enter, provided fewer than seven years of secondary school remain. A Year 11 student can enter the Junior Group only if more than two years remain, so not at a school that stops at Year 12.

A Junior-age student may choose the Senior Group instead; the FAQ answers a 15-year-old S4 student's question with "Yes it is allowed." No student can enter both groups, and HKOI charges no entry fee.

The numbers

Is the Junior Group easier than the Senior Group?

HKOI's own answer is "Not necessarily", and its 2025/26 statistics show why. The number of Final places and medals is fixed, so a crowded Junior field can make the Junior Group tougher, not gentler.

HKOI 2025/26 Heat Event: attendance, cut-off and median, out of 45 marks
GroupStudents who sat the HeatMark needed to reach the FinalMedian markAverage Heat mark of Gold medallists
Junior41525.016.540.0
Senior45021.513.534.7

Source: HKOI Organizing Committee, HKOI 2025/26 Statistics, Heat Event table. The last column is HKOI's "Average score of prize winners" for Gold, measured on the Heat, not on the Final.

Reading the Heat table

In 2025/26 a Junior student needed 25.0 marks out of 45 to reach the Final, against 21.5 in the Senior Group, and the Junior median was also higher. The Junior Group is not a softer version of the Senior one; the questions are pitched lower, but the students answering them are strong for their age, and the line to the Final moves with them.

HKOI's rules cap each group's Final at 96 students, apart from a small exception for students defending a Gold medal. The 2025/26 Final had 98 Junior finalists.

Reading the Final

The Junior Final in 2025/26 was marked out of 400, and the top Junior score was the full 400. The published cut-offs were 303 for Gold, 244 for Silver, 206 for Bronze and 172 for an Honourable Mention. In the Senior Group the Gold line was 234.

So the Junior Final rewards complete, correct solutions. A student who can fully solve two tasks and secure the early subtasks of the others is in medal territory; one who reaches the Final with only partial ideas usually is not. Coaching for the Final is therefore about finishing, not just starting.

Two awards exist only for younger students. The Best Young Contestant Award goes to the highest-scoring Junior finalist with more than three years of secondary school left, and a separate award for first-time contestants (Junior Group) to the highest-scoring Junior finalist entering for the first time. Both appear on the HKOI awards page. They are one reason some families start early; we still never promise them, or any result.

What is tested

What does the HKOI Junior syllabus cover?

HKOI publishes a short syllabus that it calls "a guide only". The Junior list is roughly what a careful S2 or S3 student can master in a year of steady work, and it is our checklist for Junior coaching.

The HKOI Junior syllabus, grouped, with how we teach each part (our plan)
Area in HKOI's Junior listTopics HKOI namesHow we approach it
MathematicsEuclidean distance (Pythagoras' theorem), primes, permutation and combination, modular arithmetic, Boolean algebraShort daily puzzles, solved by hand first and then checked with a few lines of code
Programming basicsVariables, expressions, functions, data types, conditionals, loops, string processing, arraysTracing tables: predict each variable's value line by line before running
SearchingLinear search, binary searchThe shelf lesson on this page, then searching for answers rather than items
SortingBubble, selection and insertion sort, quicksort, merge sort, counting sortSorting cards on camera, then counting swaps and comparisons in code
Data structuresStack, queue and linked list concepts, and the built-in libraries for themSimulating each structure with paper slips before using the library
DebuggingErrors and debuggingFinding the bug in our own broken programs, and explaining it in English

Topics: HKOI Competition Syllabus, Junior Group, read on 23 November 2026. HKOI notes that questions may go beyond the list. The third column is our method, not HKOI's.

Python or C++ for a Junior student?

At the Heat, Paper 1 has 25 marks of questions that apply to both languages, and Paper 2 has 20 marks in a Python version and a C++ version, of which the student answers one. So a Junior student can sit the Heat well with Python. At the Final, the rules make C++ the contest language and Python a "2nd-class" one that cannot solve every task.

In 2025/26, 216 Junior students chose Python for Paper 2 and 25 of them reached the Final; 199 chose C++ and 73 reached it. Students who pick C++ are usually the ones with more practice, so we read this as a sign of where experienced students end up, not as proof that the language alone makes the difference.

Our usual order

For an S1 student new to contests we teach the Junior content in Python, because the language is already familiar from school and the attention stays on the idea. From about the second term, we start writing each solution twice, Python then C++, until C++ feels as natural.

Students who want a fuller grounding in the language can read our C++ for beginners page, and parents comparing contests for this age will find the wider picture on our page about coding competitions for middle school students.

A real lesson

What does a Junior lesson look like? Searching a library shelf

Linear search and binary search both sit on the Junior syllabus. This is the task we use to teach them, written by us and not taken from any HKOI paper, and solved twice: once in Python and once in C++.

Our task, "The library shelf". A shelf holds 1,000 books whose catalogue numbers rise from left to right: 10, 17, 24 and so on up to 7003. To find a number you can walk along from the left, or you can look at the middle book and throw away the half that cannot contain it. How many checks does each method need, and is halving always better?

shelf.pyPython
# Our own practice task (Modern Age Coders), not an HKOI problem.
# A school library shelf holds books with catalogue numbers in increasing order.
# How many checks does it take to find a number by walking along the shelf,
# and how many by halving the shelf each time?

shelf = [7 * i + 3 for i in range(1, 1001)]     # 1,000 books: 10, 17, 24, ..., 7003

def walk(target):
    checks = 0
    for pos, book in enumerate(shelf):
        checks += 1
        if book == target:
            return pos, checks
        if book > target:                       # sorted shelf: we have gone past it
            break
    return -1, checks

def halve(target):
    lo, hi, checks = 0, len(shelf) - 1, 0
    while lo <= hi:
        mid = (lo + hi) // 2
        checks += 1
        if shelf[mid] == target:
            return mid, checks
        if shelf[mid] < target:
            lo = mid + 1
        else:
            hi = mid - 1
    return -1, checks

for target in [10, 3503, 7003, 3505]:
    p1, c1 = walk(target)
    p2, c2 = halve(target)
    print(f"book {target}: position {p1} after {c1} check(s) walking, position {p2} after {c2} check(s) halving")

worst_walk = max(walk(b)[1] for b in shelf)
worst_halve = max(halve(b)[1] for b in shelf)
print("worst case over all 1000 books: walking", worst_walk, "checks, halving", worst_halve, "checks")

Our own program. Run it with python3 shelf.py; it needs nothing beyond Python itself.

shelf.cppC++
// The same task in C++ (our own), to compare line by line with shelf.py
#include <iostream>
#include <vector>
#include <utility>
using namespace std;

vector<int> shelf;

pair<int,int> walk(int target) {
    int checks = 0;
    for (int pos = 0; pos < (int)shelf.size(); pos++) {
        checks++;
        if (shelf[pos] == target) return {pos, checks};
        if (shelf[pos] > target) break;        // sorted shelf: we have gone past it
    }
    return {-1, checks};
}

pair<int,int> halve(int target) {
    int lo = 0, hi = (int)shelf.size() - 1, checks = 0;
    while (lo <= hi) {
        int mid = (lo + hi) / 2;
        checks++;
        if (shelf[mid] == target) return {mid, checks};
        if (shelf[mid] < target) lo = mid + 1; else hi = mid - 1;
    }
    return {-1, checks};
}

int main() {
    for (int i = 1; i <= 1000; i++) shelf.push_back(7 * i + 3);
    for (int target : {10, 3503, 7003, 3505}) {
        auto [p1, c1] = walk(target);
        auto [p2, c2] = halve(target);
        cout << "book " << target << ": position " << p1 << " after " << c1 << " check(s) walking, position "
             << p2 << " after " << c2 << " check(s) halving\n";
    }
    int worstWalk = 0, worstHalve = 0;
    for (int b : shelf) { worstWalk = max(worstWalk, walk(b).second); worstHalve = max(worstHalve, halve(b).second); }
    cout << "worst case over all 1000 books: walking " << worstWalk << " checks, halving " << worstHalve << " checks\n";
}

The same program in C++, written so each function lines up with its Python twin. Compile with c++ -std=c++17 shelf.cpp -o shelf and run ./shelf.

Output (both programs)Output
book 10: position 0 after 1 check(s) walking, position 0 after 9 check(s) halving
book 3503: position 499 after 500 check(s) walking, position 499 after 1 check(s) halving
book 7003: position 999 after 1000 check(s) walking, position 999 after 10 check(s) halving
book 3505: position -1 after 501 check(s) walking, position -1 after 9 check(s) halving
worst case over all 1000 books: walking 1000 checks, halving 10 checks

The exact output. We ran both programs and compared their outputs character by character: they are identical.

What students notice first

Halving is not always faster. Book 10 sits first on the shelf, so walking finds it in one check while halving takes nine. Book 3503 sits exactly in the middle, so halving finds it in one check while walking takes 500. The question to ask is never which method is faster in one case but which is faster in the worst case.

Over all 1,000 books the worst walk needs 1,000 checks and the worst halving needs 10. Every time the shelf doubles, walking can need twice as many checks while halving needs only one more. That is the whole idea of logarithmic time, discovered by counting rather than by memorising a formula.

What the two languages teach

Side by side, the programs show how little changes between Python and C++. The loop, the middle index and the three-way decision are the same; C++ adds types, braces and an explicit pair for the two results. Students usually stop being afraid of C++ during this lesson.

There is also a trap to discuss. The search for 3505 fails, and the walking method stops at 501 checks because it notices it has gone past the place where 3505 would be. Without that early stop it would check all 1,000 books, and in a written Heat question that one line is exactly the kind of detail that changes the answer.

  1. Trace it on paper. For a shelf of 15 books, write down every value of lo, hi and mid while halving searches for the last book. Check your table by adding a print line.
  2. First and last copy. Some shelves hold two copies of a book. Change halve so it always returns the leftmost copy.
  3. Count, do not guess. Make the shelf 2,000 books long and predict the worst halving count before you run it.
  4. Explain it. Write three sentences in English telling a younger student why halving needs a sorted shelf.

The Junior calendar

When are the Junior Heat and Final for 2026/27?

The 2026/27 Junior Heat has already taken place, and the Final is close. For a student starting now, the real target is the next cycle.

  1. Heat, Saturday 7 November 2026. Held at the Chinese University of Hong Kong; the Junior session ran from 2:30 pm to 4:20 pm, two papers back to back with no break between them.
  2. Final, Saturday 5 December 2026. At City University of Hong Kong, 2:30 pm to 5:30 pm for the Junior Group: four programming tasks in three hours on the HKOI Online Judge.
  3. 2027/28. HKOI had not published dates for the next cycle when we checked on 23 November 2026. Its Heat dates in the last two years were 8 November 2025 and 7 November 2026, which suggests early November, but that is our reading, not an announcement.

A year sounds long, but for a Junior student it is about the right amount of time. Tracing fluency for the Heat takes a few months of steady practice; writing complete C++ solutions under a judge takes longer. Students with a strong Final already in reach may prefer our C++ classes for teens, and those curious about informatics olympiads beyond Hong Kong can read our IOI training page.

Before secondary school

Is there an HKOI contest for primary pupils?

Yes, a separate one: the Hong Kong Primary Schools Olympiad in Informatics, or HKPSOI, which uses block coding instead of text.

What HKPSOI is

HKPSOI is organised by the Hong Kong Association for Computer Education, the HKOI Organizing Committee and the Modern Educational Research Society. Its introduction page says both rounds use "the Blockly programming language". The Heat is a short online quiz played each day for ten days; the Final gives contestants an hour to solve problems on a tablet computer.

For 2026/27 the Heat runs from Monday 7 December to Friday 18 December 2026, weekends excluded, and the Final is on Saturday 20 February 2027. HKOI notes that the Heat is available only in Chinese.

How it connects to the Junior Group

Block coding builds the same habits that the Junior Group tests: sequence, loops, conditions and careful reading. A P5 or P6 child who enjoys HKPSOI is often ready to start typed Python, which makes S1 a natural year to begin Junior preparation.

Our classes are in English, so for a primary child we teach the same thinking in Scratch or Python rather than coaching the Chinese-only Heat. Our page on Python and AI for kids and teens shows that younger route, and the Hong Kong coding classes page lists every course by age.

Progress

How will we know a Junior student is ready?

Our own milestones for younger contest students, used to plan lessons and report to parents. They are not HKOI levels.

Junior readiness milestones (ours)
MilestoneThe student canHow we check
Exact readerSay what a 15-line program prints, including edge casesFive unseen fragments, no mistakes
Table keeperKeep a trace table for loops inside loopsA tidy table that matches a print-out
SearcherChoose linear or binary search and justify itThe shelf lesson extensions
SorterExplain three sorts and count their swapsA short talk-through on camera
Bilingual coderWrite the same solution in Python and C++Identical output from both
FinisherComplete a small task fully against hidden testsOur own judge-style tests passed

For students

Predict first, run second.

If the shelf is not sorted, halving lies.

For parents

The first milestone matters most for the written Heat.

Ask your child to explain one trace table at home.

More courses

What else suits a younger secondary student?

Nine more courses grouped by purpose, each taught in Hong Kong as live one-to-one classes in English.

I

Coding foundations

S1 and S2

JR / CODE / 01

Python for teens

The first text language, learned properly.

Open the syllabus

JR / CODE / 02

C++ for kids

A gentle C++ start for younger learners.

Open the syllabus

JR / CODE / 03

Maths through coding

Primes, patterns and counting with Python.

Open the syllabus
II

Contest maths

The maths half of the syllabus

JR / MATH / 01

Middle school maths contests

Counting, number theory and logic puzzles.

Open the syllabus

JR / MATH / 02

AMC 8 preparation

Timed contest problems for younger students.

Open the syllabus

JR / MATH / 03

Middle school maths

Pre-algebra and geometry, done thoroughly.

Open the syllabus
III

Alongside school

Exams and projects

JR / MORE / 01

IGCSE Computer Science

For international-school students on 0478.

Open the syllabus

JR / MORE / 02

Vibe coding for teens

Web and AI projects, checked line by line.

Open the syllabus

JR / MORE / 03

Scratch

For a younger sibling starting with blocks.

Open the syllabus

How classes run

When and how do the Junior coaching classes happen?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends.

After school

Mid-afternoon for the mentor, so a weekday lesson is easy to place.

Weekend

A calm hour for a longer task or a mock Heat paper of our own.

School holidays

Extra lessons in a holiday week, if your child wants them.

Same mentor

One coach follows your child from the first trace table onwards.

Pen and paper

Heat skills are practised by hand, on camera.

Two languages

Python first, then the same idea in C++.

Our problems

Practice written by our mentors, never copied from HKOI.

Short homework

Ten to twenty minutes, so school work comes first.

Parent notes

A few lines after classes on progress and next steps.

Student work

What have our students built?

Projects from students in our longer courses in several countries. See more in our student labs.

NutriLife AI nutrition coach project screenshot

AI and ML

NutriLife

An AI nutrition coach that reads what you eat and works you toward a target.

by Bhavya · Open it

Misti AI chatbot for maths and coding screenshot

AI and ML

Misti

A chatbot that answers mathematics and programming questions, built and deployed by a student.

by Harshit · Open it

GuardianX AI internet safety assistant screenshot

AI and ML

GuardianX

An assistant that helps a young person recognise unsafe situations online.

by Vivaan · Open it

SkyCast weather forecast application screenshot

Web app

SkyCast

A weather forecasting site with live conditions for any location.

by Krish

Fees

What does Junior HKOI coaching cost?

The fee is charged by the month and shown in Hong Kong dollars. You pay one month, then the next, with nothing paid in advance for a whole season. If a payment gateway adds a charge, you see it at checkout before paying.

Free first class

Free

no card required

  • A free first class
  • A tracing question and a small search task
  • Advice on where your child should begin
Book it

One to one

$1,200 HKD

a month, eight live classes

  • Eight live classes a month
  • One mentor, one student
  • Lesson hours that fit around school
Start here

What families say

Rated 4.9 across 547 Google reviews

What parents and students wrote on Google, unedited.

★★★★★

"The one step solution for my son. Modern Age Coders make learning coding so simple that kids love it. The teachers explain complex concepts clearly with practical exercises and interactive content."

Ria Mukherjee

Parent

★★★★★

"Modern Age Coders has been a game-changer for me. I struggled to grasp IT concepts and coding before joining, but their classes transformed everything. I can now confidently write complex programs with ease."

Samriddha Mondal

Student

★★★★★

"One of the most wonderful education centres out there. Education is not limited to school syllabus but focuses on skill development."

Vansh Agarwal

Student

★★★★★

"My child Dhairya is really enjoying the Modern Age Coders classes. This is his first online class and he eagerly looks forward to it. I can already see his improvement, and the teachers are very cooperative."

Sonam Oswal

Parent of Dhairya

★★★★★

"Modern Age Coders have wonderful teachers who teach in a clear, easy and practical way. The teacher boosts students' confidence and inspires them to learn without hesitation."

Sonu Goyal

Parent

★★★★★

"I highly recommend this computer coding class! The teachers are incredibly knowledgeable and passionate about coding."

Ritu Kedia

Parent

Junior questions

HKOI Junior Group: questions and answers

What is the HKOI Junior Group?

It is the younger of the two HKOI groups, for students with more than two years of secondary school left (usually S1 to S4) who meet the birth-date rule. For 2026/27 that means born on or after 1 July 2010.

How does my child enter?

Only through their school. HKOI accepts nominations from registered day secondary schools in Hong Kong, so speak to the ICT teacher. We cannot nominate anyone, and HKOI charges no fee.

Is the Junior Group easier?

Not necessarily. HKOI says so in its FAQ, and in 2025/26 the Junior cut-off for the Final was 25.0 out of 45, higher than the Senior cut-off of 21.5.

Can my S1 child start preparing now?

Yes. S1 is a good time. The 2026/27 pilot also keeps two of each school's eight Junior places for S1 to S3 students, which gives younger students a better chance of being nominated.

Should my child use Python or C++?

Python is fine for the Heat, which has a Python version of Paper 2. For the Final, HKOI makes C++ the main language, so we move students into C++ during their first year with us.

Do you promise a place in the Final or a medal?

No. We coach the skills and give honest feedback. Results depend on the student and on HKOI's judging, and we never promise them.

Are classes taught in English?

Yes, live and online, by mentors based in India. We do not teach in Cantonese or Putonghua. Mentors speak clearly and type key terms in the chat for younger students.

Are classes one to one?

Yes. For Hong Kong families we only teach one to one, with one mentor for your child in every class.

When are classes held?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. India runs 2 hours 30 minutes behind Hong Kong all year, so a 4:30 pm lesson for your child starts at 2:00 pm for the mentor.

Does my child need to know maths for the Junior Group?

Some. The Junior syllabus lists primes, counting, modular arithmetic, Boolean algebra and Pythagoras' theorem. We teach these alongside the coding, through short puzzles.

How is the fee paid?

Monthly, shown in Hong Kong dollars, one month at a time. Any gateway charge appears before you confirm payment.

Related

Where to read next

Pages Junior families often open next.

Coding classes in Hong Kong

Every Hong Kong course, by age.

Competitions for younger students

Other contests for ages 11 to 14.

C++ for beginners

The language the Final expects.

Maths olympiad classes

For the maths side of the syllabus.

Thinking first

Why we ask students to explain before they run code.

How we teach

Inside a live one-to-one lesson.

More pages for Hong Kong

Part of the guide: Every Hong Kong page

More guides: Coding and AI classes in Hong Kong · 中文:英文授課編程課程 · Start here: Online coding for kids · AI, vibe coding and AI agents: AI agents course · Coding subjects and courses: App development · By age and school level: Adults · HKDSE ICT and maths: DSE ICT elective guide · IB, IGCSE, A-level and SAT: A level Computer Science tutor · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay

Start here

Book a free first class for a Junior student

Tell us your child's form, school curriculum and any coding they have done. In the free class the mentor asks your child to trace a short program and try a small search task, then suggests a starting point, all live and one to one.

Curious first? How we teach walks through a class, and the full course list is on our courses page.

WhatsApp us · +91 91233 66161 · connect@modernagecoders.com

Taught live online in English by mentors based in India. WhatsApp in English gets the quickest answer.

No card needed and nothing to sign.

Want a class sooner? Book a priority demo

A priority demo is a full class of about 45 to 60 minutes. After the class the mentor sends a written skill report and a personal learning roadmap on WhatsApp. If you enrol, the demo fee is adjusted against your first month's fee. Share your demo Order ID with us on WhatsApp and we take it off.

Book a priority demo

Keep exploring Modern Age Coders

Related courses and guides

Learn more

Free resources

From the blog

Start here

Free classPriority demoCall us