2 ms·
If you wanted to make a generalist quiz, why not ask the questions in psuedocode? Asking the user to choose between 'queue.extend(node)' and 'queue.extend([nod
by fenomas 9y ago
If you wanted to make a generalist quiz, why not ask the questions in psuedocode?
Asking the user to choose between 'queue.extend(node)' and 'queue.extend([node])' is purely a Python syntax question; it has nothing to do with programming per se.
- Yen 9y agoNeither of those are the correct answer, though. The correct answer is node.children, which isn't syntax-specific, it's about the pseudocode of whether you want to visit the node, or the node's children.
- ammon 9y agoUsing pseudocode is a great idea. We've talked about that. We've not done it because we still need to decide what style of syntax to use (and that will still preference certain programmers). But maybe we should think about it again!
- estomagordo 9y agoMaybe start off with a The Elder Scrolls style background quiz, where people are asked things such as "Ever since childhood you've been having terrible nightmares about (a) curly braces (b) dynamic typing (c) memory management. And then, after 20 background questions, you could know with high certainty what style of pseudo code (or even language!) a person prefers. Yeah, I think this is a great idea.