LTNC / BASE / 01
Problem solving for kids
Puzzles, patterns and step-by-step plans before any syntax.
Open the syllabusPeru · Reasoning first · Ages 6 to adult
A program copied from a classmate, a video or a chatbot runs exactly as well as one the learner wrote. The difference only shows later, in a room with no internet, a pencil and a clock. This page is about getting ready for that room: which Peruvian tests work that way, what thinking looks like in code, and a lesson that shows the method from start to finish.
Teaching since 2020 · 10,000+ students worldwide · every line explained by the learner who wrote it
The short answer
Learning to think, not copy, means a learner can predict what a program will do, trace it line by line on paper, explain each step aloud and test it on cases they chose, before the code counts as theirs. Modern Age Coders teaches coding this way in live online classes in English for learners in Peru, from children of 6 to teenagers, university students and adults, with mentors in India who adapt to each pace. Learners join a group of fifteen to twenty people of a similar age, or study one to one, at hours the family picks.
Start here
One for children ready to type their first code, one for teenagers, and one for anyone over 18 starting from zero. Each is taught by asking the learner to predict and explain before running anything.

LTNC / 01
For 9 to 12 year olds. Short programs a child can hold in their head, so every output is guessed first and then checked.
Open the syllabus →
LTNC / 02
Ages 13 to 17. From variables to functions, files and classes, with a trace table whenever a loop is new.
Open the syllabus →
LTNC / 03
University students and adults. The same habits at a faster pace, from first script to data and automation.
Open the syllabus →Where copying stops working
Because the tests that decide medals, places and scholarships in Peru are sat in person, on paper or on a locked machine, and most of them reward a worked answer rather than a lucky choice. Read their own rules and the pattern is plain.
| Test | Who sets it | The rule, in the organiser's words | What it rewards |
|---|---|---|---|
| ONEM 2026, school stage | MINEDU, via each UGEL | "Consta de diez (10) ítems de respuesta construida cerrada"; "La prueba tiene una duración de dos (02) horas." | A number you worked out yourself, ten times, with no options to pick from |
| OPI 2025, final (Fase 2) | UTEC | "Se podr´a usar solo C++." and "Queda prohibido el uso de IA generativa para la resoluci´on de problemas." | Writing an algorithm from a blank file, without an assistant |
| Universidad de Lima school exam 2027-1(A) | Universidad de Lima | A "prueba única de aptitud académica y de conocimientos", with marks taken away "por cada respuesta equivocada" | Knowing when you know; a guess costs marks |
| UNI ordinary admission 2026-2 | Universidad Nacional de Ingeniería | "El examen es de manera presencial y consiste en tres pruebas tomadas en tres días" | Mathematics, physics and reasoning done by hand, under time |
| PUCP admission | Pontificia Universidad Católica del Perú | Tests set "con especial énfasis en las áreas de comprensión lectora y matemáticas." | Reading a problem closely, then reasoning through it |
Sources: UGEL 06, Oficio Múltiple N.° 00164-2026 on the ONEM 2026 school stage; UTEC, Reglamento OPI 2025 (accents as printed in the PDF); Universidad de Lima, Guía del postulante Admisión 2027-1(A); UNI, Admisión 2026-2 page; PUCP, Guía del postulante. Each was read in its original Spanish on 9 November 2026. Modern Age Coders has no link to MINEDU, a UGEL, UTEC or any university, and promises neither medals nor places.
ONEM is enormous. El Peruano reported on 11 October 2026 that the 2026 edition drew more than 1.7 million secondary students from its first stage, and that 237 finalists met for the national stage at Huampaní. Each school-stage paper in 2026 had two items per CNEB maths competency, and every answer was a value the student had to construct. Entry runs through the school.
The Peruvian Computing Olympiad (OPI), run by UTEC, is free for every secondary student in the country. Its 2025 rules allow C++ or Python in the first phase and only C++ in the in-person final, and they ban generative AI for solving problems outright. Peru first sent students to the International Olympiad in Informatics in 2022; the IOI's own statistics show 13 Peruvian contestants and one bronze medal so far.
Universidad de Lima's guide for the 2027-1(A) process describes one paper of academic aptitude and knowledge, scored by adding marks for each correct answer and subtracting for each wrong one, so guessing has a cost. Its school exam fell on Sunday 15 November 2026.
UNI's ordinary exam for 2026-2 ran on 10, 12 and 14 August 2026, three papers on three days, one of them entirely mathematics. PUCP says its tests stress reading comprehension and maths. None of these papers is about programming, and all of them reward the same thing a good programmer has: the ability to hold a problem in your head and work it through.
Admission exams in Peru are in Spanish and we do not prepare candidates for their content. What we can honestly offer is the habit underneath them, practised in English through code and maths. For the school-year view of computing in secundaria, including MINEDU's Python pilot, our page on programación para 5to de secundaria goes further.
What thinking looks like
It means four habits that a mentor can see and a parent can check. A learner who has them can sit in front of an empty file and start; a learner who only copies cannot, however many programs they have run.
"It works." Asked why, they point at the screen. Asked to change one requirement, they search again for a new answer.
"It works for these five cases, and it would break if the list were empty, so I added a check." The sentence is longer, and it is theirs.
Asks short questions: what will this print, why this line, what if the input is zero. The mentor does not type the answer, even when it would be faster.
Peru's national curriculum names a close cousin of these habits. Among the CNEB's competencies that cut across every subject is "Gestiona su aprendizaje de manera autónoma", managing one's own learning, with three capacities: define learning goals, organise strategic actions to reach them, and monitor and adjust one's own performance along the way. Predicting and then checking a program is that third capacity in miniature.
A real lesson
This lesson is ours, written for this page. Our mentors use it with teenagers from about 13 and with adults in their first months, and the maths is the greatest common divisor that Peruvian pupils meet in primaria. The point is not the answer, which any chatbot gives in a second. The point is being able to show why the answer is right.
The problem, ours: two ribbons are 84 cm and 120 cm long, and we want to cut both into pieces of equal length, as long as possible, with nothing left over. The longest piece is the greatest common divisor of 84 and 120. The mentor first asks for a plan in plain English. Most learners say: start at the smaller number and count down until something divides both.
def gcd_slow(a, b):
checks = 0
d = min(a, b)
while d > 0:
checks = checks + 1
if a % d == 0 and b % d == 0:
return d, checks
d = d - 1
print(gcd_slow(84, 120))
print(gcd_slow(1071, 462))The function returns two things: the divisor it found and how many numbers it had to try. Before running, the mentor asks: how many checks for 1071 and 462?
(12, 73) (21, 442)
Exact output from our own run with Python 3. The ribbons give 12 cm after 73 tries. The second pair gives 21, but only after 442 tries, because the search walks down one number at a time from 462.
Nothing is wrong with Version 1. It is correct and easy to explain, and that matters: a learner who wrote it understands it. But 442 checks for a three-digit pair is a warning. The mentor then shows Euclid's idea, more than two thousand years old: the greatest common divisor of two numbers is unchanged if you replace the larger one by the remainder of dividing it by the smaller one. Keep doing that until the remainder is zero.
def gcd_traced(a, b):
print(f"{'a':>6} {'b':>6} {'a % b':>6}")
while b != 0:
print(f'{a:>6} {b:>6} {a % b:>6}')
a, b = b, a % b
return a
print('answer:', gcd_traced(1071, 462))
print('answer:', gcd_traced(462, 1071))The program prints its own trace table: one row per pass of the loop, before the swap on the last line of the loop runs. The second call deliberately passes the numbers in the opposite order.
a b a % b
1071 462 147
462 147 21
147 21 0
answer: 21
a b a % b
462 1071 462
1071 462 147
462 147 21
147 21 0
answer: 21Exact output from our own run. Three passes instead of 442 checks. With the numbers reversed there is one extra row: 462 % 1071 is 462, so the first pass simply swaps them.
a, b = b, a % b computes both values on the right before assigning either. Written as two separate lines, a = b then b = a % b, it breaks, and finding out why is a five-minute lesson in its own right.import math
def gcd(a, b):
while b != 0:
a, b = b, a % b
return a
tests = [(84, 120), (1071, 462), (462, 1071), (17, 5), (12, 0), (0, 12)]
for a, b in tests:
print(a, b, gcd(a, b), math.gcd(a, b), gcd(a, b) == math.gcd(a, b))Python's math module documents gcd(*integers) as the "Greatest common divisor of the integer arguments". Here it is used as an independent referee, never as a replacement for understanding.
84 120 12 12 True 1071 462 21 21 True 462 1071 21 21 True 17 5 1 1 True 12 0 12 12 True 0 12 12 12 True
Exact output from our own run: six cases, six matches, including both orders of 1071 and 462 and the two pairs with a zero.
Then the mentor asks one last question: would Version 1 survive the same tests? A learner who traces gcd_slow(0, 12) by hand sees that d starts at 0, the loop never runs and the function returns nothing at all. Spotting that without running it is the skill we are after. A copied answer could not have told you, because the person who copied it never looked inside.
AI and copying
Pasting AI output you cannot explain is copying, with a faster source. Using AI to check your reasoning, explain an error or suggest a test you missed is not. The line is the same one the four habits draw: if you cannot predict, trace and explain it, it is not yours yet.
Teenagers and adults meet AI tools in our classes after the basics are in place, never before. The order is fixed: the learner writes or traces their own version first, and only then asks an assistant, and the assistant's answer is treated as a claim to be tested, like Version 3 tests Version 2 above.
The tools themselves have age rules. Claude requires users to be 18; ChatGPT asks under-18s for a parent's permission. Children under 13 in our classes do not use chatbots at all. Our AI tools age guide lists what each tool's own terms say.
The OPI rules ban generative AI for solving problems, and the ONEM paper is sat on paper in a school classroom. That is not hostility to technology. It is how an organiser finds out what a student can do alone, which is also what a university, an employer and, sooner or later, the student wants to know.
A learner who has spent a year predicting and tracing finds these rules a relief: the room asks for exactly what they practise. A learner who has spent a year pasting finds the same room empty.
Families who want the full method for building with AI assistants, with tests written first, can read our Spanish page on vibe coding en inglés. It covers which tools suit each age and how a learner judges generated code.
By age
From 6, in a form that suits the age. The habit of predicting and checking does not need typing; it needs a question asked before the green flag or the run button is pressed.
Scratch blocks. "Where will the cat be after this loop?" The child points on the screen, then presses the flag. Being wrong and laughing about it is part of the lesson.
Short Python programs and turtle drawings. Children write their guess in a notebook before running, and keep a list of surprises with one English sentence each.
Trace tables, test cases and algorithms such as the Euclid lesson above, then data structures. Teenagers who like competitions can aim at ONEM or OPI with problems we write ourselves.
Adults follow the teenage track at their own speed. A professional who has used spreadsheets for years often traces faster than a teenager, and is usually more frustrated by copied code they cannot fix at work. For teenagers in secundaria choosing what to study, our Spanish page on clases de programación para adolescentes sets out the options by grade.
Taught in English
No. Each lesson is live and online, and English is the only teaching language. Our mentors, based in India, speak clearly, slow down when asked and match each learner's pace and accent. For this method, English is a help rather than a hurdle.
The habit at the centre of this page is explaining your code aloud. Doing it in English doubles the work in a useful way: the learner has to find the words, which forces them to find the idea first. "The remainder becomes the new divisor" is a sentence you cannot say without understanding it.
Python's keywords and error messages are English already. A learner who explains code in English is reading the language the computer answers in.
Nobody needs to arrive fluent. Children start with short phrases and pictures; teenagers and adults get a word list per lesson. Mentors repeat in simpler words and write key terms in the chat.
Parents may message us in Spanish on WhatsApp at any time. The classes stay in English.
Peru time
At the hour you choose. Our mentors work from India, and since neither Peru nor India changes its clocks during the year, the difference stays fixed.
| Peru time | India time | Day in India |
|---|---|---|
| 7:00 a.m. | 5:30 p.m. | Same day |
| 10:00 a.m. | 8:30 p.m. | Same day |
| 12:30 p.m. | 11:00 p.m. | Same day |
| 3:00 p.m. | 1:30 a.m. | Next day |
| 5:30 p.m. | 4:00 a.m. | Next day |
| 7:30 p.m. | 6:00 a.m. | Next day |
Peru keeps UTC minus 5 all year with no summer time (tz database zone America/Lima); India keeps UTC plus 5:30, so India runs 10 hours 30 minutes ahead of Peru on every day of the year.
Secundaria students often pick an early evening hour after homework; university students and adults tend to choose early mornings or late evenings around lectures and work. You book on your own clock and the mentor converts.
Progress
Five stages we use with learners in Peru. They are ours, not an official scale, and they describe behaviour a parent can watch for.
| Stage | What the learner does | What to ask them |
|---|---|---|
| 1. Runs it | Runs code and reports whether it worked | "What did you expect it to do?" |
| 2. Predicts it | Says the output before running, right or wrong | "Why did you expect that?" |
| 3. Traces it | Fills a table of variables step by step for a short loop | "Show me the row where it changes." |
| 4. Breaks it | Chooses inputs that might fail, such as zero or reversed order | "Which input worries you most?" |
| 5. Starts blank | Writes a working solution from an empty file and explains it | "Teach it to me in two minutes." |
Pick one question from the right-hand column each week. You do not need to understand the code; listen for whether the answer is about ideas or about where the code came from.
Moving from stage 2 to stage 3 usually takes the longest. Trace tables feel slow, and that slowness is the training.
Write your guess before you press run. Keep a list of the times you were wrong; it is the most useful page in your notebook.
When something works on the first try, try to break it before celebrating.
More courses
Every one is live, in English, with one mentor, and every one asks for predictions and explanations before code counts.
LTNC / BASE / 01
Puzzles, patterns and step-by-step plans before any syntax.
Open the syllabusLTNC / BASE / 02
Logic and careful reading for the youngest learners.
Open the syllabusLTNC / BASE / 03
School maths tested in Python, in the spirit of the Euclid lesson.
Open the syllabusLTNC / CONTEST / 01
Data structures and algorithms traced by hand, then coded.
Open the syllabusLTNC / CONTEST / 02
Timed problems in C++ or Python, with original practice sets.
Open the syllabusLTNC / CONTEST / 03
Constructed answers and proof-style reasoning, no multiple choice.
Open the syllabusLTNC / ADULT / 01
The course behind most technical interviews, done properly.
Open the syllabusLTNC / ADULT / 02
Types, classes and testing, from first program to projects.
Open the syllabusLTNC / ADULT / 03
Python certification prepared by understanding, not memorised dumps.
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.
Before school or work
Early slots in Peru time, when minds are fresh.
After homework
Evenings suit many secundaria students.
Your own hour
One-to-one classes at times you set.
Each new program starts with a spoken prediction.
Trace tables on paper or a shared screen, never skipped.
The mentor asks and points; the learner writes.
Edge cases picked before the code is run.
One person who learns how your child reasons.
Fifteen to twenty learners of a similar age, or one to one.
Student work
Projects by some of our older students, built from blank files. More are on the student labs page.

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
The monthly fee for each plan appears here in US dollars and is paid by card. Your bank turns it into soles at the rate it applies on the day, so the figure on your statement can move a little 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
Families and students on Google, quoted exactly as they wrote.
★★★★★
"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
Learners in Peru ask
No. Every class is live, online and in English only, taught by mentors in India who speak clearly and adjust to each learner's pace and accent. Explaining code aloud in English is part of the method, and parents can still write to us in Spanish on WhatsApp.
Before code counts as the learner's own, they predict its output, trace it step by step, explain every line and test it on cases they chose themselves. If any of the four is missing, the code is treated as borrowed, even when it runs.
No. Reading good code is how everyone learns. The rule is that an example is read, explained and then closed, and the learner writes their own version from memory. Typing it out line by line while looking is copying slowly.
Children under 13 do not use chatbots in our classes. Teenagers use them later, with a parent's permission where the tool's terms ask for it, and only after writing their own version first. Claude's terms require users to be 18, so we use it only with adults.
We teach the reasoning those competitions reward, with problems we write ourselves; we never reproduce an organiser's problems. ONEM entry is through the school, and the OPI is organised by UTEC. We are not connected with either and promise no results.
The habits help with any exam that rewards worked answers, but the admission exams of Peruvian universities are in Spanish and the universities decide admission. We offer maths reasoning practice in English alongside school, not exam preparation or a promise of a place.
From 6, with Scratch and spoken predictions. Typed Python usually starts around 9, and trace tables and algorithms from about 13. Adults of any age can start from zero.
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 is 10 hours 30 minutes ahead of Peru all year, so 10:00 a.m. in Lima is 8:30 p.m. in India.
Yes, a laptop or desktop with a keyboard, camera and microphone. A phone is fine for watching but too small for writing and tracing code. Paper and a pencil are useful too.
At the end of a course we give our own certificate of completion. It is not a Peruvian school grade or a qualification, and we are not connected with MINEDU or any school.
Elsewhere on this site
Pages in English that go deeper into the method.
The mental moves behind decomposing a problem.
Finding a bug by reasoning rather than guessing.
Why tutorials alone rarely stick.
Our teaching promise, in full.
Using assistants without handing over the thinking.
Everything we teach in Peru, by age and subject.
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 · By age and stage: AI and coding for professionals · Subjects and courses: AI agents course · Exams, olympiads and school holidays: IB computer science tutor · 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
The first class is a conversation with a puzzle in it. The mentor gives a short problem, asks the learner to guess before running anything and watches how they reason, then suggests a course and a level. You leave with a clear idea of where to begin, whether or not you continue.
Prefer to read more first? How we teach walks through a live class, and the full course list has every syllabus.
WhatsApp us · +91 91233 66161 · connect@modernagecoders.com
Live online classes with mentors in India, in English only. WhatsApp is quickest, and Spanish messages are welcome.
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