Answer:
I don't think so. In today's computer era, many different solution directions exist for any given problem. Where OOP used to be the doctrine of choice, now you would consider it only when the problem at hand fits an object-oriented solution.
Reason 1: When your problem can be decomposed in many different classes with each many instances, that expose complex interactions, then an OO modeling is justified. These problems typically produce messy results in other paradigms.
Reason 2: The use of OO design patterns provides a standardized approach to problems, making a solution understandable not only for the creator, but also for the maintainer of code. There are many OO design patterns.
Answer:
True
Explanation:
Run-time parameters passed to a function allow you to use different values each time the function is called. Let us consider an example:
int add(int a,int b){
return a+b;
}
Now we can execute the same function with different parameters at runtime:
add(3,4) returns 7.
add(1,2) return 3.
add (10,1) return 11.
During each invocation , the formal function parameters are substituted by actual runtime values and the function code is executed.
Typical examples of real-time systems include Air Traffic Control Systems, Networked Multimedia Systems, Command Control Systems etc.