In a Job interview, you do not have access to the Internet or World Wide Web. • If your answer is not in your own words, you will not receive credits. • If your answer is NOT suitable for a job interview question, you will not receive credits. For example, your answer is several paragraphs in length.
In a job interview, you are asked the following question. Please give an example where the structured programming language is a better choice than the object-oriented programming language.
Object oriented programming eases the burden on programmer and it will better handle the coding errors and will not let the programmer go beyond some limits and limiting the code at abstract level. In other words the control given to the programmer in object oriented programming is abstract. However if the programmer needs some fine-grain access to memory and hardware devices, it’s always better to go with structured programming language than that of object-oriented.
A quick example is that when you’re writing (programming) a compiler, or an operating system, it’s advisable to go with structured programming language.
You can see that most of the operating systems and compilers are written in C (which is a structured programming language), than that of Java/C++/Python (which are object-oriented).
Get Answers For Free
Most questions answered within 1 hours.