Write the algorithm(steps), in human language (English)
You may say "repeat previous step" (if it is applicable to do so)
To help get started, here are some example steps you might insert somewhere into your algorithm (consider each example step independently -- not as a group):
Find loaf of bread container/bag and put on counter
Serve one sandwich each to two aunties, who are sitting at the kitchen table
Note: we define a tomato sandwich as two slices bread (toasted) with inward sides of bread buttered. The sandwich contains two slices of tomato, each with a touch of pepper.
Your Algorithm Reader:
Your target audience (reader) of your algorithm has no idea how to make tomato sandwiches -- they need your instructions
Write the algorithm(steps), in human language (English)
You may say "repeat previous step" (if it is applicable to do so)
Hint -- assume that we have another (existing) algorithm available called "Make Toast" that will do the work for us of making toast (and buttering bread) and you can simply say something like this:
Call algorithm "Make Toast"
"Make Toast" gives us one slice of bread to us (toasted and buttered). Cconsider calling it multiple times -- if needed.
To help get started, here are some example steps you might insert somewhere into your algorithm (consider each example step independently -- not as a group):
Assume none of the files/directories exist before starting
First Set of Available Tools:
We can open a "file browser" as our main tool
You may say "repeat previous step" (if it is applicable to do so)
We can navigate to any existing directory which will then be our "current directory"
Second Set of Available Tools (these are the commands we have available -- all of these commands are in the "file browser" and apply to the current directory and are available via the "popup" or "right click" menu):
Popup Menu -- Create Directory -- prompts for a name, and then adds new directory
Popup Menu -- Create File -- prompts for a name, and then adds new file
With one .txt file selected -- Popup Menu -- Edit File -- opens a text file in an editor. When done you can do the "close action" on the editor, and the editor will then prompt you -- yes/no confirming to keep changes.
With one or more files and/or sub-directories selected -- Popup Menu -- Create ZIP -- prompts for a name, and then creates a ZIP file containing the selected files/dirs.
This is just like problem #1 and #2 in that you only need to write instructions (an algorithm) to do this task -- you do not actually need to create directories, files and a zip (although "walking thru" the instructions when done is a good idea for practice).
Make the steps operating system independent -- e.g., no Windows/Mac specific commands. Use commands from above-mentioned "popup".
Write the algorithm(steps), in human language (English)
All prompts can be finished by pressing the "Enter key" unless otherwise noted
To help get started, here are some example steps you might insert somewhere into your algorithm (consider each example step independently -- not as a group):