CAJ / BUILD / 01
C++ for kids
A gentle first step into the language contests use.
Open the syllabusPeru · Age 12 · 1° de secundaria · Live, in English
Twelve sits on a border. In Peru it usually means the first year of secundaria, a new timetable, new teachers and, for some, a first maths olympiad. In coding it means the end of children's tools and the start of real ones. Here we write for mothers and fathers hoping to see a twelve year old to cross that border with a teacher beside them, live and in English.
Live classes since 2020 · 4.9 average from about 547 Google reviews · twelve year olds build real projects and explain them in English
In short
A twelve year old in Peru is ready for real programming, and Modern Age Coders teaches it live, online and in English. At twelve most of our students write Python projects with functions and lists, and some move on to game engines, C++ for contests or maths through code. Lessons are led from India by a mentor who shares the screen with your child, either in a class of fifteen to twenty young people born around the same year or one to one, and the hour is whatever your household in Peru prefers. There is no charge for the first lesson.
Where twelve year olds start
Twelve is the top of our kids' range and the edge of our teens' courses. These three are the usual first choices.

CAJ / 01
Ages 9 to 12. For a twelve year old new to typed code, the quickest route to real Python: functions, lists, games and projects that use AI safely, ready for our teen courses at thirteen.
Open the syllabus →
CAJ / 02
Ages 10 to 17. For the twelve year old who wants to make proper games. GDScript, scenes, physics and levels in a free, open-source engine used by professionals.
Open the syllabus →
CAJ / 03
Ages about 10 to 14. Contest problem solving in English with original problems, for the twelve year old who enjoys hard puzzles and may be curious about olympiads.
Open the syllabus →Who this page is for
Families in Peru whose child is twelve, usually in their first year of secundaria, and who can follow a class in English or want to grow into it.
They built Scratch games at nine or ten and now find them too simple. They want to type, to build things that look like real software, and to understand how the apps on their phone work.
Twelve is not late. Beginners of this age learn Python faster than younger children, because they read quickly, follow longer explanations and can plan ahead.
Some twelve year olds love the maths more than the screen. Code lets them test conjectures, count cases and see why an algorithm works, which is good training for contests.
In Spanish, programación para niños de 12 años compares Python, Roblox and Godot at this age. For the years after twelve, coding classes for teens in Peru covers building, competing and certification.
What twelve year olds learn
The real thing, at a gentler pace. A twelve year old can learn the same ideas an adult beginner learns, as long as each idea arrives with a project that makes it worth learning.
Functions. Writing a piece of code once and calling it with different inputs. Twelve year olds like the feeling of building their own tools.
Lists. Keeping many values together and working through them with a loop: scores, names, the numbers in today's lesson.
Algorithms. A precise method that always works, such as a sieve for primes or a search through a sorted list. This is where coding and mathematics meet.
A game with levels and a saved high score. A small website about a hobby. A program that answers a maths question nobody in the class could do by hand.
Twelve year olds lose interest in exercises that lead nowhere. Every topic in our classes ends in something they can show a friend, and every project is explained aloud, in English, at the end.
Twelve is also when many young coders choose a direction: making games, building for the web, or solving contest problems. They do not have to choose for ever. A term of each is a good way to find out, and the free class is a good way to start.
Starting secundaria
A five-year stretch begins, with a new weekly plan and, for those who want it, a new set of contests. The table lines up each grade with MINEDU's normative age and with the ONEM level it competes in.
| Grade | Normative age (MINEDU) | ONEM level (2026 bases) |
|---|---|---|
| 1° de secundaria | 12 | Nivel 1 |
| 2° de secundaria | 13 | Nivel 1 |
| 3° de secundaria | 14 | Nivel 2 |
| 4° de secundaria | 15 | Nivel 2 |
| 5° de secundaria | 16 | Nivel 3 |
Ages from MINEDU, Edades normativas (normative age counted on 31 March each year). Levels from the bases of the XXII Olimpiada Nacional Escolar de Matemática 2026 as sent to schools by UGEL 06 in an oficio múltiple. Both read on 9 November 2026.
Ley 28044 says secundaria "dura cinco años" and gives students "una formación científica, humanista y técnica". Under the regular school day the CNEB gives every grade 4 weekly periods of Matemática, 4 of Comunicación, 3 of Inglés and 2 of Educación para el Trabajo.
With 45-minute periods, that is 180 minutes of mathematics and 135 of English a week, by our sum. There is still no computing area: digital skills remain a competency shared across subjects, so coding at school depends on the school.
Secundaria is busier, and there are more teachers to adjust to. Coding classes that run at an hour the family chooses fit round that better than an after-school club fixed to one afternoon.
English at school goes up to three periods a week. A twelve year old who also codes in English gets a lot of practice in precise, technical language, the kind that is hardest to pick up in a general class.
Contests at twelve
In maths, the ONEM from first grade of secundaria. In computing, the OPI is open to secondary students and gets harder later. We describe them from the organisers' own documents, and we are not connected with any of them.
The ONEM 2026 bases put 1° and 2° de secundaria in Nivel 1, with categories Alfa for public schools and Beta for private ones. The school stage ran nationwide on Wednesday 8 July 2026; its paper had ten closed constructed-response items and lasted two hours.
According to El Peruano on 11 October 2026, the 2026 edition drew more than 1.7 million secondary students from its first stage. Entry is through your child's school, which runs the first round; the winners go on to the UGEL, regional and national stages.
The Olimpiadas Peruanas de Computación, organised by UTEC, are "abiertas gratuitamente a todos los estudiantes de secundaria del país". The OPI 2025 rules allowed only C++ in the final, in-person phase and banned generative AI for solving problems.
A twelve year old is early for the OPI final, but not too early to prepare. Python teaches the thinking; C++ comes later for the contest itself. Our page on ONEM preparation explains, in Spanish, how we train with problems we write ourselves.
One more door opens soon after twelve. MINEDU's COAR schools offered 2,650 places in their 2026 admission for public-school students who had finished 2° de secundaria. We mention it only so families know the timeline; we do not prepare for COAR admission and make no promise about any contest or admission result. We never reproduce an organiser's problems; every practice problem we use is our own.
An original Python lesson
This is our lesson for twelve year olds who know loops and lists. It is more than two thousand years old, it fits in fifteen lines, and it shows a habit that contest coders need: count the work, not just the answer.
Write the numbers from 2 to 100. Circle 2, then cross out every multiple of 2 after it. Circle the next number not crossed out, 3, and cross out its multiples. Keep going. Whatever is circled at the end is prime. The method is called the sieve of Eratosthenes.
The mentor asks one question before any code: when you reach 7, which is the first multiple you actually need to cross out? Most twelve year olds say 14. The answer is 49, because 14, 21, 28, 35 and 42 were already crossed out by 2, 3 or 5.
We keep a list of True and False values, one per number: True means "still might be prime". Crossing out means setting a value to False.
Because of the question about 7, each prime starts crossing out at its own square, p * p, and the outer loop can stop once p * p is bigger than the limit. We also count how many numbers get crossed out, as a check.
limit = 100
is_prime = [True] * (limit + 1)
is_prime[0] = False
is_prime[1] = False
crossings = 0
for p in range(2, limit + 1):
if is_prime[p] and p * p <= limit:
for multiple in range(p * p, limit + 1, p):
if is_prime[multiple]:
crossings = crossings + 1
is_prime[multiple] = False
primes = [n for n in range(limit + 1) if is_prime[n]]
print(primes)
print("Primes up to", limit, ":", len(primes))
print("Numbers crossed out:", crossings)[2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97] Primes up to 100 : 25 Numbers crossed out: 74
Our run under Python 3 (python3 -I), unedited. 99 numbers from 2 to 100, minus 25 primes, leaves 74 crossed out, which matches the count.
Then the question that turns a twelve year old into a programmer who thinks about cost: how much work did starting at p * p save? We write a version that can start at either 2 * p or p * p and counts every crossing-out step, even when a number is crossed out twice.
def count_primes(limit, start_at_square):
is_prime = [True] * (limit + 1)
is_prime[0] = is_prime[1] = False
work = 0
for p in range(2, limit + 1):
if not is_prime[p]:
continue
first = p * p if start_at_square else 2 * p
for multiple in range(first, limit + 1, p):
work = work + 1
is_prime[multiple] = False
return sum(is_prime), work
for limit in [100, 1000, 10000]:
a = count_primes(limit, False)
b = count_primes(limit, True)
print(limit, "primes:", a[0], "| steps from 2p:", a[1], "| steps from p*p:", b[1])100 primes: 25 | steps from 2p: 146 | steps from p*p: 104 1000 primes: 168 | steps from 2p: 1958 | steps from p*p: 1411 10000 primes: 1229 | steps from 2p: 23071 | steps from p*p: 16981
Exact output of our run. Both versions find the same primes (25, 168 and 1229); starting at p times p saves between about a quarter and nearly 30% of the steps, by our division of the printed counts.
Two answers can be equally right and not equally good. The faster version was not found by typing; it came from the paper question about 7. That is the order we teach in: think, then code, then measure. It is also why AI tools that produce an answer instantly are no use to a twelve year old learning this: the answer was never the point.
AI at twelve
Not yet. Twelve is one birthday short of the age the main chatbot makers set, and for learning to code that year is a gift rather than a loss.
OpenAI asks ChatGPT users to be 13 or older, and Google sets 13 for Gemini on personal and school accounts. Anthropic sets 18 for Claude. None of them is for a twelve year old, so we do not use them in class.
In our teen courses, students who have learnt to code first meet AI tools where the maker allows it, with a parent's permission where required, and use them to check and explain, never to replace thinking.
The OPI 2025 rules banned generative AI for solving problems. A young coder who can solve problems unaided is ready for that rule and for the real work behind it.
Every major AI tool and the youngest age its maker allows is listed, with quotes from the makers' own terms, in our AI tools age guide.
Peru time
At an hour your family chooses, around the secundaria day. Peru uses UTC minus five all year and India uses UTC plus five and a half, which puts a mentor in India ten hours thirty minutes later than you, whatever the date. The rows below are conversions, not a schedule.
| Time in Peru | Time in India | Fits around |
|---|---|---|
| 07:00 | 17:30 | An early start in the summer holidays |
| 10:30 | 21:00 | A Saturday or Sunday morning |
| 14:00 | 00:30, next day | An afternoon after a morning school shift |
| 16:30 | 03:00, next day | The hour after a full school day |
| 20:00 | 06:30, next day | Evening, once homework is done |
Worked out by us from the IANA tz database: America/Lima is UTC minus 5 and has not used summer time since 1994; Asia/Kolkata is UTC plus 5:30.
Neither country moves its clocks, so the hour you pick holds from March to December and through the summer. Every Peru page, by age, subject and place, is on our coding and AI classes in Peru page.
Progress at twelve
These five stages are ours. They decide which group a twelve year old joins and when they are ready for our teen courses at thirteen.
| Stage | Typical timing | Can build | Can explain |
|---|---|---|---|
| 1. Fluent basics | Months 1 to 2 | Programs with loops, decisions and input | What each line does |
| 2. Own tools | Months 2 to 4 | Functions reused across a project | Inputs, outputs and why |
| 3. Data | Months 4 to 6 | Programs that keep and search lists | How the program finds an item |
| 4. Algorithms | Months 6 to 9 | A sieve, a sort, a search, written from an idea | Why it is correct and how much work it does |
| 5. Projects | Months 9 to 12 | A planned project, finished and tested | What they would change next time |
Stage 4 is where coding and school maths meet. A twelve year old who can explain why a method is correct is learning proof, not only programming.
Ask to see the finished project at stage 5, and ask what your child would change. A thoughtful answer is the clearest sign of progress.
Count the work, not only the answer. Two programs can both be right; one can be far better.
When you are stuck, write the idea in plain English first. The code is easier after that.
More options
Taught live and in English, with a regular mentor, in a group of the same age or one to one.
CAJ / BUILD / 01
A gentle first step into the language contests use.
Open the syllabusCAJ / BUILD / 02
Luau scripting for games others can play.
Open the syllabusCAJ / BUILD / 03
A real website, published by the young builder.
Open the syllabusCAJ / MATH / 01
Primes, patterns and proof explored in Python.
Open the syllabusCAJ / MATH / 02
Contest maths for grade 8 and below.
Open the syllabusCAJ / MATH / 03
Pre-algebra and geometry with a firm base.
Open the syllabusCAJ / IDEA / 01
How AI learns and errs, without adult accounts.
Open the syllabusCAJ / IDEA / 02
Layouts that work on any screen.
Open the syllabusCAJ / IDEA / 03
Twelve weeks of team building, then a live event.
Open the syllabusHow it works
Any day, any time, flexible: choose a batch, or for a very personalised plan choose 1-on-1 at the hour that suits your family.
Secundaria terms
Afternoons or evenings in Peru, worked around the school shift.
Summer and mid-year
Morning classes while school is out.
1-on-1
A mentor for your child alone, at the hour you agree.
Every topic ends in something that works.
The order behind every lesson.
The same person, week after week.
Groups by age and level.
What was built, what was hard, what comes next.
Fifteen to twenty, or just your child.
Student work
Students who start around twelve often build projects like these by fifteen or sixteen. The student labs page has many more.

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

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

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

Web app
A weather forecasting site with live conditions for any location.
Fees
You pay a monthly fee in US dollars by card. The card's bank changes it into soles at its own rate when the payment goes through, so what you see on the statement can vary slightly from month to month.
Free first class
Free
no card required
Group batch
$100 USD
a month, eight live classes
One to one
$150 USD
a month, eight live classes
What families say
Google reviews from parents and students, quoted exactly.
★★★★★
"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
Parents in Peru ask
No. Classes are live and online, and they are taught only in English. Mentors speak clearly, follow your child's speed and accent, and write the important words on the shared screen. At twelve, most students follow well, and those who find it hard at first usually settle within a few weeks.
Yes. Twelve year olds learn typed code quickly because they read fast and can plan. A complete beginner of twelve often catches up with children who started much younger.
Python first for almost everyone: it lets them think about the problem instead of the punctuation. C++ makes sense later for contests such as the OPI, whose 2025 final allowed only C++.
Not as its own area. The national plan gives secundaria Matemática, Comunicación, Inglés, Educación para el Trabajo and other areas, with digital skills as a shared competency. Some schools add computing in their own hours.
Yes, through the school. The ONEM 2026 bases place 1° and 2° de secundaria in Nivel 1. Schools run the first stage, so ask yours. We are not connected with the ONEM and we never use its problems; our practice problems are our own.
Any day, any time, flexible: choose a batch, or for a very personalised plan choose 1-on-1 at the hour that suits your family. India stays ten hours thirty minutes ahead, so 16:30 for your child is 03:00 the next day for the mentor.
No. ChatGPT and Gemini set 13 as their minimum age and Claude sets 18. Twelve year olds learn to solve problems without them; students meet AI tools in our teen courses where the maker allows.
At thirteen, students can move into our teen courses: full Python, Java, web development, AI and contest programming. The mentor suggests the next step from what your child has built.
No. We mention COAR only because its admission is for public-school students who have finished 2° de secundaria, which is close to this age. Our classes are coding and maths, and we promise no admission or contest result.
No. Modern Age Coders runs independently, teaches from India, and has no tie with MINEDU, UTEC, a UGEL or any Peruvian school. Nothing we issue is a Peruvian grade; students who finish a course receive a completion certificate that we issue ourselves.
Read next
Useful next reads.
The same age seen without the Peru detail.
Python projects that suit this age.
What opens up a year from now.
The minimum age for each AI tool, in its maker's words.
Why we ask before we tell.
Real projects from our students.
Part of the guide: Every Peru page
More guides: Coding and AI classes in Peru · En español: clases de programación en inglés · Start here: English-medium coding in Lima · Subjects and courses: AI agents course · Exams, olympiads and school holidays: IB computer science tutor · Guides to choosing: An English-taught option to Crack The Code · Regions of Peru: Amazonas region · Cities: Arequipa: coding for every age · Lima and Callao districts: Programación para niños en Ancón
Start here
During the trial lesson your child solves a short puzzle, writes a small program and explains it, while the mentor listens for how they reason. Then you hear which course fits, whether a group or one-to-one lessons suit better, and which hours are open.
Would you like to read more first? How we teach describes a real class, and each syllabus is on the courses page.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Live lessons from India, in English only. For a quick answer, WhatsApp us in English.
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