Skip to content
Home/Oman/Saham
Saham, Al Batinah North

Coding classes in Saham where outlet 10 does not come before outlet 2

What are the best coding classes in Saham?

Saham runs on ordered things. Falaj outlets take water in turn, souq stalls open in order, and a boat leaves before or after another boat. Modern Age Coders teaches live online coding, Python, AI and mathematics to Saham learners aged 6 to 67, starting from why a computer puts 10 before 2. Nothing is charged for the placement lesson. After it, a month in a group is USD 100 and a month one to one is USD 150.

The wilayat sits on the coast between Al Khaburah and Sohar, about 200 kilometres from Muscat, and its aflaj carry numbered outlets. Write those labels into a list, sort the list, and the order that comes back is not the order the water runs in. The local project is about why, and about the two lines that fix it.

Facts last verified 23 August 2026. Teaching is online; no Saham branch is claimed.

Course picks

Order a list, sort a list, prove the order

Four routes from putting things in sequence by hand to writing the comparison a computer will use.

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.

Saham today

A wilayat that has always had to keep things in turn

Water rotas, market days and boat departures are all ordering problems, and Saham has been solving them without software for a very long time.

Four aflaj carrying names, not numbers

The wilayat record names Bani Ameer, Al Roodha, Al Mahab and Sheidah among its aflaj. A falaj distributes water in turn, which means somebody has always had to agree what comes first, what comes next, and what happens when two claims collide.

A souq covering 130,000 square metres

Saham souq covers 130,000 square metres and was renovated to modern standards in 2018. On the seventh day of Dhu al-Hijja, three days before Eid Al Adha, it holds a livestock market. That is a date, a scale and a recurrence, and all three are data.

Lemons, fishing and a coastline

The wilayat overlooks the Sea of Oman and has been noted since ancient times for lemon production, with a considerable quantity exported. Fishing and farming remain the main industries, alongside silver work, wooden items and traditional shipbuilding.

An order is a decision somebody has to write down

A rota that everyone remembers works until it is typed into a computer, at which point the computer applies its own rule. The rule it applies to text is not the rule a person applies to a number, and nobody is told about the swap. That is the whole subject of this page.

Verified local facts

Saham detail with a source behind it

Named places, named channels and dated facts, each with its scope stated.

A fort that housed the governor

Al Souq Fort in Saham was once the residence of the governor. Saham's forts were built to protect the wilayat, and the fort sits beside the historic souq rather than apart from it, which tells you what the wilayat was organised around.

Coastal villages with their own names

Sur Al Shiyadi, Sur Al Buloosh, Mukhaileef, Khour Al Hamam and Al Manqel are among the wilayat's villages. Each is a distinct place with a distinct name, and none of them is a number, which is exactly why numbers get bolted on to labels in the first place.

Northern and southern regions listed separately

The northern regions include Majaz, Al-Huwail, Al-Marfa, Al-Hadeeb and Al-Gowaisa. The southern regions are Al-Deel and Hafeet. A record that flattens north and south into one column called area has thrown away a distinction the wilayat itself maintains.

Three named khors along the shore

Khor Al Milh, Khor AlHimam and Khor AlShiyadi are named inlets on the Saham coast. Transliteration differs between sources, which is its own lesson: a place identifier should be a code the spelling cannot break, with the display name stored beside it.

Wadis that feed the farms

Wadi Aheen, Khour Al Malh and Al Sakahn are named among the wilayat's wadis. Water arriving down a wadi and water distributed along a falaj are two different systems, and a dataset that mixes them will produce totals nobody can explain.

A slaughterhouse dated to 2015

The Saham slaughterhouse opened in 2015 and the souq district is called Hillat AlSouq. Small dated facts like these are what let a learner build a timeline that can be checked, rather than a story that merely sounds right.

Modern Age Coders has no connection to any body named above and claims none. The names are here so that a learner can go and read the same page we read, then disagree with us if the record says something different.

Signature project

The rota where five outlets out of six land in the wrong slot

Every label is spelled correctly. The sort function is the one that ships with the language. The resulting order is still wrong, and nothing anywhere reports it.

1. Write the outlets down

Six outlet labels across two named aflaj, Bani Ameer and Al Roodha, numbered the way people number things: 1, 2, 9, 10, 11. The learner writes the list by hand first, in the order the water actually runs.

2. Sort it the obvious way

A plain sort compares the labels character by character. The character 1 comes before the character 2, so Bani Ameer 10 lands before Bani Ameer 2, and Al Roodha 11 lands before Al Roodha 9. The list is now ordered, and it is not the rota.

3. Split the label and sort on the parts

The repair is to stop treating the label as one thing. Split it into a name and a number, turn the number into an integer, and sort on the pair. Two lines of code and the water runs in the right order again.

Six Saham falaj outlets, two different orders
PositionSorted as textSorted on name and numberSame slot?
1Al Roodha 11Al Roodha 2No
2Al Roodha 2Al Roodha 9No
3Al Roodha 9Al Roodha 11No
4Bani Ameer 1Bani Ameer 1Yes
5Bani Ameer 10Bani Ameer 2No
6Bani Ameer 2Bani Ameer 10No

One row out of six survives the text sort

Both programs were run before this table was written. Five of the six positions differ between the two orders and exactly one outlet, Bani Ameer 1, happens to sit in the right place. A list that is 83 per cent wrong still looks like a sorted list, because being sorted and being correct are not the same property.

Reliable pipeline

Stop storing two facts in one string

The sorting bug is a symptom. The cause is that a name and a number were glued together and the glue was never undone.

From a glued label to fields that behave
StageRuleWhat it preventsWhat you get back
ModelGive the name and the number separate fieldsA label doing two jobs badlyTwo columns you can each sort
ParseSplit once at import, not at every useThe same fragile split repeated everywhereOne place to fix a bad label
SortOrder on the pair, name first then numberCharacter order posing as sequenceThe rota people actually follow
ValidateReject a label whose number will not parseA silent fallback to text orderA named row to go and correct
DisplayRebuild the readable label for peopleMachine fields leaking into a rota sheetA sheet a farmer can read

For younger learners

Cards numbered 1, 2, 9, 10 and 11 are laid out first as a person would order them, then as a dictionary would. Children see the two orders side by side on a table before they ever meet a sort function.

For teenagers

Python sorts the list twice, once plainly and once with a key that splits the label. The learner writes the key, counts how many positions moved, and adds a test that fails when somebody puts the plain sort back.

For adults

The fix moves upstream into the schema. A number that means sequence is stored as an integer column, and the display label is generated from the fields rather than parsed back out of them.

The outlet numbers used in the project are teaching values built on the four falaj names Saham publishes. No claim is made about the real rotation of any falaj, which belongs to the people who hold the shares. What is real, and reproducible anywhere, is what a text sort does to a number.

Learning ladder

From ordering cards to designing the column

The free class works out which rung is the useful one to start on.

Ages 6 to 10

Put things in a real order

Sequence, first and last, and what changes when a rule changes.

Elementary MathematicsKids Coding Blocks
Ages 11 to 13

Compare characters and numbers

Learners see the two comparison rules and predict which applies.

Maths Through CodingPython and AI for Kids
Ages 14 to 18

Write the sort key

Teenagers split labels, sort on tuples and test the edge cases.

Python for TeensJavaScript for Teens
Ages 18 to 67

Model it properly upstream

Adults design the columns so the sort never needs rescuing.

MySQL DatabaseData Analysis
Delivery

Live classes for a coastal wilayat two hundred kilometres up the road

Saham sits about 200 kilometres from Muscat. That distance is the argument for learning online, and the format is agreed before any money changes hands.

The commute stops being a factor

A learner in Sur Al Buloosh and a learner near the souq join the same class from home. Two hundred kilometres to the capital and back is a day, not an evening, and no course survives that twice a week.

Nothing is charged for the first class

The placement class carries a real task, a real recommendation and no card. If the honest answer is that a different course fits better, that is what gets said.

Groups of five to eight

Learners are grouped by level and objective rather than by age, because a fourteen year old and a forty year old often want the same thing and learn it at the same speed.

One to one for a fixed target

An examination date, a school project or a work problem with a deadline is usually better served by a single teacher and a single learner.

Eight lessons in a normal month

Two live lessons a week at a recurring agreed time. Not a library of recordings and not a slot that moves every week.

Timed against Oman, not against India

Oman runs one and a half hours behind India, and the slot is set around school, work, examination periods and Ramadan before it is confirmed.

The teacher is there for the moment the sort looked right

A learner who sorts a list and gets a tidy-looking answer has no reason to doubt it. The value of a live class is somebody asking, at that exact moment, whether the tidy answer is the true one, and then waiting while the learner works out how to check.

Fees

One free class, then group or private tuition

Pricing is in USD and is confirmed with the selected format.

First classUSD 0

Ability task, goal review and starting recommendation.

Group tuitionUSD 100

Per month, normally eight lessons, five to eight learners.

Private tuitionUSD 150

Per month, normally eight lessons, one student and one teacher.

Reviews

What families and learners say

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

Tell us where the learner is now and where they want to get to

The placement task might be ordering cards, writing a sort key, or unpicking a spreadsheet the learner already has to work with every week.

+968

FAQ

Saham coding class questions

Local detail, teaching method and service terms, answered separately.

Are these classes only for school students in Saham?

No. The range is 6 to 67. Children start with sequence and block coding, teenagers work in Python and JavaScript, and adults study Python, databases, data analysis or AI automation. Placement is by demonstrated ability rather than by age, so a beginner adult and a strong teenager can start in the same place.

Is there a Modern Age Coders centre in Saham?

No. No premises are claimed in Saham or anywhere in Al Batinah North. Every class is live online and needs a laptop or desktop, working audio, a current browser and a stable connection. The page describes where the service reaches, not where a building is.

What is the Saham falaj-ordering project?

The learner writes out numbered outlet labels across two of the wilayat's named aflaj, sorts them the obvious way, and finds that five of the six positions are wrong because the number inside the label was compared as text. The repair splits each label into a name and an integer and sorts on both. It is two lines of code and a permanent change in how the learner reads a list.

Do the outlet numbers describe the real water rota?

No, and the page says so. The four falaj names are real and published. The outlet numbers are teaching values, because a real rotation belongs to the shareholders who hold it and is not ours to publish. What is real is the sorting behaviour, and that is identical in every language a learner will meet.

Why does a computer put 10 before 2?

Because it is comparing characters, not quantities. It reads the first character of each label, sees 1 against 2, and stops there. That rule is correct for words and wrong for numbers, and software cannot tell which one you meant unless the number is stored as a number.

Can a Saham learner work on a file from their own job or farm?

Yes, within limits. A learner's own problem is the best teacher available. The data has to be public or something the learner is authorised to use, and confidential customer, employer or personal records must never be uploaded into a class exercise.

How much do Saham coding classes cost?

The first class is free. Standard group tuition is USD 100 per month for two live lessons each week, normally eight lessons monthly. Standard private tuition is USD 150 per month for one learner with one teacher on the same usual frequency. Course, format, recurring time and availability are confirmed before payment.

What is the class size for Saham learners?

A group normally contains five to eight compatible learners. Compatibility includes current level, learning pace and objective, not age alone. Private tuition is one learner with one teacher. If no suitable group is ready, a learner can discuss private tuition or wait for an appropriate cohort.

How are Saham class times arranged?

Oman is one and a half hours behind India. The teacher and learner agree a recurring time before payment, generally for two live lessons each week. Friday and Saturday options may be discussed subject to availability. School, work and transport schedules, examinations and Ramadan routines should be mentioned before confirmation.

What happens in the free Saham class?

The teacher finds out what the learner wants to be able to do and sets one short task at that level. A child orders numbered cards, a teenager sorts a list two ways and explains the difference, and an adult looks at a real ordering problem from their own work. The teacher then recommends a course, a format and a time, and states the USD fee. Nothing is charged for that class.

Explore Oman

Along the same coast, two different faults in the data

The Oman coding hub sets out national delivery and fees. Read As Suwaiq for identifiers that lose their leading zero, and Sohar for keeping a unit attached to every number.

Free Saham classCall +91 91233 66161

Keep exploring Modern Age Coders

Coding classes in nearby places

Free resources

From the blog

Start here