Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.
Trending News
Help with pseudocode for design document?
Hi, Could someone wirte me a short paragraph or less than tbh of pseudocode for a program that would load on windows boot. Ive got to write a design document for a piece of software and I cant get my head around pseudocode.
Thanks
By that I only mean the boot sequence not the entire program obv
2 Answers
- campadrenalinLv 41 decade ago
I have no idea what your requirements or goals are for this project, and therefore, I can't really see any way to help you. Honestly, pseudocode is not that hard. There's not much of a solid format to it, you're just trying to lay out your general strategy for dividing and conquering your tasks. It's actually easier than regular source code, because you're basically just marking out a bunch of placeholders for real code.
For example, if I was trying to do a File dialog, I might do something like this:
filepath = openFileDialog();
if (!filepath) {reportError();} else {doThingWithFile();}
Obviously this is going to be expanded out later, function names will change, functions that are referenced will actually be written, yadda yadda yadda. But I've added a layer of planning to it, which is essential in larger programs, whether it's accomplished with pseudocode, diagrams, hand gestures, or any wild and crazy combination of the three.
- 1 decade ago
Sounds like you are writing this to be handed off to someone else for development. I'd suggest you use a Use Case rather than pseudocode. This will get you much better results... it's like going into a mechanic's shop and telling them what you want the outcome to be rather than outlining the steps you want them to take to fix it.