In lecture 7, the prof suggest writing out the program in pseudocode prior to actual coding. This forms the basis of your comments and allows you to think through the problem without worrying about the syntax and vice versa - this has really helped me. I just finished problem set 4, and I completed it much faster than the previous problems ... I highly recommend doing this!!
That's right; it helps a lot to use pseudocode and other means of expressing a program's flow and logic (flowcharts, UML, diagrams). These help you develop a good understanding of the problem at hand, and let you figure out if your program will properly solve it.
yes it is, agree with mister up of me, pseudocode , program's flow and logic, help you make a program faster compare to just doing code. If you straightly implement the code, it can be you make a big and complex one, compare to if you design it first
Yup, paper and pencil or windows notepad are my best friends for writing pseudocode. Surprisingly, even a few lines really helps, to at least get the flow of logic and state exactly what I'm going to do.
I always thought Python was executable pseudocode
xD it does look like that, doesn't it? Doesn't take much to go from pseudo to code.
Join our real-time social learning platform and learn together with your friends!