Skip to content
Home/United Kingdom/Scotland/Dumfries and Galloway
Dumfries and Galloway

Coding classes in Dumfries and Galloway

What are the best coding classes in Dumfries and Galloway?

Dumfries and Galloway is a single, sprawling council area, where Scotland's Census 2022 found about 145,900 people in some 70,600 households, at 22.7 people per square kilometre. Dumfries is by far the largest town, then Stranraer and Annan, with Lockerbie, Dalbeattie, Newton Stewart, Castle Douglas and Kirkcudbright after. Every class runs live over video from India, and learners are grouped by ability, from Primary 1 through S6 and on to adults. We teach coding, Python, data science and maths to everyone between 6 and 67, privately or in small classes of five to ten. The Dumfries and Galloway project looks up at the Galloway sky. Lesson one is free; after that it is USD 100 a month in a group or USD 150 a month one-to-one.

Forestry and Land Scotland says that in 2009 Galloway Forest Park became one of the first places in the world to be named an International Dark Sky Park, and that on a clear night over 7,000 stars and planets are visible with the naked eye. That is a claim a programmer can test. Astronomers have catalogued every star bright enough to see without a telescope, with its brightness and its position. This page's project loads that catalogue into Python, works out which stars ever rise over Galloway and how many are above the horizon at any one moment, and finds that the answer depends entirely on what "visible" is taken to mean.

Facts last verified 26 September 2026. Teaching is online; no Dumfries and Galloway branch is claimed.

Courses for Dumfries and Galloway

Where Dumfries and Galloway learners start

A P5 pupil in Castle Douglas who loves the stars, an S2 in Annan starting Python, an S5 in Dumfries working with data, and an adult in Stranraer building new skills. Each begins with a free lesson.

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.

Dumfries and Galloway in figures

About 145,900 people from the Solway to the Galloway hills

Population, households and density come from the 2022 census as first published, in hundreds; the town list is from the NRS mid-2020 locality estimates.

Dumfries and Galloway localities above 3,000 people, NRS mid-2020 estimates
LocalityResidentsLocalityResidents
Dumfries33,470Dalbeattie4,160
Stranraer10,110Newton Stewart4,030
Annan8,760Castle Douglas4,000
Locharbriggs5,610Kirkcudbright3,350
Lockerbie4,190Gretna3,110

At 22.7 residents per square kilometre, the council area is about a third as densely settled as Scotland overall. Our addition of the census age groups gives 14.1 per cent under 15 and 27.1 per cent aged 65 or over, compared with 15.3 and 20.1 per cent for Scotland. Moffat and Lochmaben are the next towns after the table. Dumfries and Galloway Council sets school term dates, which we have not read; we fit breaks around each family's calendar.

Over the border

Many families look across the Solway to Carlisle and Cumbria. For Scottish exams, see National 5 Computing Science and Higher Computing Science.

The Dumfries and Galloway project

How many stars can you really see?

A real star catalogue, a few lines of spherical geometry, and a claim that depends on its definition.

The learner downloads the Yale Bright Star Catalogue, which lists the brightness and position of every star bright enough to see without a telescope: 9,096 entries with both values. Astronomers measure brightness in magnitudes, where bigger numbers are fainter, and the usual naked-eye limit under a dark sky is around magnitude 6 to 6.5. First the program counts stars brighter than each magnitude, and a pattern jumps out: each step fainter roughly triples the count, from 174 stars brighter than 3 to 518 brighter than 4, 1,630 brighter than 5 and 5,080 brighter than 6.

Our counts from the Bright Star Catalogue for a place at latitude 55 degrees north
What "visible" meansStars counted
Whole sky, brighter than magnitude 6.58,404
Every star in the catalogue that ever rises at 55 degrees north6,814
Above the horizon at one moment, brighter than 6.5 (average of 24 times)About 4,074
The same, but at least 10 degrees above the horizonAbout 3,387
Above the horizon at one moment, brighter than 6.0About 2,433

Now the claim. From Galloway, at about 55 degrees north, stars far enough south never rise, so the program keeps only those with a declination above minus 35 degrees: 6,814 catalogue stars. But at any single moment only the half of the sky above you counts. Using a little spherical geometry to work out each star's height, the program finds on average about 4,074 stars brighter than magnitude 6.5 above the horizon at once, and about 3,387 if the murky lowest ten degrees are left out. Seeing over 7,000 would need a different definition: counting over the whole year, including planets, or seeing stars fainter than 6.5 under an exceptional sky.

That is the real lesson. The claim may well be true in the sense its authors intended; our program cannot tell. What it does show is that a number like "over 7,000 visible" means very little until you know over what time, down to what brightness, and from what height above the horizon. Making those choices explicit, and seeing how much each one moves the answer, is exactly what data work is.

Ages 9 to 12

Count the stars inside a cardboard tube on a clear night, then multiply up for the whole sky, and discuss why guesses vary so much.

Ages 12 to 15

Load the catalogue in Python, count stars brighter than each magnitude, and plot the counts to see the tripling.

Ages 15 and up

Compute each star's altitude for a given time and latitude, average over the night, and write up what "visible" should mean.

Their claim and our counts

The Dark Sky Park facts and the 7,000 figure are Forestry and Land Scotland's. The Bright Star Catalogue is published by the Strasbourg astronomical data centre from Yale's work. Every count on this page is ours, and a different latitude, brightness limit or catalogue would give different numbers.

Why Galloway

One of the first Dark Sky Parks in the world

The Dumfries and Galloway link, from Forestry and Land Scotland.

Galloway International Dark Sky Park, as Forestry and Land Scotland describes it
PointThe page says
DesignationIn 2009 Galloway Forest Park became one of the first in the world to be named an International Dark Sky Park.
TierIt was also awarded Gold Tier status.
On a clear nightOver 7,000 stars and planets are visible with the naked eye.
The Milky WayIts bright band is usually easy to see arching across the sky.

Astronomy was one of the first sciences to depend on large catalogues and careful counting, and today's sky surveys produce more data than any other science. The skills on this page, loading a catalogue, applying a threshold, doing geometry on every row and defining terms precisely, are the same ones used in genetics, finance and AI. A Dumfries and Galloway student who has checked a claim about their own sky has done real data science.

We have no connection with Forestry and Land Scotland, the Strasbourg data centre or Dumfries and Galloway Council. Their facts and data are theirs; our analysis and any mistakes are ours.

Nearby pages

Carlisle and Cumbria are over the border; Glasgow is to the north. The Scotland page lists every council.

The path

From counting stars to testing claims with data

The free lesson settles where to start. The school stage is a clue, and ability is the answer.

P1 to P4

Counting games

Block coding with counting, sorting and simple night-sky scenes.

Coding for KidsScratch Coding for Kids
P5 to S2

Lists and thresholds

Typed Python that filters a list by a rule and counts what passes.

Python and AI for KidsMaths Through Coding
S3 to S6

Real datasets

Data science with real catalogues, useful alongside National 5 and Higher courses.

Data Science for TeensPython for Teens
Adults

Data you can defend

Spreadsheets, SQL and Python for adults who need numbers that stand up to questions.

Data Analysis CourseData and AI Analytics for Non-Programmers (Excel, Sheets, Power BI)
AI and definitions

An AI can repeat "over 7,000 stars". Can it tell you what that number counts?

Numbers without definitions travel easily and mean little.

AI assistants are very good at repeating figures they have read, and a figure like "over 7,000 stars visible" will be repeated widely. What they rarely do, unless asked, is unpack it: at one moment or over a year, down to which brightness, above what height. Our own count gives about 4,074 at one moment, 6,814 over the year, and 8,404 over the whole sky, all from the same catalogue.

A Dumfries and Galloway student who has run those numbers knows to ask what a figure counts before trusting or repeating it. That question is essential for anyone using AI to research anything, from health statistics to school results.

So a young person in Dumfries and Galloway should learn to code in 2026 to find out what a number really counts. The longer argument is in why teenagers should still learn to code in 2026.

How lessons run

From the Rhins to Annandale, no long drive

Dumfries and Galloway is wide and rural, and a weekly class at the right level can be far from home. Online lessons remove the distance.

Home is the classroom

A farmhouse near Newton Stewart, a flat in Dumfries, a house in Stranraer. The pupil types the code while the teacher watches the shared screen.

Scottish stages

Teachers know where a P7 or an S4 pupil is in the Scottish system, from Primary to National 5, Higher and Advanced Higher, and teach in English.

Free to start

A real first lesson, then clear advice on level and course. No card details are asked for.

Groups by stage

Each class of five to ten shares a level, even if its members live in different countries.

Term and holidays

A usual week has two lessons; when the school holidays start, so does our break.

UK time, steady

Your slot stays at the same UK time all year; the teacher, on India time several hours ahead, adjusts when the clocks change.

Why groups follow level

Across a council area this large, five learners at one stage who are free on the same evening rarely live near each other. Grouping by level lets a pupil in Moffat or Kirkcudbright join a class that fits.

Fees

Fees in Dumfries and Galloway

Stranraer or Gretna, the fee is the same, and it is the fee in every country we teach apart from India.

First classUSD 0

A full lesson of genuine work, then a suggested level and course.

Group tuitionUSD 100

About eight lessons a month with five to ten learners at one level.

Private tuitionUSD 150

About eight lessons a month, one-to-one.

Prices are set in US dollars, not pounds. Payment only begins after the free lesson has settled which course and which weekly hour; holiday pauses, missed lessons and changing between group and private are explained on the pricing page.

Reviews

Reviews from families 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 Dumfries and Galloway lesson

Give us the pupil's stage or the adult's aim, and one or two interests. A first lesson could be a Scratch night-sky scene, a Python counting program, or the star catalogue on this page.

+44

FAQ

Dumfries and Galloway questions

The council area, the dark sky project and practical details.

How many people live in Dumfries and Galloway?

The 2022 census put it at about 145,900 usual residents living in some 70,600 households, figures the NRS rounds to hundreds.

What are the largest towns in Dumfries and Galloway?

By NRS mid-2020 locality estimates: Dumfries 33,470, Stranraer 10,110, Annan 8,760, Locharbriggs 5,610 and Lockerbie 4,190.

What is the dark sky project?

Learners use the Yale Bright Star Catalogue in Python to count stars by brightness, work out which rise at Galloway's latitude and how many are up at once, and test the claim that over 7,000 are visible.

How many stars can you see at once?

By our count from the catalogue, about 4,000 stars brighter than magnitude 6.5 are above the horizon at any moment at 55 degrees north, fewer near the horizon. Other definitions give larger numbers.

When did Galloway become a Dark Sky Park?

Forestry and Land Scotland says Galloway Forest Park became one of the first International Dark Sky Parks in 2009, with Gold Tier status.

Are lessons held in Dumfries and Galloway?

No. All lessons are live online, so pupils anywhere in the council area join from home.

Do you teach National 5 and Higher Computing Science?

Yes: exam support is set out on our National 5 and Higher Computing Science pages. Our aim is understanding, and we make no promise about results.

What ages do you teach?

Anyone from six to sixty-seven: blocks in the early primary years, Python and then data science through secondary, and practical data skills for adults.

How much do lessons cost?

The first lesson is free. From then on it is USD 100 monthly in a group or USD 150 monthly for individual lessons.

Do you pause for Dumfries and Galloway school holidays?

Yes. Term dates are published by the council, and we arrange pauses once you send yours.

Close by

Pages near Dumfries and Galloway

South over the Solway are Carlisle and Cumbria; north is Glasgow. All 32 Scottish councils appear on our Scotland page. The UK hub has the rest.

Free Dumfries and Galloway classCall +91 91233 66161

Keep exploring Modern Age Coders

Coding classes in nearby places

Free resources

From the blog

Start here