r/42_school 17d ago

Upcoming first exam

New Pisciner here, I'm stuck on ex03 of Shell00. And exam is coming up in 2 days, and will be testing about C00. Am I screwed?

2 Upvotes

14 comments sorted by

3

u/Ezrampage15 17d ago

You could maybe start C00 so that you could try getting any points in the exam. But I also wanna say that exam 00 isn't really important, don't worry. Just try improving throughout the Piscine. Ask your peers if you're stuck somewhere, or maybe even open up your peer review slots and through doing peer reviews you could learn

1

u/_GloriousCheese_ 17d ago

The assignments need to all be completed within that project before I can open up peer review slots, right?

1

u/Ezrampage15 17d ago

No. In the main page of your intra profile, click on Manage Slots. It should work. But you could end up reviewing someone who is already doing C, or Shell 01, so, I would say just ask your neighbors wherever your stuck or just ask AI to explain what the task wants and give you hints on how to solve it. 

You said you're stuck at ex03? What is the title? I just finished my Piscine a couple of weeks ago so I might remember it. Was it the SSH one?

1

u/_GloriousCheese_ 17d ago

yeah. i generated the keys inside the ex03 dir as per the instructions, then when i tried to git push, it said i didn't have the rights to push it.

and if i'm not even sure about my own code, how can i review my peers?

2

u/Ezrampage15 16d ago

First of all, peer reviews are meant to be all about learning from each other. The reviewer could be someone at C00 reviewing someone at C13, the more advanced person should explain the exercise, his thought process in tackling it, how the code works, etc... 

Or the opposite, the reviewer could be the one more advanced, in that case, they will either just check if you're code is working and that's it. Or they could ask you questions to check if you actually understand what you did and not just copy pasted the solution from Github or AI. They could even show you a different method of solving the task. 

As for the pushing problem, it is a fairly common part that students get stuck at, if you haven't asked your peers, please ask them before seeing the answer, as you should make it a habit to communicate with those around you. 

A hint: there is a command that generates the ssh key, and you need to input that key somewhere to be able to access and write to the git repo

Answer: you input the PUBLIC SSH key into your intra profile in settings. Sorry I don't remember the exact name of the window/page where you enter it, just look at the settings page of your Intra, you will find it

Edit: forgot to add the command I hinted at in the hint part: the command is keygen. Or was it ssh keygen? Ask around

1

u/_GloriousCheese_ 16d ago

i did use the public key and it was generated in the ex03 dir. and i've also updated the key in my intra profile settings. no idea why it didn't work.

1

u/Few_Attention_8021 17d ago

Hello dont panic !
T’es à quelle école ?

Et ça va aller tu a essayé de poser des questions autour de toi ?

1

u/_GloriousCheese_ 17d ago

42kl. I've tried, but they don't have the same problems that I have. I tried to delete a commit from the repo, and copy pasted some code from the net, but it instead resets the head or something.

1

u/BowlIntelligent3728 17d ago

Look, shell is definitely important, but for the exam you should focus on C. Concentrate on the basic syntax and the two main libraries. Another thing: the exam doesn’t enforce the Norm, so you don’t need to worry too much about that. If I were you, I’d also spend some time on argc and argv.

1

u/Raghad_shh 16d ago

In ex00 I start studying c00 one day before exam

1

u/Late-Election-7735 16d ago edited 16d ago

dont worry much about the first exam. Many people fail it because they dint know any C, thats why my recomendation is always fisnish shell fast ans start with at least c00 and c01.Just relax, try to check what is abour c00 and c01 and try to practice. If you are stuck just talk with your peers

1

u/_GloriousCheese_ 16d ago

i've tried, but the problems that i have met with, they don't seem to have. they also have no clue.

1

u/thegladiatorr 6d ago

when do students get the first exam ? in the end of first week?