Hong Kong · Age 16 · Mostly S5, Year 11 or 12

Coding for 16 year olds in Hong Kong

At 16, coding has to earn its place in a crowded week. It earns it in one of three ways: marks in an exam, a result in a contest, or a project that shows a university or employer what you can do. We teach 16-year-olds in Hong Kong one to one, live and in English, with a plan built around whichever of the three matters to them.

Live classes since 2020 · 10,000+ students worldwide · 16-year-olds in Hong Kong learn one to one, in English

What a 16-year-old should know

Coding at 16 is worth it when it serves a goal: an exam such as HKDSE ICT, IB or A level computer science; a contest such as HKOI, where C++ is the main language; or a portfolio project for university. In Hong Kong most 16-year-olds are in S5, so time is tight. Modern Age Coders gives 16-year-olds live online lessons, one to one and in English, from mentors in India at whatever Hong Kong hour fits: exam programming, algorithms, or a real project, planned around school. The first class is free.

Courses first

Which coding course suits a 16-year-old?

One course per goal. Many 16-year-olds take one now and add another after their exams.

Sixteen in Hong Kong

Which school year are Hong Kong 16-year-olds in?

More than half are in S5, the middle of the three DSE years. The EDB's age-by-grade table for 2025/26 shows the rest spread from S3 to S6.

Hong Kong 16-year-olds by school year, September 2025
School yearStudents aged 16For a coder, this year usually means
S31,864Choosing senior subjects
S48,248First DSE year; ICT basics if chosen
S529,770Electives and SBA work; the busiest coding year for ICT students
S612,450Exam year; HKDSE in April 2027 for this cohort
S7 (non-local courses)485Final year of a non-local curriculum
All years53,173Includes small numbers in S1 and S2

Source: EDB, Student Enrolment Statistics 2025/26, "Student Enrolment in Secondary Day Schools by Grade, Sex and Age, 2025", as at mid-September 2025. By our arithmetic about 56% of 16-year-olds were in S5. The right-hand column is our summary.

At local schools

A 16-year-old taking ICT in S5 is in the thick of it: the elective part takes about one school year and the SBA guided tasks, worth 20% of the 2027 subject mark, usually fall around now. The 2027 ICT papers are on Saturday 17 April 2027.

Our coding for S4 to S6 page sets out the three DSE years in full.

At international schools

A 16-year-old is usually finishing IGCSE or starting IB Diploma or A level. Cambridge says its 9618 A level syllabus for 2027 to 2029 adds Python, Java and Visual Basic; the IB Diploma has a new computer science guide first assessed in 2027.

See our A level CS tutor and IB CS 2027 guide pages.

Exam, contest, portfolio

Why should a 16-year-old learn to code?

Not because everyone says so. At 16, coding is worth the hours if it moves one of three things forward, and the plan differs for each.

An exam

HKDSE ICT, IGCSE, IB or A level computer science. Work follows the syllabus and the school's language; we never write coursework or SBA.

A contest

HKOI's senior group, mainly in C++. Training is problem after problem, judged, timed and reviewed.

A portfolio

A project with real users or real data, documented and on GitHub, that a university interviewer can open.

Choosing between them

Most 16-year-olds have one obvious goal: the exam they are already taking. The question is whether to add a second. A strong ICT student often adds a portfolio project after mocks; a contest student usually keeps the exam light.

If none of the three appeals, it is fine to code for fun at a slower pace. Our general guide to coding for 16 year olds covers that path too.

What we will not do

We will not write SBA, IA or coursework, edit it to be submitted, or produce a portfolio for someone to claim as their own. Universities ask about projects, and a student must be able to explain every line.

We also make no promises about grades, contest medals or offers. What we promise is a plan, a mentor and honest feedback.

The language question

Should a 16-year-old learn Python or C++?

For exams and most projects, whichever the course uses, usually Python. For contests, C++, and HKOI's own numbers show why.

HKOI 2025/26 senior heat: takers and finalists by programming language
LanguageHeat takersFinalistsFinalists per taker (our arithmetic)
Python29224About 8%
C++15875About 47%

Source: HKOI, 2025/26 statistics (assets.hkoi.org), read 23 November 2026. The last column is our division. It shows an association, not a cause: stronger contestants may simply choose C++. HKOI's rules say solutions are written in C++, with Python "a 2nd-class programming language", and "Not all tasks and subtasks are solvable using Python."

If the goal is HKOI

Learn C++, and start now if you have not. At the senior level, contestants who wrote in C++ reached the final far more often in 2025/26.

Be honest about the road beyond. HKOI's Training Team FAQ says "only Training Team members who are invited to the team by winning a Gold/Silver/Bronze medal in HKOI may be selected to the IOI", and its 2026 general information says "only Permanent HKID holders may participate in inter-territory external competitions such as IOI, EGOI, NOI and APIO". We prepare students for the heat and final; selection is never ours to promise.

If the goal is an exam or a project

Use the course's language. DSE ICT schools choose Python or C++; IB and A level allow several; AI and data work is almost all Python; web projects need JavaScript.

Hong Kong's team did well recently: the Government reported in August 2026 that it "ranked sixth, marking the city's best-ever performance at the IOI". For contest training, see competitive programming for teens in Hong Kong.

A lesson for 16-year-olds, in full

What does a lesson at 16 look like? Compression, and the test that catches a bug

Run-length encoding is the simplest compression method: write "12W" instead of twelve Ws. The interesting part, for a 16-year-old, is not writing it but proving it works, and finding the inputs where it does not.

  1. Encode. Walk through the text, count each run of the same character, write the count then the character.
  2. Decode. Read digits until a letter appears, then repeat that letter that many times.
  3. Round trip. For every sample, decode the encoded text and check it equals the original. This one line is the test.
  4. Measure. Print the length before and after. Compression only helps if the second number is smaller.
  5. Attack it. The mentor asks: what input would you choose to break this? Most students try a word with no repeats; the sharpest try digits.
Run-length encoding with a round-trip testPython
# Run-length compression: squeeze repeats, then check the round trip. Our own lesson.
def encode(text):
    out, i = [], 0
    while i < len(text):
        j = i
        while j < len(text) and text[j] == text[i]:
            j += 1
        out.append(str(j - i) + text[i])
        i = j
    return "".join(out)

def decode(code):
    out, num = [], ""
    for ch in code:
        if ch.isdigit():
            num += ch
        else:
            out.append(ch * int(num))
            num = ""
    return "".join(out)

samples = [
    "WWWWWWWWWWWWBBBWWWWWWWWWWWW",
    "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB",
    "harbour",
    "2024",
]
for s in samples:
    c = encode(s)
    back = decode(c)
    print(f"{s[:16]:16} {len(s):2} -> {len(c):2} chars  {c[:14]:14}  round trip ok: {back == s}")

Our own program and samples. Plain Python 3; the four lines below are its complete output.

OutputOutput
WWWWWWWWWWWWBBBW 27 ->  8 chars  12W3B12W        round trip ok: True
AAAAAAAAAAAAAAAA 31 ->  5 chars  30A1B           round trip ok: True
harbour           7 -> 14 chars  1h1a1r1b1o1u1r  round trip ok: True
2024              4 ->  8 chars  12101214        round trip ok: False

A row of a black-and-white image shrinks from 27 characters to 8, and a long run of As from 31 to 5. "harbour" doubles in size, from 7 to 14. And "2024" fails the round trip: once the counts and the data are both digits, the decoder cannot tell them apart.

Three lessons in one

First, every compression method makes some inputs bigger; there is no free lunch. Run-length encoding suits data with long runs, such as simple images, and suits ordinary words badly.

Second, a round-trip test (encode, decode, compare) is the cheapest strong test there is, and it found a bug the student did not think to look for.

The bug, and the fix

Third, a format must not let the data be confused with its own control symbols. Fixes include escaping digits, or storing counts and characters in separate fields, which is how real file formats work.

Exam students meet this as data representation and testing; contest students as string processing; portfolio students the first time they save data to a file. For more problems like this, see our problem solving course for teens.

  1. Fix the decoder so "2024" survives the round trip. Explain your format in one sentence.
  2. Find the break-even. What is the shortest run for which encoding saves space?
  3. Random test. Generate 1,000 random strings of letters and digits and run the round trip on each.
  4. Write it in C++ and compare the speed on a million characters.

A crowded year

How can a 16-year-old in S5 find time to code?

By keeping lessons short and purposeful, and by moving them when school gets heavy. One to one makes that easy: there is no class to keep up with.

A realistic rhythm

One lesson a week with a small task in between works for most S5 students. Before mocks or SBA deadlines, families often pause or shorten lessons; after exams, they add more.

The summer after S5 is the best time for a portfolio project, because school pressure eases before S6.

AI tools at 16

Two well-known chatbots are not part of our Hong Kong lessons at all: OpenAI does not offer ChatGPT in Hong Kong, and Anthropic does not offer Claude here (Claude is also 18 and over). We teach 16-year-olds with tools offered in Hong Kong or provided by their school, within each maker's age terms, and the habits carry over to any tool.

Used well, AI tools help a 16-year-old read documentation faster. Used badly, they write code the student cannot explain. Our think first, then use AI page explains our rules.

English, one to one

Is a one-to-one English-taught class right at 16?

For most 16-year-olds, yes: the pace is theirs, the questions are private, and the working language matches what universities and employers use.

English as a working tool

At 16, a student reads documentation, forum threads and error messages daily. Learning with an English-speaking mentor makes that normal. Students sitting ICT in Chinese note their school's terms beside ours.

More on this: coding taught in English in Hong Kong.

Private lessons only

Hong Kong students are taught one to one, never in a group. A 16-year-old with a contest on Saturday and an essay due Monday gets a lesson shaped around both.

All our courses for Hong Kong are on the coding classes in Hong Kong page.

Progress

How does a 16-year-old track progress?

Our own milestones, tied to the goal chosen. Not predicted grades.

Coding at 16: our milestones by goal
GoalMilestoneEvidence
ExamAnswer structured programming questions in timeTimed practice, marked against our scheme
ExamExplain SBA design choices without helpA student-led walkthrough
ContestSolve problems with the right algorithm in C++Judged practice set
ContestEstimate running time before codingWritten estimates checked by test
PortfolioShip a project with tests and documentationA public repository
AnyBreak your own program on purposeA list of failing inputs, then fixes

For students

Encode, decode, compare: the cheapest strong test.

If the data can look like the format, it will.

For parents

The monthly note says which goal and which milestone.

We will tell you if the plan is too ambitious for the school term.

More courses

Nine more courses for 16-year-olds

Any of these can run privately for a Hong Kong student, live and in English.

I

Exams

Year 11 to 13, S4 to S6

COOL / EXAM / 01

IB DP Computer Science

The new guide, with IA mentoring.

Open the syllabus
II

Contests

Serious problem solvers

COOL / CONTEST / 01

C++ for Teens

The contest language, properly.

Open the syllabus

COOL / CONTEST / 02

Problem Solving for Teens

Data structures and algorithm design.

Open the syllabus

COOL / CONTEST / 03

Cybersecurity Competitions

Capture-the-flag skills, ethically.

Open the syllabus
III

Portfolio

University-facing

COOL / FOLIO / 01

AI and Machine Learning for Teens

A model trained and evaluated honestly.

Open the syllabus

COOL / FOLIO / 02

App Development for Teens

A phone app real people install.

Open the syllabus

COOL / FOLIO / 03

Git and GitHub for Teens

A repository an interviewer can read.

Open the syllabus

Timing and setup

When can a 16-year-old have lessons?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. Since India keeps a fixed two-and-a-half-hour gap behind Hong Kong, late Hong Kong evenings are still early evening for the mentor.

After study period

6:30 pm in Hong Kong is 4 pm in India.

Late evening

A 9:30 pm lesson is 7 pm for the mentor.

Saturday morning

11 am in Hong Kong is 8:30 am in India.

Your own machine

Laptop with camera and microphone.

Real tools

Compilers, editors and Git, set up properly.

One mentor

Continuity through S5 and S6.

Deadline aware

Lessons moved around mocks and SBA dates.

Work saved

Code kept in a repository.

Family note

A short monthly summary.

Student work

Projects by teens in our classes

From our teen courses; more on the student labs page.

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

Fees for coding at 16

Payment is monthly, in the Hong Kong dollar amount the fee card shows; each month is settled on its own, with no lump sum for the exam run-up. A payment-gateway charge, where one applies, is shown before you complete payment.

Free first class

Free

no card required

  • First class free of charge
  • Goal and plan agreed in it
  • No card to book
Book it

One to one

$1,200 HKD

a month, eight live classes

  • A dedicated mentor
  • A plan for exam, contest or portfolio
  • Hours that fit S5
Start here

What families say

Rated 4.9 across 547 Google reviews

Google reviews, quoted exactly as families wrote them.

★★★★★

"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

16-year-olds and parents ask

Coding for 16 year olds: questions and answers

Is 16 too late to start coding?

No. Sixteen-year-olds learn fast, and many university computer science students started at this age or later. Start with a clear goal.

What school year is a 16-year-old in Hong Kong?

Mostly S5: the EDB counted 29,770 of 53,173 sixteen-year-olds in S5 in September 2025, with others in S4 and S6.

Python or C++ at 16?

Python for most exams, AI and projects; C++ for HKOI, where in 2025/26 C++ takers reached the senior final far more often than Python takers.

Can you help with my DSE ICT SBA?

We give guidance: explaining tasks, questioning your design, reviewing your understanding. We never write, code or edit SBA work.

Can coding help a university application?

A real project you can explain helps you talk about your interests. We promise no offers or outcomes.

Can I represent Hong Kong at the IOI?

Only HKOI medallists invited to the Training Team may be selected, and HKOI says only Permanent HKID holders may take part in competitions such as IOI. We prepare students for HKOI and promise no selection.

Which AI tools can a 16-year-old use?

Tools offered in Hong Kong or provided by the school, within each maker's age terms. ChatGPT and Claude are not offered in Hong Kong by their makers, so we do not use them; Claude is 18 and over in any case.

Are classes live, private and in English?

Yes on all three: live video, one student with one mentor, taught in English by mentors in India. We do not teach in Cantonese or Mandarin.

When are lessons?

Any day, any time, flexible: one to one at the hour that suits your family, weekdays or weekends. An 8 pm Hong Kong lesson is 5:30 pm in India.

How are fees charged?

Monthly, in Hong Kong dollars as shown on the fee card, with any gateway charge visible before you pay. There is no charge for the first class.

Related

More for Hong Kong 16-year-olds

Next steps by goal.

Coding for S4 to S6

The DSE years, year by year.

ICT SBA guidance

What help is fair, and what is not.

HKOI training

Preparing for the senior group.

IB CS in Hong Kong

For IB Diploma students.

Python for 16 year olds

The language at this age, in general.

Coding at 14 in Hong Kong

For a younger sibling.

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 · HKDSE ICT and maths: DSE ICT elective guide · IB, IGCSE, A-level and SAT: A level Computer Science tutor · Olympiads and competitions: AMC 10 preparation · Guides for families: After-school coding · School holidays: AI summer course · Districts and areas: Causeway Bay

Start here

Book a free class at 16

Tell us your school year, your exams and your goal. In the free class you solve a real problem with the mentor and agree a plan that fits the school calendar.

Look through our course list or how we teach first.

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

One-to-one online lessons in English, live, with mentors in India. WhatsApp replies fastest.

The first class is free; we do not ask for a card.

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

By class and age

Learn more

Free resources

From the blog

Start here

Free classPriority demoCall us