![]() |
What is the difference between top down and bottom up programming? |
[Edit] |
Top-Down and Bottom-Up Programming
Hi, Top-Down programming is quite literally written from the top of a page down to the bottom, in logical order. It is a sequence that starts from very simple things and as it goes down, it gets more and more complicated. Charateristically, the things further down in the program depend on those above them. Ie. If you say "x+y", then before that you must declare firstly what x and y are (integers(1,2,3,...), charaters(a,b,c,...), etc..) and then assign them values. Bottom-Up programming is the opposite of this. You start with a result and then declare what each part is.
I hope this is clear and has helped you.
First answer by ID1204709156. Last edit by ID3391874026. Question popularity: 20 [recommend question]





