Giter Club home page Giter Club logo

42-exams's Introduction

42 School Exams

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


🖊️ Note

if you can make any program or function shorter, but readable, please do let me know and I'll update it.


📖 My Exam Code Rules

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!

Exam Practice Tool

Practice the exam just like you would in the real exam using this tool - https://github.com/JCluzet/42_EXAM

42-exams's People

Contributors

pasqualerossi avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.