+ 15
What is top down approach in Programming?
how is it different from bottom up approach? explain with program
22 Antworten
+ 10
Don'tbe concerned with the particular language. The approaches are all about the way you think about problems.
Do you start with a big picture idea and then work out what needs to be done to achieve this (scaling down and down till you reach an actual module) or do you start by solving the immediate problem ahead of you and build out multiple modules till you bundle then all later.
Honestly you're going to use a mixture over time :-)
It might seem inconsequential but it can potentially have a profound effect on the final outcome.
+ 3
what's the difference between extends and implementing?
+ 3
Procedural / functional programming usually implements top to bottom control or execution of the program. It runs the code line by line.
On the other hand OOP, thanks to the object model can follows the other mode or from anywhere to wherever you want.
+ 2
https://en.m.wikipedia.org/wiki/Top-down_and_bottom-up_design#Programming
To me this is like divide-and-conquer vs creation. In fact, at the link, under Neuroscience and Psychology:
"...A bottom-up process is characterized by an absence of higher level direction [they know where they're going by faith or intuition]...[top-down...is characterized by] a high level of direction...by more cognition, such as goals or targets..."
What I'd like to know, since I think the teacher bridges the gap between creator and divider--is what you'd call the programming paradigm in the center.
+ 2
In the event that anyone thinks otherwise, top-down programming and bottom-up programming have nothing to do with where the compiler starts compiling code. I can tell you with great certainty as a Java programmer that the compiler always starts at the top and works it's way down, only jumping to another place if a method is called, or at least that's how it works in Java. Furthermore, top-down and bottom-up programming is how YOU look at the code, not the compiler.
Top-down programming, or stepwise design, is kind of like reverse engineering. You take an overview of whatever you're building and break it down into its base components.
Bottom-up programming is the opposite: you build upwards from the project's base components before you can see an overview of the product.
I hope this helps!
Disclaimer: I am still learning programming and am not an expert. Please feel free to conduct your own research in order to confirm mine. Thank you, and have a nice day!
+ 1
"A top-down approach (also known as stepwise design and in some cases used as a synonym of decomposition) is essentially the breaking down of a system to gain insight into its compositional sub-systems. In a top-down approach an overview of the system is formulated, specifying but not detailing any first-level subsystems."
+ 1
top down approach means compiler start compiling the code from top to bottom. c and c++ programming languages uses top down approach where as java uses bottom up approach.
0
no no...I want to know...like.. when I think about a program..I think in the same way it doesn't matter it is C or Java..so where is the difference??
0
I think...in Java first we think about object..then we think what should we do with this object... that's why it is called bottom up approach.....
0
I think with object oriented languages such as java it's more of bottom up approach since you can actually use methods which are defined later on in the program but in c functions have to be declared and defined first before they are used and that is why it is called a procedural language.
0
top down approach uses approach in which we follow the order from the top to bottom... in fact we follow algorithm.
but
in OOP we use bottom up approach means we focus on data rather than following procedure.
java is an oop language.
0
top down approach means procedural approach of programming which c follows.... every variable you want to use should be declared either globally or just under the main function...
0
in short, whatever you use in code, should be previously defined in the code before using it.
in other words,
declarations always comes before definition.
0
We have two ways to write codes;
1. Procedural: We can also say top down approach. Which all the codes we have written is compiling line by line.
2. OOP: Object Oriented Programming which is another type for modeling the data.
0
It is exactly what it sounds like, the code is compiled starting from the top to bottom,
Java uses a bottom top approach
0
If you do not want to have to download something onto your computer, I recommend C++.
0
Top-down:
I need ride. I want to make a car. It have to make an engine, and wheels, and ...(other details)
Bottom-up:
I will make a wheels, and engine, and connect it, and make a chassis, and seats, ... and make a car, to have a ride.
- 1
Hey
- 1
an or r÷fered to as android native,sandbox/ bot is (broken
- 1
like twitter and facebook??(as in example)