/42-School-Exam-Rank-02

First 42 School Exam

Primary LanguageC

Exam Details

This exam has 4 questions in total. A random question is picked from each level below.

If you fail the exam, when you retake the exam next time, you will restart at Level 1 again.


Exam Norminette

There is no Norminette in this exam.


Exam Questions

Question 1 is from Level 1

  - first_word
  - fizzbuzz
  - ft_strcpy
  - ft_strlen
  - ft_swap
  - putstr
  - repeat_alpha
  - rev_print
  - rot_13
  - rotone
  - search_and_replace
  - ulstr 

Question 2 is from Level 2

  - alpha_mirror
  - camel_to_snake
  - do_op
  - ft_atoi
  - ft_strcmp
  - ft_strcspn
  - ft_strdup
  - ft_strpbrk
  - ft_strrev
  - ft_strspn
  - inter
  - is_power_of_2
  - last_word
  - max
  - print_bits
  - reverse_bits
  - snake_to_camel
  - swap_bits
  - union
  - wdmatch 

Question 3 is from Level 3

  - add_prime_sum
  - epur_str
  - expand_str
  - ft_atoi_base
  - ft_list_size
  - ft_range
  - ft_rrange
  - hidenp
  - lcm
  - paramsum
  - pgcd
  - print_hex
  - rstr_capitalizer
  - str_capitalizer
  - tab_mult 

Question 4 is from Level 4

  - flood_fill
  - fprime
  - ft_itoa
  - ft_list_foreach
  - ft_list_remove_if
  - ft_split
  - rev_wstr
  - rostring
  - sort_int_tab
  - sort_list

Exam Login Details

login -> exam
password -> exam

Type examshell in terminal

login -> your 42 intra username (eg. prossi)
pasword -> your password

Allow photo check

In the examshell, you have only the following 3 commands:

  • status - check the time and other things

  • grademe - checking pushed exercise (moulinet)

  • finish - closing examshell and finish exam

Open new terminal

You can find your exam subject in the directory subject
Then you can see directory Rendu. It is your repository.
You must create a folder named by the project and start working.

Exam Submission Details

When you are ready to sumbit your function/program, go into Rendu and push the folder you created by doing the following:

  1. git add

  2. git status

  3. git commit -m "any commit message you like"

  4. git push

  5. After you git push, type grademe in the examshell for your project to be submitted.


Exam Practice

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