787
Exam Answer
(programming.dev)
Welcome to Programmer Humor!
This is a place where you can post jokes, memes, humor, etc. related to programming!
For sharing awful code theres also Programming Horror.
Trick question?
attribute error
Poor question more likely
I am currently looking for job opportunity and amount of gotcha type question i see in OA is just something else.
I can’t imagine that’s any fun to deal with.
“You should have known what the intent of the question was. Management won’t know or care about the internals of your code as long as it meets requirements. You have failed this test.”
Or
“You should know that you’re calling a function with invalid parameters. Where did you get your CS degree from again?”
sigh you can have your ransom, just remove the cameras.
Do we know it is Python?
looked into it, gcse cs uses python in syllabuses.So, most likely
no the school can realistically choose any sensible language, the one in the exam question is a pseudocode one that is used only to make the exam questions understandable regardless of which language you studied