Midterm solutions and mini-project description

Midterm solutions and mini-project description

by Olivier Lévêque -
Number of replies: 1

Dear all,

At the top of the Moodle page, you find now the 2025-2026 midterm exam, along with its solutions.

At the bottom of Moodle page, you find also the description of the mini-project, as well a link to submit your report and code (in three weeks from now).

Please remember to form teams of 3 and register your team name by this Sunday (sending us an email for this; we will then create groups on Moodle).

All the best,

Anastasia, Nicolas and Olivier

In reply to Olivier Lévêque

Re: Midterm solutions and mini-project description

by Olivier Lévêque -
Good morning everyone,

There was a mistake in the project description: on 3D chessboard, two queens should not share two common coordinates in order to avoid attacking each other along straight lines (ignoring diagonals here). The description has been modified accordingly on Moodle; in the first version, it was wrongly stated that they should not share one coordinate only, which makes solving the N^2 queens problem completely impossible.

Example:

Two queens in position (1,2,3) and position (1,3,5) do not attack each other along a straight line.

But two queens in position (1,2,3) and (1,2,4) attack each other along the vertical straight line in position (x=1,y=2)

Best,
Olivier