Skip to content
Home/United Kingdom/Scotland/Scottish Borders
Scottish Borders

Coding classes in the Scottish Borders

What are the best coding classes in the Scottish Borders?

The Scottish Borders had about 116,900 residents in roughly 55,600 households at the 2022 census, living at 24.7 people per square kilometre. It has no single dominant town: Hawick and Galashiels are close in size, with Peebles, Kelso, Selkirk and Jedburgh next, and Eyemouth, Duns and Melrose among the rest. Lessons are given live over video by teachers in India, and a free first lesson places every learner, whether in P1, S6 or long out of school. Coding, Python and maths are open to anyone between six and 67, whether in a small class of five to ten or alone with a tutor. The Borders project begins at Melrose Abbey. Beyond the trial, Borders learners pay a monthly USD 100 for a class place or USD 150 for private lessons.

Historic Environment Scotland records that Melrose Abbey was founded in 1136 or 1137 by King David I, and that its monks even took a lade of water from a weir on the Tweed about 500 metres away. For a medieval religious house, one of the hardest recurring calculations was the date of Easter, which moves between March and April every year. It depends on a full moon and a Sunday, but in practice on arithmetic tables rather than the real sky. Today the rule fits in a dozen lines of code. This page's project writes those lines in Python and then does what any good programmer should: tests them against every year from 1583 to 4099, and finds that one famous formula needs two special cases to survive.

Facts last verified 26 September 2026. Teaching is online; no Scottish Borders branch is claimed.

Courses for the Borders

How Borders learners start

A P2 in Hawick who loves calendars, a P6 in Peebles ready to type code, an S4 in Galashiels working towards National 5, and an adult in Kelso learning to automate. All of them start with the same free trial.

Browse the course atlas for more than one hundred options and use the coding roadmap to check prerequisites.

The four we are known for

Python, AI, vibe coding and agentic coding

These run underneath everything above. Every one is live and online, placed by ability rather than by age, and the first class is free.

The Borders in numbers

About 116,900 people across the Borders

Council totals are rounded first results from the 2022 census, published by National Records of Scotland. Town sizes come from a separate NRS series for mid-2020.

Scottish Borders localities above 2,500 people, NRS mid-2020 estimates
LocalityResidentsLocalityResidents
Hawick10,630Eyemouth3,580
Galashiels10,060Langlee3,410
Peebles9,000Innerleithen3,180
Kelso6,870Burnfoot2,990
Selkirk4,540Duns2,820
Jedburgh3,860Melrose2,500

At 24.7 residents per square kilometre, the Borders are about a third as densely settled as Scotland overall, where the figure is 69.8. Summing the census age bands ourselves, we find 14.4 per cent of residents under 15 and 26.3 per cent aged 65 or over, against 15.3 and 20.1 for Scotland. Tweedbank is the next locality after the table. Term and holiday dates come from Scottish Borders Council, and rather than guess them we ask each household for its own.

Edinburgh and exams

The capital has its own Edinburgh page. For qualifications, see National 5 Maths and Higher Computing Science.

The Borders project

When is Easter, and can you prove it?

Two formulas, a trusted library, and 2,517 years of tests.

Easter Sunday is set by a rule: the first Sunday after the church's calculated full moon on or after 21 March. The calculated moon follows tables, not the real sky, so the whole thing reduces to whole-number arithmetic with remainders. The learner codes two famous versions. One, often called the anonymous Gregorian algorithm, is a chain of about a dozen divisions and remainders. The other, by the mathematician Carl Friedrich Gauss, is shorter but comes with two special exceptions. Both are then compared with the Easter function in a well-tested Python library, year by year from 1583 to 4099.

Our Easter tests, every year from 1583 to 4099, 26 September 2026
MethodYears checkedYears wrongExamples
Anonymous algorithm2,5170None
Gauss, with both exceptions2,5170None
Gauss, exceptions left out2,517231954, 1981, 2049, 2076
Easter 2026 and 2027Our codeNot applicable5 April 2026, 28 March 2027

Gauss's formula without its exceptions looks perfect for decades at a time, then fails. In 1981 it gives 26 April; the real date was 19 April. In 1954 it gives 25 April instead of 18 April, and the next failure is 2049. Only 23 years in more than 2,500 go wrong, which is exactly why the bug survives casual testing: try a handful of recent years and every answer is right. The two exception rules exist precisely to catch those cases.

With a trusted function, the learner can ask bigger questions. The Gregorian Easter pattern repeats only after 5,700,000 years, and a modern laptop can run the whole cycle in seconds. Easter can fall on 35 dates, from 22 March to 25 April. The most common is 19 April, 3.9 per cent of years; the rarest is 22 March, under half a per cent. Within 1900 to 2099, the earliest Easter was 23 March 1913 and the latest will be 25 April 2038. Fewer than a quarter of Easters fall in March.

Ages 8 to 11

Look up Easter for the last ten years, spot the pattern of moving dates, and build a Scratch quiz on them.

Ages 11 to 15

Code the anonymous algorithm in Python and compare its answers with a calendar for twenty years.

Ages 15 and up

Implement Gauss with and without exceptions, test every year against the library, and count dates across the full cycle.

Abbey history, our arithmetic

The abbey facts come from the Historic Environment Scotland record. The Easter dates, test counts and percentages come from our own program checked against the python-dateutil library; they do not describe how Melrose itself kept its calendar.

Why Melrose Abbey

Founded in 1136 or 1137

What the scheduled monument record says.

Melrose Abbey, HES scheduled monument SM90214
Record detailWhat it says
Founded1136 or 1137, by King David I
WaterA lade from a weir on the River Tweed about 500 metres to the west-northwest
CloisterUnusually north of the church, to use the diverted waters of the Tweed
RebuildingAfter severe damage by an invading English army in 1385
Later useA barrel vault inserted around 1621, when the abbey served as a parish church
SettingBeside the historic centre of Melrose, about 80 metres above sea level

Rare-case bugs like Gauss's missing exceptions are the ones that reach real software: leap years, daylight saving changes, the last day of a month, the rollover to 2000. Calendars, booking systems and payroll programs all depend on date rules that are right almost always. A Borders pupil who has watched a formula fail in 1981 yet pass every year around it knows why professional code is tested against every case, not a sample.

Historic Environment Scotland and Scottish Borders Council have no connection with us. The record's facts are theirs; the Easter code, the tests and any mistakes are ours.

Stages

From calendars to tested algorithms

Stages are a starting guide; the free lesson confirms the level.

P1 to P4

Patterns and dates

Block coding with counting, days and repeating patterns.

Coding for KidsScratch Coding for Kids
P5 to S2

Remainders and rules

Typed Python with division, remainders and simple date puzzles.

Maths Through CodingPython and AI for Kids
S3 to S6

Algorithms and proof

Algorithms and systematic testing beside National 5, Higher and Advanced Higher Computing Science.

Problem Solving for TeensPython for Teens
Adults

Dates in real code

Python for adults, including dates, schedules and data.

Python MasterclassData Analysis Course
AI and edge cases

An AI can write an Easter function in seconds. Will it remember 1981?

A formula that is right almost every year is still wrong.

Ask a chatbot for a function that finds Easter and it may produce Gauss's short formula, sometimes without the two exceptions. Spot-checking recent years will not reveal the problem; only a full comparison against a trusted source does.

A Borders learner who has run the full test knows to check generated code exhaustively whenever the domain allows it. That discipline is the most valuable thing a person brings to AI-written code.

Hunting down the rare year where the answer breaks is a skill no AI supplies, and it is why a Borders teenager should still learn to code in 2026. The longer argument is in why teenagers should still learn to code in 2026.

How lessons run

From Eyemouth to Peebles, lessons at home

Across a large rural council area, online lessons remove the drive to an evening club.

Type, run, fix

The learner writes every line; the teacher follows the shared screen and helps when it breaks.

The same stage names as school

A Galashiels S3 or a Hawick P6 hears the Curriculum for Excellence terms they already know, up to Advanced Higher. We teach in English.

A free first lesson

A real lesson, no payment, and then honest advice.

Peers at your level

Classes gather five to ten learners who share a stage, wherever in the world they happen to live.

Term time only

Two lessons a week in term; none during the school holidays.

Clock changes handled

When British clocks go forward or back, your class stays at its usual UK hour; the teachers in India time are the ones who shift.

Why groups reach beyond one town

Five learners at the same stage, free at the same hour, rarely live in one Borders town. Grouping by stage across a wider pool gives a pupil in Duns or Innerleithen a class that fits.

Fees

Fees in the Scottish Borders

Hawick or Eyemouth, the fee is the same, and it matches every country we teach outside India.

First classUSD 0

A complete free lesson, followed by a recommendation.

Group tuitionUSD 100

About eight lessons a month in a group of five to ten.

Private tuitionUSD 150

About eight lessons a month with one teacher.

All fees are in US dollars; there is no sterling price list. We bill only after the free lesson has set a course and weekly time, and the pricing page explains holidays, missed lessons and switching formats.

Reviews

Star ratings and comments on Google

Rated 4.9 across 547 Google reviews. These are real reviews, reproduced as written.

★★★★★

"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

Free placement class

Book a free Borders lesson

A line about the learner is enough: age or stage, plus something they enjoy. From that we plan a first lesson such as a Scratch game, some Python, or the Easter calculation on this page.

+44

FAQ

Scottish Borders questions

The council area, the Melrose Abbey project and practical points.

How many people live in the Scottish Borders?

NRS rounds the 2022 census count to about 116,900 residents, in around 55,600 households.

What are the largest towns in the Scottish Borders?

NRS mid-2020 estimates: Hawick 10,630, Galashiels 10,060, Peebles 9,000, Kelso 6,870 and Selkirk 4,540.

What is the Melrose Abbey project?

Learners code two Easter formulas in Python, test both against a trusted library for every year from 1583 to 4099, and find that Gauss's formula without its exceptions is wrong in 23 years, including 1981.

What is the most common date for Easter?

Across the full 5,700,000-year Gregorian cycle, 19 April, in about 3.9 per cent of years, by our calculation.

When was Melrose Abbey founded?

Historic Environment Scotland says it was founded in 1136 or 1137 by King David I.

Are lessons held in the Borders?

No building is involved. Pupils in Jedburgh, Selkirk or a farm near Duns connect by video from home.

Do you teach National 5 Maths?

Yes, along with Higher Maths and Computing Science. We teach understanding and make no promises about grades.

Who can join?

Anyone aged 6 to 67, from young children using blocks to adults starting Python.

What does it cost?

One trial lesson at no charge; after it, a group seat is USD 100 per month and one-to-one tuition USD 150 per month.

Do lessons stop for school holidays?

We follow your school's calendar: when the Borders holidays begin, lessons stop, and they pick up again in the new term.

Nearby

Other pages near the Borders

Next door in our series, Midlothian works out which faces of a sundial catch the sun, East Lothian models Bass Rock gannets and Dumfries and Galloway counts dark-sky stars. The full list is on our Scotland page. The UK hub covers the rest.

Free Scottish Borders classCall +91 91233 66161

Keep exploring Modern Age Coders

Coding classes in nearby places

Free resources

From the blog

Start here