The correct sequence of the steps of writing an effective program is:
- Understand the problem.
- Think of logical methods to solve it.
- Choose one of the appropriate methods.
- Implement in the syntax of programming language.
This sequence emphasizes the importance of first comprehending the problem before brainstorming and selecting a solution, ultimately leading to the implementation phase.