[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
▼ Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: 6b51to-2218203327.png (59 KB, 300x200)
59 KB PNG
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.
>>
>>110456873
fuck 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
>>
>>110456880
Same, bro. Fortunately, we're on the internet and we can't see who's on the other side of the screen. Take your time.
>>110456907
go back to /b/, imbecile shitposter
>>110456942
congratulations 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.
>>
>>110457094
Unironically chemically castrate yourself with psych meds
>>
>>110456873
I won't do your homework
>>
File: soymask.jpg (10 KB, 250x250)
10 KB JPG
>>110457114
brainlet gets insecure for not having elementar tech knowledge lmao
>>
>>110457147
And here comes the memefolder, truly high IQ behaviour
>>
>>110457124
I 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.
>>
File: 305218.png (47 KB, 1280x720)
47 KB PNG
>>110456873
Demonstrate to me how any one (1) of these questions is relevant to daily tasks in a modern tech job.
You have one hour.
>>
>>110456873
I have never worked with C or C++ in my professional life and I probably never will
tc 190k
>>
>>110457266
Are 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.
>>110457355
Fine, 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?
No
I 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 pointers
however, 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
>>
>>110457516
8. 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 lol
9. Calling PIDs the scarcest resource is a huge stretch, my bad. I wanted one last question to wrap it up.
>>110457449
>perhaps with function pointers
I 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!
>>
>>110456873
sure, I know deez



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.