Exam 01 - Piscine 42
Exam 01 is designed to see if you can apply fundamental logic independently under a time constraint. Focus on writing clean, simple code, double-check your formatting, and treat every failure as a data point to fix your logic.
Counting characters until you hit the null terminator ( '\0' ).
Displaying a single character, printing a specific string, or outputting a sequence of numbers. 2. String Manipulation
While Exam 00 introduces you to the stressful exam environment, Exam 01 is where the academic stakes rise. It tests your true understanding of basic C syntax, logic, and algorithmic thinking. Exam 01 Piscine 42
Which specific concepts (like ) give you the most trouble?
"If you are stuck, write a write ." Even if you cannot solve the complex recursion, can you print the arguments? Can you write a specific character? Partial points are not awarded, but simply seeing any output (even wrong output) breaks the psychological paralysis. Once you see output, you can debug.
In the brutal, 28-day swimming marathon that is the Piscine, Exam 01 is the first real filter. It is not like university finals. It is not a multiple-choice quiz. It is a raw, four-hour, auto-graded race against a shell prompt. Exam 01 is designed to see if you
It typically comes you’ve done basic shell, C syntax, and simple algorithmic exercises during the first ~10 days of Piscine.
. Occurring at the end of the first week, it is a high-pressure, four-hour session focused strictly on C programming The Setup: Entering the "Examshell"
Open your terminal and type examshell . This command boots up the exam interface. Displaying a single character, printing a specific string,
Exam 01 typically covers the foundational concepts introduced in the first week (usually Shell00, Shell01, and C00).
Do not panic. The first exercise is usually a free point. For example: "Write ft_print_alphabet.c that displays 'abcdefghijklmnopqrstuvwxyz'."
Forget <ctype.h> . In Exam 01, you are often forbidden from using standard functions. You must write your own utility functions: