Skip to content
induwara.lk
Premium
induwara.lkSri Lanka · Travel

Sri Lanka Driving Licence Written Exam — Free Practice Test

Sit a timed mock of the DMT written examination right here — 154 questions on Sri Lankan road signs, road markings, police hand signals and Motor Traffic Act rules, scored against the 75% pass mark, with a per-topic breakdown of what to revise and the rule behind every answer. Free, no signup, unofficial practice material.

By Induwara AshinsanaUpdated Sep 21, 2026
Practice the DMT written test154 questions
Bank self-checked · 2026-09-21Unofficial practice

Covers DMT class B1, B. 146 questions available.

A full DMT paper is 40 questions in 60 minutes.

Mode

The full syllabus, on the clock. Unanswered questions count as wrong, exactly as they do in the real test.

Sinhala is shown beneath the English wherever it has been written. Tamil is planned.

Road sign: amber diamond with a black border and a black symbol, showing two children walking

What this does

You get a paper drawn from 154 questions covering road signs, road markings, police signals and the Motor Traffic Act rules — stratified so it always spans the syllabus rather than landing on forty sign questions in a row. Signs are drawn as inline graphics, so nothing is downloaded and nothing is sent anywhere.

At the end you get a pass or fail against the 75% pass mark, a per-topic breakdown of what to revise, and the rule behind every answer you got wrong.

Every answer cites the Motor Traffic Act, the Highway Code or the RDA Manual on Traffic Control Devices — the citation is shown with each explanation. Not a Department of Motor Traffic product.

How it works

There is no floating-point arithmetic in this tool. Correctness comes from two places: a question bank where every answer is transcribed from a cited rule rather than written from memory, and a scorer that applies the Department's published pass mark exactly.

Where the questions come from

Sri Lankan road signs are prescribed under the Motor Traffic Act (Chapter 203) and detailed in the Road Development Authority's Manual on Traffic Control Devices. The scheme is the one you see on the road: a warning is an amber diamond with a black border and a black symbol; a prohibition is a white circle inside a red ring, with a red diagonal bar where the action is forbidden; a mandatory instruction is a solid blue circle with a white symbol; information and direction signs are rectangles, blue on ordinary roads and green on expressways. A question may only assert a meaning that appears in one of those documents, the Highway Code, or a gazetted schedule. Anything that could not be sourced was dropped from the bank rather than guessed — which is why this page will not tell you how many days you must wait before a re-sit.

Where a question quotes a number, that number is imported from the module that already owns it. The national speed limits come from the same table as the speed limit finder, and the spot fines from the same schedule as the traffic fine calculator. A validation pass asserts the two still agree, so a gazette amendment shows up as a failed check instead of a stale answer.

How a paper is drawn

A paper is stratified, not sampled at random from the whole bank. Questions available for your licence class are pooled, then each topic is given a fixed share of the paper: 20% warning signs, 20% prohibitory & mandatory signs, 10% informatory & direction signs, 15% road markings & traffic lights, 15% police signals & right of way, 20% rules, documents & penalties. Fractional seats are resolved by largest-remainder rounding, ties broken by syllabus order — so a 10-question set splits 2 / 2 / 1 / 2 / 1 / 2 rather than landing on ten sign questions in a row. If a topic cannot fill its seats for your class, they go back to the other topics instead of shortening the paper. Question order and option order are both shuffled by a seeded generator, and the seed is printed on the result card so the identical paper can be rebuilt or shared.

How it is scored

Scoring follows the Department's electronic test: unanswered questions count as wrong, and there is no negative marking. The pass threshold is required = ceil(total × 75 / 100), and you pass when your correct count is at least that — 30 of 40, or 15 of 20, or 8 of 10. The same number is derived a second way in the code, by counting upwards until the percentage reaches the pass mark, and the two are cross-checked against each other for every paper length from 0 to 120. That check exists for one reason: the boundary. Exactly 30 of 40 is 75.0% and passes; one fewer is 72.5% and fails.

Each topic is then scored on its own: 85% or better is Strong, 6084% is Revise, and below 60% is Weak. The weak topics feed the “practise weak topics” button, which builds a short untimed set from exactly those. A full 40-question mock is timed at 60 minutes, with shorter papers scaled in the same proportion (30 minutes for 20, 15 for 10).

Worked examples

Every figure below was worked out by hand first, then checked against the code. The self-check runs on each page load, and the badge on the calculator turns if it ever disagrees.

Class B · 40 questions

Class B, 40-question timed mock — a pass

31 / 40PASS

  1. Topic quota for 40 questions: 8 / 8 / 4 / 6 / 6 / 8 = 40
  2. Correct by topic: 7 + 5 + 4 + 5 + 4 + 6 = 31
  3. Percentage: 31 / 40 x 100 = 77.5%
  4. Pass mark: ceil(40 x 75 / 100) = 30 correct
  5. 31 >= 30 -> PASS
  6. Weakest topic: prohibitory & mandatory signs at 5/8 = 62.5% (Revise)

Class A · 40 questions

Class A, 40-question timed mock — a fail by two answers

28 / 40FAIL

  1. Correct by topic: 4 + 6 + 3 + 5 + 5 + 5 = 28
  2. Percentage: 28 / 40 x 100 = 70.0%
  3. Pass mark: 30 correct
  4. 28 < 30 -> FAIL, two more correct answers needed
  5. Weakest topic: warning signs at 4/8 = 50.0% (Weak) -> practise that set first

Class B · 40 questions

The boundary case — exactly 30 of 40

30 / 40PASS

  1. Correct by topic: 6 + 6 + 3 + 5 + 4 + 6 = 30
  2. Percentage: 30 / 40 x 100 = 75.0%
  3. Pass mark: ceil(40 x 75 / 100) = 30
  4. 30 >= 30 -> PASS. A pass mark is 'at least', not 'more than'
  5. One answer fewer, 29, gives 72.5% and fails. This is the off-by-one the scan cross-check exists to catch

Class J · 10 questions

10-question practice set — quota rounding

8 / 10PASS

  1. Raw shares for 10: 2 / 2 / 1 / 1.5 / 1.5 / 2
  2. Floor: 2 / 2 / 1 / 1 / 1 / 2 = 9, one seat spare
  3. Largest remainder, ties by syllabus order -> road markings takes the seat
  4. Quota: 2 / 2 / 1 / 2 / 1 / 2 = 10
  5. Correct: 2 + 1 + 1 + 2 + 0 + 2 = 8; 8 / 10 = 80.0%
  6. Pass mark: ceil(10 x 75 / 100) = 8 -> PASS

Sri Lankan road signs — full reference

Every sign in the question bank, drawn as inline graphics and grouped by family. Shape and colour tell you the class of message before you read the symbol.

Warning signsamber diamond with a black border and a black symbol

Road sign: amber diamond with a black border and a black symbol, showing a road curving sharply to the right

Right-hand bend ahead

ඉදිරියේ දකුණට වංගුවක්

The road bends sharply to the right. Slow down before the bend, not in it.

Road sign: amber diamond with a black border and a black symbol, showing a road curving sharply to the left

Left-hand bend ahead

ඉදිරියේ වමට වංගුවක්

The road bends sharply to the left. Reduce speed and stay left of the centre line.

Road sign: amber diamond with a black border and a black symbol, showing two roads crossing at right angles

Cross roads ahead

ඉදිරියේ හතරමං හන්දියක්

An uncontrolled four-way junction is ahead. Be ready to give way.

Road sign: amber diamond with a black border and a black symbol, showing a road meeting another road end-on

T-junction ahead

ඉදිරියේ T හන්දියක්

The road you are on ends at a junction. You must give way to traffic on the road you join.

Road sign: amber diamond with a black border and a black symbol, showing three arrows chasing each other in a circle

Roundabout ahead

ඉදිරියේ වටරවුමක්

A roundabout is ahead. Slow down and prepare to give way to traffic already on it.

Road sign: amber diamond with a black border and a black symbol, showing a person walking across stripes

Pedestrian crossing ahead

ඉදිරියේ පදික මාරුවක්

A marked pedestrian crossing is ahead. Slow down and be ready to stop.

Road sign: amber diamond with a black border and a black symbol, showing two children walking

School or children ahead

ඉදිරියේ පාසලක් / ළමුන්

Children may cross without looking. Expect a reduced posted limit at school times.

Road sign: amber diamond with a black border and a black symbol, showing the road pinching inwards between two walls

Narrow bridge ahead

ඉදිරියේ පටු පාලමක්

The carriageway narrows at a bridge. Only one vehicle may be able to pass at a time.

Road sign: amber diamond with a black border and a black symbol, showing a car with wavy skid marks behind it

Slippery road

ලිස්සන සුළු මාර්ගය

The surface loses grip, typically when wet. Brake early and avoid sudden steering.

Road sign: amber diamond with a black border and a black symbol, showing a steam locomotive

Unguarded railway level crossing

ආරක්ෂකයින් රහිත දුම්රිය හරස් මාර්ගය

A railway crosses the road with no gate or attendant. Stop, look both ways, then cross.

Road sign: amber diamond with a black border and a black symbol, showing rocks tumbling down a slope

Falling rocks

පාෂාණ කඩා වැටීමේ අවදානම

Rock or earth may fall onto the carriageway. Common on hill-country roads after rain.

Road sign: amber diamond with a black border and a black symbol, showing a cow in profile

Animals on the road

මාර්ගයේ සතුන්

Cattle, buffalo or wild animals may be on the carriageway. Slow down and do not sound the horn aggressively.

Road sign: amber diamond with a black border and a black symbol, showing a worker with a shovel

Road works ahead

ඉදිරියේ මාර්ග වැඩ

Men and machinery are working on the road. Obey the flagman and any temporary limit.

Road sign: amber diamond with a black border and a black symbol, showing a raised bump in the road surface

Road hump ahead

ඉදිරියේ වේග අවහිරයක්

A raised hump crosses the carriageway. Slow to a crawl before you reach it.

Road sign: amber diamond with a black border and a black symbol, showing a traffic light with three lamps

Traffic signals ahead

ඉදිරියේ ගමනාගමන එළි

Traffic lights are ahead, often where they are hidden by a bend or a crest.

Road sign: amber diamond with a black border and a black symbol, showing two arrows pointing in opposite directions

Two-way traffic ahead

ඉදිරියේ දෙපසට ගමනාගමනය

A one-way section ends and oncoming traffic resumes. Keep well to the left.

Prohibitory signswhite circle inside a red ring

Road sign: white circle inside a red ring, showing a solid red disc crossed by a single white bar

No entry

ඇතුල් වීම තහනම්

Vehicles must not enter. Usually marks the exit end of a one-way street.

Road sign: white circle inside a red ring, showing an arrow turning left, struck through

No left turn

වමට හැරීම තහනම්

You may not turn left at this junction.

Road sign: white circle inside a red ring, showing an arrow turning right, struck through

No right turn

දකුණට හැරීම තහනම්

You may not turn right at this junction.

Road sign: white circle inside a red ring, showing an arrow doubling back on itself, struck through

No U-turn

U හැරවුම තහනම්

You may not turn to face the opposite direction here.

Road sign: white circle inside a red ring, showing two cars side by side, the right-hand one in red

Overtaking prohibited

ඉස්සර කිරීම තහනම්

You may not pass the vehicle in front until the restriction ends.

Road sign: white circle inside a red ring, showing the letter P struck throughP

No parking

වාහන නැවැත්වීම තහනම්

You may not leave a vehicle standing here, though you may stop briefly to set down a passenger.

Road sign: white circle inside a red ring, showing a horn struck through

Sounding the horn prohibited

හෝන් නාද කිරීම තහනම්

Silence zone — typically outside a hospital, school or place of worship.

Road sign: white circle inside a red ring, showing a motorcycle struck through

Motorcycles prohibited

යතුරුපැදි තහනම්

Two-wheelers may not use this road. Posted at every expressway entrance.

Road sign: white circle inside a red ring, showing a lorry struck through

Heavy goods vehicles prohibited

බර භාණ්ඩ රථ තහනම්

Lorries above the stated weight may not use this road.

Road sign: white circle inside a red ring, showing a number inside the red ring50

Maximum speed 50 km/h

උපරිම වේගය 50 km/h

You may not exceed the number shown, in kilometres per hour, until the restriction ends.

Mandatory signssolid blue circle with a white symbol

Road sign: solid blue circle with a white symbol, showing a white arrow bending left

Turn left ahead

ඉදිරියේදී වමට හැරෙන්න

You must turn left at the junction ahead. Blue circle means an instruction, not a warning.

Road sign: solid blue circle with a white symbol, showing a white arrow bending right

Turn right ahead

ඉදිරියේදී දකුණට හැරෙන්න

You must turn right at the junction ahead.

Road sign: solid blue circle with a white symbol, showing a white arrow pointing straight up

Ahead only

කෙළින්ම ගමන් කරන්න

You must continue straight on. Turning is not permitted.

Road sign: solid blue circle with a white symbol, showing a white arrow angled down and to the left

Keep left

වම් පසින් ගමන් කරන්න

Pass this obstruction — an island or a divider — on its left.

Road sign: solid blue circle with a white symbol, showing three white arrows in a circle

Roundabout — proceed anticlockwise

වටරවුම — වමට කැරකෙන්න

Traffic on the roundabout moves clockwise seen from above in left-hand traffic; you enter by turning left.

Informatory signsblue rectangle with a white symbol or letter

Road sign: blue rectangle with a white symbol or letter, showing the letter PP

Parking permitted

වාහන නැවැත්වීමේ ස්ථානය

Vehicles may be parked here, subject to any plate below the sign.

Road sign: blue rectangle with a white symbol or letter, showing the letter HH

Hospital

රෝහල

A hospital is ahead. Treat the area as a silence zone.

Road sign: blue rectangle with a white symbol or letter, showing a fuel pump

Fuel station

ඉන්ධන පිරවුම්හල

A filling station is ahead or in the direction shown.

Road sign: blue rectangle with a white symbol or letter, showing a long horizontal arrow

One-way traffic

එක් අතකට පමණි

Traffic flows only in the direction of the arrow. Do not expect oncoming vehicles.

Stop signsred octagon reading STOP

Road sign: red octagon reading STOP, showing the word STOPSTOP

Stop

නවතින්න

You must come to a complete halt at the stop line, then give way before moving off.

Give way signswhite downward-pointing triangle with a red border

Road sign: white downward-pointing triangle with a red border, showing no symbol at all

Give way

මාර්ගය ලබා දෙන්න

You need not stop if the road is clear, but you must yield to traffic on the major road.

37 signs shown. Shapes and colours follow the RDA Manual on Traffic Control Devices; a posted sign always overrides a national default.

Frequently asked questions

Sources & references

The question bank, the sign reference and the exam-format figures were last cross-checked against these sources on 2026-09-21. This is unofficial practice material: it is not produced, endorsed or approved by the Department of Motor Traffic, and it reproduces no past paper. Always confirm the format and the pass mark on your own examination notice.

Related tools

Rate this tool
Be the first to rate

Comments & feedback

Spotted a bug or want an improvement? Tell us — our team reviews every comment, and good ideas get built. Comments are public and anonymous.

Spotted a question that is wrong, or a sign that is missing?

Email me at [email protected] — corrections with the rule cited ship within 24 hours.