Skip to content
ES EN
Theme: automatic

Exam Code · Solved programming exercises

Solved programming exam exercises with the code compiled and run: the syllabus map, the languages and the difficulty levels of the Exam Code series.

Exam Code · the series

The whole programming syllabus, station by station.

Every line is a subject and every stop a solved exercise. The solutions are compiled and run against their test cases before they are published. Pick your line and get off where you failed.

23 exercises published6 languages22 with the solution run and tested

The series' code is open source: it lives in its GitLab repository, under the MIT License.

The syllabus map

One line per subject, one stop per exercise

Fundamentals 9Data structures 2Algorithms 1Object-oriented programming 8Operating systems 2Databases 0Networks 1
Stop size:BasicExamTop grade
Metro map of the syllabus23 exercises spread over 7 lines. Every stop links to its exercise.Fundamentals9 exercisesSolved exercise: pass by value and by reference in C (C, Basic level)Solved exercise…Solved exercise: matrix transpose, diagonals and row sums in Python (Python, Exam level)Solved exercise…Solved exercise: C matrix sums, transpose and trace in C (C, Exam level)Solved exercise: C…Solved exercise: normalize a string in place with pointers in C (C, Exam level)Solved exercise…Solved exercise: matrix rotate and shift commands in C (C, Exam level)Solved exercise…Solved exercise: array sum and maximum in x86-64 assembly (Assembly, Exam level)Solved exercise…Solved exercise: count, filter and summarize a log file in Bash (Bash, Exam level)Solved exercise…Solved Exercise: Validate and Extract Data with Regex in Python (Python, Exam level)Solved Exercise…Solved exercise: exact rank and determinant with Bareiss in C (C, Top grade level)Solved exercise…Structures2 exercisesSolved exercise: array-based stack and balanced brackets in C (C, Basic level)Solved exercise…Solved exercise: dynamic matrices with malloc and free in C (C, Exam level)Solved exercise…Algorithms1 exerciseSolved exercise: counting inversions with merge sort in Java (Java, Exam level)Solved exercise…OOP8 exercisesSolved exercise: classes and objects with a wallet in Java (Java, Basic level)Solved exercise…TOP 10 University Exams Exercises related to Java (Java, Exam level)TOP 10 University…Solved exercise: inheritance, constructors and super in Java (Java, Exam level)Solved exercise…Solved exercise: polymorphism and dynamic binding in Java (Java, Exam level)Solved exercise…Solved exercise: interfaces, default methods and multiple implementation in Java (Java, Exam level)Solved exercise…Solved exercise: Java serialization with transient fields (Java, Exam level)Solved exercise…Solved exercise: warehouse inventory with classes, TreeMap and exceptions in Java (Java, Exam level)Solved exercise…Solved exercise: polymorphic fleet with deep cloning in C++ (C++, Top grade level)Solved exercise…Operating systems2 exercisesSolved exercise: splitting work across threads in Java (Java, Exam level)Solved exercise…Solved Exercise: 6 POSIX Threads That Identify Themselves in C (C, Exam level)Solved Exercise: 6…DatabasesNo stops yetNetworks1 exerciseSolved exercise: a TCP text protocol with a receive buffer in Python (Python, Exam level)Solved exercise: a…

Along each line the stops run from the basic exercises to the top-grade ones. Scroll the map sideways if it does not fit your screen.

Every exercise, by language

Every link opens the solved exercise on the blog, grouped by programming language and subject.

Solved Java exercises · 9 exercises

Solved C exercises · 8 exercises

Solved Python exercises · 3 exercises

Solved Assembly exercises · 1 exercise

Solved Bash exercises · 1 exercise

Solved C++ exercises · 1 exercise

By language

Exercises published per language

  1. 1Java9
  2. 2C8
  3. 3Python3
  4. 4Assembly1
  5. 5Bash1
  6. 6C++1

A real count of the series catalogue, in this language.

Syllabus coverage

Which subjects the series covers

Which subjects the series coversFundamentals: 100% (9)Data structures: 50% (2)Algorithms: 25% (1)Object-oriented programming: 100% (8)Operating systems: 50% (2)Databases: 0% (0)Networks: 25% (1)Fundamentals100 %Structures50 %Algorithms25 %OOP100 %Operating systems50 %Databases0 %Networks25 %
Each axis is a subject. 100% means 4 published exercises in it: it measures how many exercises exist, not how well each student knows the subject.
Featured stops
Exam season
6days until they start

November and December exams (Colombia) start on 10 Nov.

Exams are close right now in:

Mexico UNAM · Tec · IPNColombia Uniandes · UNALArgentina UBA · UTNPeru UNI · PUCP · UNMSMChile UChile · PUC · USMVenezuela UCV · USB

A year of exercises

Publication calendar for the last yearMonWedFriDecJanFebMarAprMayJunJulAugSepOctNov5 Mar: 14 Oct: 15 Oct: 16 Oct: 17 Oct: 18 Oct: 19 Oct: 112 Oct: 113 Oct: 114 Oct: 116 Oct: 118 Oct: 119 Oct: 121 Oct: 122 Oct: 123 Oct: 125 Oct: 126 Oct: 127 Oct: 128 Oct: 130 Oct: 12 Nov: 13 Nov: 1
lessmoreExam week
Each square is a day; the stronger the colour, the more exercises were published. The marked bands are exam weeks in English-speaking countries.

Difficulty of the catalogue

Difficulty of the catalogue23exercises
Basic 13 % (3)Exam 78 % (18)Top grade 9 % (2)

What comes up most in midterms

The subjects with the most exercises published in the series; for each, the latest exam-level one.

Your exercise

Which exercise should we solve next?

Tell us which kind of exam exercise you would like solved and tested. We review every suggestion by hand and, if it fits, it joins the list of upcoming exercises.

Newsletter

Your weekly ticket

Every Sunday, an email with the best of the week on the blog. Choose the software engineering section and you get the series’ new exercises.

next departureSunday 8 Novplatform ES · EN

The exercises and figures come from the series catalogue and are recalculated every day.

Updated 06:42Data from the Exam Code catalogue