1st Exam
🖥️ Exam Rank 02
4 Piscine Questions
2nd Exam
🖥️ Exam Rank 03
1 Question - either Get_Next_Line or Ft_Printf
3rd Exam
🖥️ Exam Rank 04
1 Question - Microshell
4th Exam
🖥️ Exam Rank 05
3 C++ Questions
5th and Last Exam
🖥️ Exam Rank 06
1 Question - Mini_Serv
if you can make any program or function shorter, but readable, please do let me know and I'll update it.
These are the rules that I generally follow when it comes to the code in the exams above:
1️⃣ Try to make the code as short as possible
Reason: less code generally means less logic and less to remember.
2️⃣ Try to make the code readable
Reason: the more the code is to human language, the easier it is to read and understand.
3️⃣ Try to follow the 42 Norminette rules as much as possible, so none of the following: for, do, switch, case, goto, etc
Reason: it's what we're taught as 42 Students, so you shouldn't have to learn something new for the exams, leave that for the projects.
4️⃣ Try not to have a function and/or main be too long and instead break it into another functions instead
Reason: see 1️⃣ and 2️⃣ above 🔼
Remember Though Rules Are Meant To Be Broken!
Practice the exam just like you would in the real exam using this tool - https://github.com/JCluzet/42_EXAM