So here's a beginner/low-effort question:
What is the ideal way a question like this should be handled?
If it were me, I'd just make an effort to ask the user to clarify points about their question that are unclear, and make a request that they show what they've tried so far. Most of the time, they've got something and they just haven't posted it.
I think, if you're going to help someone, it's fair to ask them if they've tried helping themselves, so that you can build upon what they might've already figured out, and do your best to get more details to understand their situation more completely.
I wouldn't answer it yet, though. If there's such a broad and undefined scope I would think it wouldn't be fair to a potential answerer (and in some ways to the questioner) to try and write a solution.
Also, it smells like homework. I smell it through the interwebs, and its lack of a homework tag displeases me...
...though maybe it's not homework. I'd ask the questioner about that too.