Practice the way
you'll be examined.
Write Java and SQL in your browser, get your work judged automatically against hidden test cases, and sit timed mock exams with your classmates.
import java.util.Scanner; public class Main { // Sum of squares 1² + 2² + … + n² public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); long sum = 0; for (int i = 1; i <= n; i++) { sum += (long) i * i; } System.out.println(sum); }}Verdicts
- Accepted
Every test case passed.
- Wrong Answer
Output differs from the expected result.
- Compilation Error
javac diagnostics, mapped to your lines.
- Runtime Error
An exception escaped main().
- Time Limit Exceeded
The program ran past its time limit.
Features
Everything you need between the lecture and the exam
ExamLab combines a coding judge, an SQL workbench and an exam simulator in one place.
Java in the browser
A real OpenJDK compiler and runtime behind a VS Code–grade editor: stdout, stderr, compiler diagnostics, execution time and memory.
SQL playground
Create tables, insert rows, join, group and nest subqueries on an isolated practice database that is yours alone.
Automatic evaluation
Solutions are judged against visible and hidden test cases. SQL results are compared with or without row order, as the exercise requires.
Examination mode
Timed mock exams with server-side deadlines, autosave and results that appear only when your instructor publishes them.
Classrooms
Private groups joined with an invitation code. Share exercises, assign work and compare progress with your study group.
Leaderboards & badges
Points for solved exercises and exams, streaks for daily practice, and weekly, monthly and per-track rankings.
Tracks
Two tracks, every topic on the syllabus
Exercises are organized by topic and difficulty — Easy, Medium, Hard and Expert.
Java· 15 topics
- Variables and data types
- Conditions
- Loops
- Arrays
- Strings
- Methods
- Recursion
- Object-oriented programming
- Inheritance
- Polymorphism
- Interfaces
- Collections
- Streams & lambdas
- Exceptions
- Algorithms
Databases· 14 topics
- SQL fundamentals
- SELECT
- WHERE
- ORDER BY
- GROUP BY
- HAVING
- JOIN
- Subqueries
- Set operators
- Aggregate functions
- Constraints
- Database normalization
- Database design
- Transactions
-- Students enrolled in more than two coursesSELECT s.name, COUNT(e.course_id) AS coursesFROM students sJOIN enrollments e ON e.student_id = s.idGROUP BY s.id, s.nameHAVING COUNT(e.course_id) > 2ORDER BY courses DESC;How it works
From invitation code to exam day
Designed for small study groups first, ready to grow into a full platform.
- 01
Join your group
Create an account and enter the invitation code your classmates or instructor shared.
- 02
Practice with instant feedback
Pick an exercise by topic and difficulty, run your code, then submit it to the judge.
- 03
Rehearse the real exam
Sit timed examinations mixing Java and SQL questions under realistic conditions.
Isolated by design
Every Java run executes in a throw-away container with no network access and strict CPU, memory and process limits. Every SQL session gets its own database and its own restricted database user, separate from the platform's data.
Ready for your next exam?
9 verdict types, 29 topics, one place to practice.