Read each question carefully, and if you need clarification, kill yourself. Ready? Share your score only.0. Do you know the difference between architecture and instruction set?1. Do you know why it is possible to assemble code with pointer arithmetic?2. Do you know why `int *p = &q` assembles but `int *p = &q & ~0xc` doesn't? (ignore types)3. Do you know why bottom-up parsers can represent more grammars than top-down ones?4. Do you know why, in C++, `class Foo { char bar; int baz; };` has size 8?5. Do you know why, in C23, `struct Foo { typeof('c') bar; char baz[4]; };` has size 8?6. Do you know how to change the expected flow of a program using pointers?7. Do you know which one of these is defined, `(struct foo){ -1 }` or `(struct foo){ .bar = -1 }`?8. Do you know why you shouldn't let an N-dimention array decay?9. Do you know the scarcest resource a loop in shellscript wastes on a server?
I have test anxiety, my mind goes blank whenever I'm about to be judged by others. Sorry.
>>110456873fuck off marketing surveyor, I hope you kill yourself for being a soulless retard
I'm a Fullstack Node.js Software Engineer at a fintech company and I don't know an answer to a single one of these useless questions
>>110456880Same, bro. Fortunately, we're on the internet and we can't see who's on the other side of the screen. Take your time.>>110456907go back to /b/, imbecile shitposter>>110456942congratulations for being a professional bullshitter, anon! If you ever happen to work with someone actually good at tech you'll notice that they conceal contempt for you.
>>110457094Unironically chemically castrate yourself with psych meds
>>110456873I won't do your homework
>>110457114brainlet gets insecure for not having elementar tech knowledge lmao
>>110457147And here comes the memefolder, truly high IQ behaviour
>>110457124I wish I had homework as passable as this. If only my professors used their overgenerous salaries to level their commitment to work. Just yesterday that retarded simian had the audacity to ask "which port does the SSH service use?" in a test (3rd semester btw). People like this should be beaten to a pulp.
>>110456873Demonstrate to me how any one (1) of these questions is relevant to daily tasks in a modern tech job.You have one hour.
>>110456873I have never worked with C or C++ in my professional life and I probably never willtc 190k
>>110457266Are you kidding me, right? The only 2 "useless" are 0 and 3 all the others are immediate to the engineer. Take 8 as an example and tell me you don't see a point in learning when to avoid pointer decay.>>110457355Fine, there are other paths to hell and I hope you're on your way there or else you will never grow you skills, only your income. The former is for the great-spirited only.
>>110456873>Do you know the difference between architecture and instruction set?instruction set is the assembly commands / op codes available, while the architecture is just a name for whatever collection of nuances of the hardware that implements it>Do you know why bottom-up parsers can represent more grammars than top-down ones?NoI actually thought this was bullshit until I looked it up>Do you know the scarcest resource a loop in shellscript wastes on a server?I thought it’d be HDD space or RAM. The answer I saw on google was a very interesting nuance of shell scripts.>Do you know how to change the expected flow of a program using pointers?perhaps with function pointershowever, this question and all the others I didn’t answer are C/C++ trivia that almost nobody actually needs to know.
>>110456873>0. Yes>1. Yes>2. Yes, it compiles but using the resulting pointer is UB>3. No>4. Yes>5. Yes>6. Yes, but you should not do it>7. Both >8. You can't avoid array decay (in c), use a fat pointer>9. No
>>1104575168. One of my first projects ever had a 3D array. I implemented all bad practices in existence to make it a global variable and include it once everywhere so I could easily iterate it lol9. Calling PIDs the scarcest resource is a huge stretch, my bad. I wanted one last question to wrap it up.>>110457449>perhaps with function pointersI wouldn't consider function pointers hackery. I won't spoil the question until someone else does, but here is a tip: when reading a book, don't skip the prologue and epilogue!
>>110456873sure, I know deez