Completely misunderstanding the requirements? Yeah that's a dev alright.
Programmer Humor
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.
Rules
- Keep content in english
- No advertisements
- Posts must be related to programming or programmer topics
QA prodigy
Words.sort()
Words.map(word => word.sort())
Baby steps in functional programmings
fox
Programmer? IDK. Looks kind of antigrammar to me.
I like it. He didn't meet the assignment but he proved his knowledge. Now to see if they mark on knowledge learnt or subjugation.
They did fail to demonstrate knowledge of lexicographical order, which this exercise seems to be aiming for with the inclusion of pond and pumpkin, so I think it's a bit cynical to consider failing the student on this a means of opression or subjugation.
....................................._ Secret morse code?
- alphabet
- come
- in
- order
- the
- they
FTFY:
5. the
6. the
The alphabet provided ends with X. However, you apparently remove duplicates so maybe just cross out the last row?
Still an error unfortunately. Should be:
- the
- bart
- the
We really should stick with the orginal German verision.
- Die
- Bart
- Die
One important skill for school is to look at the entire question so that you can understand what the teacher is asking for, even if they don't format the question exactly right.
In this case, your answer would not fit into the 6 spaces provided for the answer.
So you have to ask yourself what they meant by "Write the following words". Since "the" is the same word repeated twice, once you've written "the" after 5, then I could argue that "the" has already been written.
Therefore, if there are only six blanks for the answer, looking at the entire question, I argue that the answer I provided is most likely correct.
You'll satisfy the teacher as often as possible and get good grades. I want to feel right as often as possible, which means I'll disrupt the class often and get called out during the parents-teachers meeting.
list.toSorted() vs list.map(word => word.toSorted())
(note that you can't actually do string.toSorted() in js you have to convert into a list and back)
I like how fox stays the same.
I like how pond is backwards.
Eirrv is such a better word for river that I'm retconning the English language
Forty is the only number when spelled out that is in alphabetical order
British spelling fixes this bug!
it's spelled 'forty' in british english too
Its spelt however you can convince people to read it tbh.
The question is poorly worded. It asks for words in the order they come in the alphabet. Words aren't in the alphabet. Letters are in the alphabet, so they reordered the letters.
I like this kid.
With more than three repetitions of the same algorithm the kid should've been automated the process.
Or autistic. Most definitely autistic.
OP already said programmer
Some become engineers.
It might not be autism, it might be just lacking context as to what they mean. The kid is likely very young so they might not know what alphabetical order means. It's a reasonable guess given the lack of explanation in the worksheet.
It makes sense if not taught the conventions of alphabetizing first. Kids don't know what they don't know.
Mr. Rogers understood this on a deep level.
~~malicious~~ naive compliance
In case anyways else looked for the comments to try to figure out what was done wrong, the expected answer would be: apple, fox, log, pond, pumpkim, river.
No, the answer isn't "pumpkim". :D
woah man, posting answers to tests online is cheating and can get you expelled!