Answers
A secret word or phrase that is long and varied so it is hard to guess.
Values that break the set rules for a field, which the program refuses and asks for again.
Notes in a program that explain what a section of code does or why it was written.
Allowing only a small number of tries before an account is locked and further entries are refused.
Giving variables descriptive labels so that anyone reading the code can tell what each value is for.
Thinking ahead about how users might use a program in ways it was not intended.
The spaces at the start of lines inside a block that show which lines belong together.
Confirming the identity of a user before letting them use the program or see its data.
Checking that data entered by a user is sensible and follows set rules before the program uses it.
Text shown on screen explaining why the value the user typed was not accepted.
Separate named sections of code that each do one job, so a change is only made once.
Writing a program so that it keeps working correctly whatever the user does and is easy to change.
How easy a program is to read, understand and update, by the original programmer or someone else.