Prolog Track Management

This page provides the Exercism community with the information and tools needed to manage the Prolog track.

Students
6,656
Submissions
90,864
Mentoring Discussions
462

The Prolog track needs attention ⚠️

Building

Practice Exercises

Learn More

Practice Exercises are exercises designed to allow students to solve an arbitrary problem, with the aim of them making use of the concepts they have learned so far.

Synced primary repo: 74ddc0dadabf086c24b24ca6db8012c3c8d3032c (Updates should be instant)

Next goal: Implement 136 practice exercises. Find out more.
109 active practice exercises
Started
Attempts
Completions
Mentoring requests
Hello World Hello World
5,674
12,094 (avg. 2.1)
4,216 (74.3%)
0 (0.0%)
Resistor Color Resistor Color
642
2,902 (avg. 4.5)
369 (57.5%)
17 (2.6%)
Reverse String Reverse String
574
2,099 (avg. 3.7)
378 (65.9%)
6 (1.0%)
Wedding Woes Wedding Woes
895
3,994 (avg. 4.5)
673 (75.2%)
28 (3.1%)
Difference of Squares Difference of Squares
284
910 (avg. 3.2)
227 (79.9%)
1 (0.4%)
Gigasecond Gigasecond
171
479 (avg. 2.8)
110 (64.3%)
1 (0.6%)
Leap Leap
653
2,601 (avg. 4.0)
534 (81.8%)
10 (1.5%)
Resistor Color Duo Resistor Color Duo
165
615 (avg. 3.7)
136 (82.4%)
1 (0.6%)
RNA Transcription RNA Transcription
643
2,722 (avg. 4.2)
489 (76.0%)
18 (2.8%)
Scrabble Score Scrabble Score
171
513 (avg. 3.0)
139 (81.3%)
0 (0.0%)
Darts Darts
152
409 (avg. 2.7)
124 (81.6%)
0 (0.0%)
Grains Grains
416
1,669 (avg. 4.0)
331 (79.6%)
4 (1.0%)
Hamming Hamming
377
1,039 (avg. 2.8)
304 (80.6%)
4 (1.1%)
High Scores High Scores
137
431 (avg. 3.1)
104 (75.9%)
0 (0.0%)
Pangram Pangram
194
572 (avg. 2.9)
154 (79.4%)
0 (0.0%)
Space Age Space Age
427
1,411 (avg. 3.3)
345 (80.8%)
4 (0.9%)
Square Root Square Root
127
386 (avg. 3.0)
96 (75.6%)
0 (0.0%)
Triangle Triangle
1,399
11,507 (avg. 8.2)
886 (63.3%)
79 (5.6%)
Two-Fer Two-Fer
176
584 (avg. 3.3)
142 (80.7%)
2 (1.1%)
Allergies Allergies
107
313 (avg. 2.9)
86 (80.4%)
0 (0.0%)
Anagram Anagram
502
1,700 (avg. 3.4)
349 (69.5%)
23 (4.6%)
Armstrong Numbers Armstrong Numbers
150
339 (avg. 2.3)
114 (76.0%)
0 (0.0%)
Bank Account Bank Account
77
272 (avg. 3.5)
57 (74.0%)
0 (0.0%)
Binary Binary
681
3,029 (avg. 4.4)
469 (68.9%)
33 (4.8%)
Binary Search Binary Search
103
341 (avg. 3.3)
74 (71.8%)
1 (1.0%)
Collatz Conjecture Collatz Conjecture
169
655 (avg. 3.9)
123 (72.8%)
3 (1.8%)
Custom Set Custom Set
64
256 (avg. 4.0)
47 (73.4%)
0 (0.0%)
Eliud's Eggs Eliud's Eggs
77
131 (avg. 1.7)
61 (79.2%)
0 (0.0%)
ETL ETL
82
231 (avg. 2.8)
57 (69.5%)
1 (1.2%)
Flatten Array Flatten Array
133
567 (avg. 4.3)
97 (72.9%)
1 (0.8%)
Global Positioning System Global Positioning System
65
336 (avg. 5.2)
50 (76.9%)
0 (0.0%)
Grade School Grade School
89
290 (avg. 3.3)
57 (64.0%)
0 (0.0%)
Isogram Isogram
985
5,014 (avg. 5.1)
675 (68.5%)
36 (3.7%)
Matrix Matrix
80
198 (avg. 2.5)
52 (65.0%)
1 (1.3%)
Nucleotide Count Nucleotide Count
268
753 (avg. 2.8)
201 (75.0%)
5 (1.9%)
Perfect Numbers Perfect Numbers
70
363 (avg. 5.2)
47 (67.1%)
0 (0.0%)
Proverb Proverb
67
201 (avg. 3.0)
44 (65.7%)
0 (0.0%)
Raindrops Raindrops
258
1,212 (avg. 4.7)
205 (79.5%)
6 (2.3%)
Roman Numerals Roman Numerals
214
805 (avg. 3.8)
148 (69.2%)
5 (2.3%)
Rotational Cipher Rotational Cipher
58
111 (avg. 1.9)
42 (72.4%)
0 (0.0%)
Series Series
67
270 (avg. 4.0)
50 (74.6%)
0 (0.0%)
Strain Strain
69
166 (avg. 2.4)
50 (72.5%)
0 (0.0%)
Sublist Sublist
80
252 (avg. 3.2)
55 (68.8%)
2 (2.5%)
Sum of Multiples Sum of Multiples
344
803 (avg. 2.3)
208 (60.5%)
13 (3.8%)
Acronym Acronym
246
1,139 (avg. 4.6)
166 (67.5%)
5 (2.0%)
Binary Search Tree Binary Search Tree
74
352 (avg. 4.8)
50 (67.6%)
1 (1.4%)
Bob Bob
93
443 (avg. 4.8)
62 (66.7%)
1 (1.1%)
Bottle Song Bottle Song
61
256 (avg. 4.2)
40 (65.6%)
0 (0.0%)
Clock Clock
64
181 (avg. 2.8)
42 (65.6%)
0 (0.0%)
Complex Numbers Complex Numbers
355
887 (avg. 2.5)
231 (65.1%)
38 (10.7%)
D&D Character D&D Character
48
116 (avg. 2.4)
28 (58.3%)
0 (0.0%)
House House
35
125 (avg. 3.6)
17 (48.6%)
0 (0.0%)
ISBN Verifier ISBN Verifier
54
179 (avg. 3.3)
35 (64.8%)
0 (0.0%)
Kindergarten Garden Kindergarten Garden
64
134 (avg. 2.1)
34 (53.1%)
0 (0.0%)
Largest Series Product Largest Series Product
32
81 (avg. 2.5)
18 (56.3%)
0 (0.0%)
List Ops List Ops
61
481 (avg. 7.9)
33 (54.1%)
0 (0.0%)
Luhn Luhn
36
134 (avg. 3.7)
22 (61.1%)
0 (0.0%)
Phone Number Phone Number
42
108 (avg. 2.6)
25 (59.5%)
0 (0.0%)
Prime Factors Prime Factors
33
55 (avg. 1.7)
19 (57.6%)
0 (0.0%)
Protein Translation Protein Translation
40
138 (avg. 3.5)
28 (70.0%)
0 (0.0%)
Queen Attack Queen Attack
2,127
8,691 (avg. 4.1)
960 (45.1%)
118 (5.5%)
Rational Numbers Rational Numbers
26
98 (avg. 3.8)
14 (53.8%)
0 (0.0%)
Robot Name Robot Name
34
65 (avg. 1.9)
20 (58.8%)
0 (0.0%)
Robot Simulator Robot Simulator
32
86 (avg. 2.7)
17 (53.1%)
0 (0.0%)
Secret Handshake Secret Handshake
30
65 (avg. 2.2)
18 (60.0%)
0 (0.0%)
Sieve Sieve
39
94 (avg. 2.4)
27 (69.2%)
1 (2.6%)
Simple Cipher Simple Cipher
24
64 (avg. 2.7)
14 (58.3%)
0 (0.0%)
State of Tic-Tac-Toe State of Tic-Tac-Toe
30
80 (avg. 2.7)
14 (46.7%)
0 (0.0%)
Twelve Days Twelve Days
31
65 (avg. 2.1)
16 (51.6%)
0 (0.0%)
Yacht Yacht
30
243 (avg. 8.1)
19 (63.3%)
0 (0.0%)
All Your Base All Your Base
30
67 (avg. 2.2)
18 (60.0%)
0 (0.0%)
Atbash Cipher Atbash Cipher
24
47 (avg. 2.0)
17 (70.8%)
0 (0.0%)
Conway's Game of Life Conway's Game of Life
49
126 (avg. 2.6)
28 (57.1%)
1 (2.0%)
Dominoes Dominoes
310
1,192 (avg. 3.8)
180 (58.1%)
12 (3.9%)
Floored Floored
104
406 (avg. 3.9)
63 (60.6%)
0 (0.0%)
Food Chain Food Chain
25
66 (avg. 2.6)
12 (48.0%)
0 (0.0%)
Killer Sudoku Helper Killer Sudoku Helper
58
206 (avg. 3.6)
28 (48.3%)
0 (0.0%)
Magic Square Magic Square
37
91 (avg. 2.5)
19 (51.4%)
0 (0.0%)
Matching Brackets Matching Brackets
37
138 (avg. 3.7)
25 (67.6%)
0 (0.0%)
Meetup Meetup
37
92 (avg. 2.5)
18 (48.6%)
0 (0.0%)
Nth Prime Nth Prime
29
104 (avg. 3.6)
16 (55.2%)
0 (0.0%)
OCR Numbers OCR Numbers
18
61 (avg. 3.4)
11 (61.1%)
0 (0.0%)
Palindrome Products Palindrome Products
26
86 (avg. 3.3)
13 (50.0%)
0 (0.0%)
Parallel Letter Frequency Parallel Letter Frequency
28
62 (avg. 2.2)
17 (60.7%)
0 (0.0%)
Pascal's Triangle Pascal's Triangle
341
847 (avg. 2.5)
214 (62.8%)
16 (4.7%)
Pythagorean Triplet Pythagorean Triplet
37
146 (avg. 3.9)
18 (48.6%)
0 (0.0%)
Resistor Color Trio Resistor Color Trio
28
107 (avg. 3.8)
15 (53.6%)
0 (0.0%)
Saddle Points Saddle Points
23
52 (avg. 2.3)
12 (52.2%)
0 (0.0%)
Affine Cipher Affine Cipher
20
51 (avg. 2.6)
11 (55.0%)
0 (0.0%)
Binary Puzzle Binary Puzzle
31
123 (avg. 4.0)
11 (35.5%)
0 (0.0%)
Cheryl's Birthday Cheryl's Birthday
104
212 (avg. 2.0)
40 (38.5%)
2 (1.9%)
Crypto Square Crypto Square
21
74 (avg. 3.5)
13 (61.9%)
0 (0.0%)
Diamond Diamond
25
31 (avg. 1.2)
13 (52.0%)
0 (0.0%)
Flower Field Flower Field
18
20 (avg. 1.1)
8 (44.4%)
0 (0.0%)
Garden Party Garden Party
76
285 (avg. 3.8)
38 (50.0%)
0 (0.0%)
Knapsack Knapsack
122
810 (avg. 6.6)
79 (64.8%)
0 (0.0%)
Satellite Satellite
201
570 (avg. 2.8)
134 (66.7%)
4 (2.0%)
Word Count Word Count
52
157 (avg. 3.0)
30 (57.7%)
0 (0.0%)
Wordy Wordy
173
1,099 (avg. 6.4)
85 (49.1%)
1 (0.6%)
Book Store Book Store
26
109 (avg. 4.2)
16 (61.5%)
0 (0.0%)
Change Change
83
422 (avg. 5.1)
36 (43.4%)
1 (1.2%)
Pig Latin Pig Latin
32
152 (avg. 4.8)
19 (59.4%)
0 (0.0%)
Run-Length Encoding Run-Length Encoding
59
261 (avg. 4.4)
36 (61.0%)
2 (3.4%)
Say Say
45
74 (avg. 1.6)
21 (46.7%)
0 (0.0%)
SGF Parsing SGF Parsing
25
134 (avg. 5.4)
14 (56.0%)
1 (4.0%)
Spiral Matrix Spiral Matrix
184
316 (avg. 1.7)
106 (57.6%)
5 (2.7%)
Two Bucket Two Bucket
35
59 (avg. 1.7)
17 (48.6%)
0 (0.0%)
Zebra Puzzle Zebra Puzzle
304
1,814 (avg. 6.0)
204 (67.1%)
6 (2.0%)
Alphametics Alphametics
36
272 (avg. 7.6)
12 (33.3%)
1 (2.8%)
1 deprecated practice exercises
Started
Attempts
Completions
Mentoring requests
Minesweeper Minesweeper
15
18 (avg. 1.2)
7 (46.7%)
0 (0.0%)
27 unimplemented practice exercises
Baffling Birthdays Baffling Birthdays
Bowling Bowling
Camicia Camicia
Connect Connect
Forth Forth
Go Counting Go Counting
Grep Grep
Intergalactic Transmission Intergalactic Transmission
Ledger Ledger
Line Up Line Up
Markdown Markdown
Piecing It Together Piecing It Together
Poker Poker
POV POV
Prism Prism
Rail Fence Cipher Rail Fence Cipher
Rectangles Rectangles
Relative Distance Relative Distance
Save the Cow Save the Cow
Split-Second Stopwatch Split-Second Stopwatch
Swift Scheduling Swift Scheduling
Tournament Tournament
Transpose Transpose
Tree Building Tree Building
Variable Length Quantity Variable Length Quantity
Word Search Word Search
Zipper Zipper
11 foregone practice exercises
Circular Buffer Circular Buffer
DOT DSL DOT DSL
Error Handling Error Handling
Hangman Hangman
Lens Person Lens Person
Linked List Linked List
Micro Blog Micro Blog
PaaS I/O PaaS I/O
React React
REST API REST API
Simple Linked List Simple Linked List

Test Runner

Learn More

Create Test Runners that have the single responsibility of taking a solution, running all tests and returning a standardized output.

Current version: 559f0e45c7570e630e8408159d6cb8bc02336918 (Takes up to 10 mins to deploy)

Next goal: Get Test Runners to Version 2. Prolog is currently utilising a Version 1 Test Runner. Find out more.
Total Test Runner Runs
89,110
Test Run Pass Rate
27.0% (24103)
Test Run Fail Rate
71.0% (63267)
Test Run Error Rate
2.0% (1740)

Representer

Learn More

Build a Representer: a bit of code that has the single responsibility of taking a solution and returning a normalized representation of it.

Next goal: Build a Representer. Find out more.

Analyzer

Learn More

Build an Analyzer for Prolog: Exercism's analyzers automatically assess student's submissions and provide mentor-style commentary.

Next goal: Build an Analyzer. Find out more.