Prolog Track Management

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

Students
6,728
Submissions
92,936
Mentoring Discussions
488

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: 0f03b8d0cbae9e5cde0b13bb942efe8c5286aad7 (Updates should be instant)

Next goal: Implement 137 practice exercises. Find out more.
109 active practice exercises
Started
Attempts
Completions
Mentoring requests
Hello World Hello World
5,751
12,219 (avg. 2.1)
4,271 (74.3%)
0 (0.0%)
Resistor Color Resistor Color
682
3,050 (avg. 4.5)
391 (57.3%)
17 (2.5%)
Reverse String Reverse String
602
2,172 (avg. 3.6)
392 (65.1%)
6 (1.0%)
Wedding Woes Wedding Woes
918
4,050 (avg. 4.4)
690 (75.2%)
28 (3.1%)
Difference of Squares Difference of Squares
299
963 (avg. 3.2)
238 (79.6%)
1 (0.3%)
Gigasecond Gigasecond
180
526 (avg. 2.9)
117 (65.0%)
1 (0.6%)
Leap Leap
662
2,651 (avg. 4.0)
542 (81.9%)
10 (1.5%)
Resistor Color Duo Resistor Color Duo
174
636 (avg. 3.7)
145 (83.3%)
1 (0.6%)
RNA Transcription RNA Transcription
649
2,748 (avg. 4.2)
494 (76.1%)
18 (2.8%)
Scrabble Score Scrabble Score
179
530 (avg. 3.0)
145 (81.0%)
0 (0.0%)
Darts Darts
160
427 (avg. 2.7)
131 (81.9%)
0 (0.0%)
Grains Grains
420
1,689 (avg. 4.0)
336 (80.0%)
4 (1.0%)
Hamming Hamming
382
1,048 (avg. 2.7)
309 (80.9%)
4 (1.0%)
High Scores High Scores
143
448 (avg. 3.1)
109 (76.2%)
0 (0.0%)
Pangram Pangram
199
578 (avg. 2.9)
158 (79.4%)
0 (0.0%)
Space Age Space Age
431
1,426 (avg. 3.3)
347 (80.5%)
4 (0.9%)
Square Root Square Root
131
393 (avg. 3.0)
100 (76.3%)
0 (0.0%)
Triangle Triangle
1,404
11,518 (avg. 8.2)
889 (63.3%)
79 (5.6%)
Two-Fer Two-Fer
180
588 (avg. 3.3)
145 (80.6%)
2 (1.1%)
Allergies Allergies
114
317 (avg. 2.8)
87 (76.3%)
0 (0.0%)
Anagram Anagram
506
1,708 (avg. 3.4)
352 (69.6%)
23 (4.5%)
Armstrong Numbers Armstrong Numbers
153
341 (avg. 2.2)
116 (75.8%)
0 (0.0%)
Bank Account Bank Account
79
273 (avg. 3.5)
58 (73.4%)
0 (0.0%)
Binary Binary
686
3,035 (avg. 4.4)
471 (68.7%)
33 (4.8%)
Binary Search Binary Search
106
350 (avg. 3.3)
76 (71.7%)
1 (0.9%)
Collatz Conjecture Collatz Conjecture
174
666 (avg. 3.8)
126 (72.4%)
3 (1.7%)
Custom Set Custom Set
67
262 (avg. 3.9)
49 (73.1%)
0 (0.0%)
Eliud's Eggs Eliud's Eggs
79
133 (avg. 1.7)
62 (78.5%)
0 (0.0%)
ETL ETL
84
235 (avg. 2.8)
58 (69.0%)
1 (1.2%)
Flatten Array Flatten Array
134
570 (avg. 4.3)
98 (73.1%)
1 (0.7%)
Global Positioning System Global Positioning System
65
336 (avg. 5.2)
50 (76.9%)
0 (0.0%)
Grade School Grade School
91
292 (avg. 3.2)
58 (63.7%)
0 (0.0%)
Isogram Isogram
987
5,016 (avg. 5.1)
676 (68.5%)
36 (3.6%)
Matrix Matrix
82
200 (avg. 2.4)
53 (64.6%)
1 (1.2%)
Nucleotide Count Nucleotide Count
269
758 (avg. 2.8)
201 (74.7%)
5 (1.9%)
Perfect Numbers Perfect Numbers
72
364 (avg. 5.1)
48 (66.7%)
0 (0.0%)
Proverb Proverb
67
201 (avg. 3.0)
44 (65.7%)
0 (0.0%)
Raindrops Raindrops
260
1,214 (avg. 4.7)
206 (79.2%)
6 (2.3%)
Roman Numerals Roman Numerals
217
807 (avg. 3.7)
149 (68.7%)
5 (2.3%)
Rotational Cipher Rotational Cipher
58
111 (avg. 1.9)
42 (72.4%)
0 (0.0%)
Series Series
69
271 (avg. 3.9)
50 (72.5%)
0 (0.0%)
Strain Strain
69
166 (avg. 2.4)
50 (72.5%)
0 (0.0%)
Sublist Sublist
82
253 (avg. 3.1)
55 (67.1%)
2 (2.4%)
Sum of Multiples Sum of Multiples
346
805 (avg. 2.3)
209 (60.4%)
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
66
182 (avg. 2.8)
42 (63.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
66
134 (avg. 2.0)
34 (51.5%)
0 (0.0%)
Largest Series Product Largest Series Product
33
88 (avg. 2.7)
19 (57.6%)
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
133 (avg. 3.2)
26 (61.9%)
0 (0.0%)
Prime Factors Prime Factors
34
66 (avg. 1.9)
20 (58.8%)
0 (0.0%)
Protein Translation Protein Translation
41
190 (avg. 4.6)
28 (68.3%)
0 (0.0%)
Queen Attack Queen Attack
2,128
8,699 (avg. 4.1)
961 (45.2%)
118 (5.5%)
Rational Numbers Rational Numbers
28
121 (avg. 4.3)
15 (53.6%)
0 (0.0%)
Robot Name Robot Name
35
75 (avg. 2.1)
20 (57.1%)
1 (2.9%)
Robot Simulator Robot Simulator
34
99 (avg. 2.9)
18 (52.9%)
0 (0.0%)
Secret Handshake Secret Handshake
31
76 (avg. 2.5)
18 (58.1%)
0 (0.0%)
Sieve Sieve
40
116 (avg. 2.9)
27 (67.5%)
1 (2.5%)
Simple Cipher Simple Cipher
25
79 (avg. 3.2)
14 (56.0%)
0 (0.0%)
State of Tic-Tac-Toe State of Tic-Tac-Toe
31
172 (avg. 5.5)
14 (45.2%)
0 (0.0%)
Twelve Days Twelve Days
32
120 (avg. 3.8)
16 (50.0%)
0 (0.0%)
Yacht Yacht
31
304 (avg. 9.8)
20 (64.5%)
0 (0.0%)
All Your Base All Your Base
31
88 (avg. 2.8)
18 (58.1%)
0 (0.0%)
Atbash Cipher Atbash Cipher
25
95 (avg. 3.8)
18 (72.0%)
0 (0.0%)
Conway's Game of Life Conway's Game of Life
50
155 (avg. 3.1)
29 (58.0%)
1 (2.0%)
Dominoes Dominoes
311
1,211 (avg. 3.9)
180 (57.9%)
12 (3.9%)
Floored Floored
105
424 (avg. 4.0)
64 (61.0%)
0 (0.0%)
Food Chain Food Chain
26
147 (avg. 5.7)
12 (46.2%)
0 (0.0%)
Killer Sudoku Helper Killer Sudoku Helper
58
206 (avg. 3.6)
28 (48.3%)
0 (0.0%)
Magic Square Magic Square
38
101 (avg. 2.7)
20 (52.6%)
0 (0.0%)
Matching Brackets Matching Brackets
39
178 (avg. 4.6)
27 (69.2%)
0 (0.0%)
Meetup Meetup
38
136 (avg. 3.6)
19 (50.0%)
0 (0.0%)
Nth Prime Nth Prime
30
129 (avg. 4.3)
16 (53.3%)
0 (0.0%)
OCR Numbers OCR Numbers
20
127 (avg. 6.4)
12 (60.0%)
0 (0.0%)
Palindrome Products Palindrome Products
28
156 (avg. 5.6)
13 (46.4%)
0 (0.0%)
Parallel Letter Frequency Parallel Letter Frequency
30
65 (avg. 2.2)
17 (56.7%)
0 (0.0%)
Pascal's Triangle Pascal's Triangle
342
923 (avg. 2.7)
214 (62.6%)
16 (4.7%)
Pythagorean Triplet Pythagorean Triplet
38
155 (avg. 4.1)
18 (47.4%)
0 (0.0%)
Resistor Color Trio Resistor Color Trio
29
125 (avg. 4.3)
15 (51.7%)
0 (0.0%)
Saddle Points Saddle Points
24
65 (avg. 2.7)
13 (54.2%)
0 (0.0%)
Affine Cipher Affine Cipher
21
76 (avg. 3.6)
11 (52.4%)
0 (0.0%)
Binary Puzzle Binary Puzzle
32
160 (avg. 5.0)
12 (37.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
23
93 (avg. 4.0)
14 (60.9%)
1 (4.3%)
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
123
814 (avg. 6.6)
79 (64.2%)
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
174
1,183 (avg. 6.8)
85 (48.9%)
2 (1.1%)
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
46
157 (avg. 3.4)
21 (45.7%)
0 (0.0%)
SGF Parsing SGF Parsing
26
157 (avg. 6.0)
15 (57.7%)
1 (3.8%)
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
307
1,815 (avg. 5.9)
205 (66.8%)
6 (2.0%)
Alphametics Alphametics
38
273 (avg. 7.2)
12 (31.6%)
1 (2.6%)
1 deprecated practice exercises
Started
Attempts
Completions
Mentoring requests
Minesweeper Minesweeper
15
18 (avg. 1.2)
7 (46.7%)
0 (0.0%)
28 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
Resistor Color Tolerance Resistor Color Tolerance
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: a60e144c8b5f93fe00c10a8eeb6e80390b1528ec (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
91,178
Test Run Pass Rate
27.1% (24721)
Test Run Fail Rate
70.9% (64656)
Test Run Error Rate
2.0% (1801)

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.