When I last did practical supervision, the directive was that each lab question had to have a written design in order for the code to be marked. When the supervisors were asked for help with code, often the first thing I would ask is "where's your design? let's look at that". A lot of the time when students were getting totally lost it would be because they either didn't have a design, or their design was fundamentally flawed.
By the end of the semester, the smart students realised that investing some time in doing good designs meant that they spent way less time coding (and overall, beat the people that jumped right in without thinking). This approach carries over well to written exams. There's nothing worse than having to erase/white-out/cross out hand-written code because you didn't think through your design properly!
We weren't too strict on what a design consists of, but I accepted flowcharts, pseudo-code, small textual descriptions, etc.