Feature | Procedural Programming | Object-Oriented Programming |
---|---|---|
Division of Program | Program is divided into functions. | Program is divided into objects. |
Approach | Follows a top-down approach. | Follows a bottom-up approach. |
Access Specifiers | No access specifier in procedural programming. | Has access specifiers like private, public, protected. |
Adding New Data and Function | Adding new data and function is not easy. | Adding new data and function is easy. |
Data Hiding | No proper way for hiding data, less secure. | Provides data hiding, making it more secure. |
Overloading | Overloading is not possible. | Overloading is possible. |
Importance of Data and Function | Function is more important than data. | Data is more important than function. |
Basis of Design | Based on an unreal world. | Based on the real-world scenario. |
Examples | C, FORTRAN, Pascal, Basic, etc. | C++, Java, Python, C#, etc. |
Related posts:
- Describe the features of object-oriented languages ? OR Explain the major features of Object-Oriented Programming.
- Explain object-oriented approach with its benefits.
- Describe the elements of object-oriented system.
- Describe steps of object-oriented design.
- Differentiate between structured approach and object oriented approach
- What do you understand by object-oriented technology ?Discuss the pros and cons of object-oriented technology with suitable example.
- What do you understand by object identity ? Explain with an example.
- Explain encapsulation with example.OR Discuss the concept of encapsulation with suitable example.OR What do you mean by encapsulation ? How does the object-oriented concept of message passing help to encapsulate the implementationof an object, including its data ?
- Write short note on information hiding.
- What do you mean by polymorphism ? Explain it with an example. OR What do you mean by polymorphism ? Is this concept only applicable to object-oriented systems ? Explain. OR Define polymorphism. Is this concept only applicable to object oriented systems ? Explain.
- What do you mean by modeling ? Discuss several purposes served by models with suitable examples.
- What are the different models used in object oriented languages ?OR Write short note on dynamic modeling and functional modeling.
- Write short notes on : a. Data store b. Actors c. Control flow
- What are the principles of modeling ? What is the importance of modeling ?, OR What are the basic principles of modeling ? Explain in detail.
- Define object-oriented modeling (OOM). Describe varioussteps involved in OOM process. Explain.
- Define link and association. Discuss the role of link and association in object modeling with suitable example.
- What do you mean by object modeling technique ? Explain. Discuss the various stages of the object modeling techniques with some example.
- Wire is used in the following applications. For each of the following applications, prepare a list of wire characteristics that are relevant and also explain why each characteristic is important for the application : (1) Designing the filament for a light bulb; (2) Designing the electrical system for an air plane.
- What do you mean by UML ? Discuss the conceptual model of UML with the help of an appropriate example. give the conceptual model of UML. Use some example to illustrate the model in detail using diagram.
- Describe the pros and cons of unified modeling language(UML).
- Why UML required ? What are the basic architecture ofUML ?
- What do you understand by architectural modeling ?Explain its various concepts and diagrams with suitable example. ORWrite short notes on architectural modeling with suitable exampleand diagrams.
- What do you understand by classes in object oriented system design ?
- Explain relationship with its different types.
- Describe generalization and specialization.OR What do you mean by generalization ? Explain. How is it related with inheritance ? OR Define aggregation and generalization. Explain.
- Categorize the following relationship into generalization, aggregation, or association :
- Explain class and object diagrams with examples.
- Differentiate between a class and object with some example. Also prepare a list of objects that you would expect each of the following systems to handle : (1) a program for laying out a news paper, (2) a catalog store order entry system.
- Prepare a portion of an object diagram for a library book checkout system that shows the date a book is due and the late charges for an over due book as derived objects.
- What do you mean by a collaboration diagram ? Explain various terms and symbols used in a collaboration diagram. How polymorphism is described using a collaboration diagram ? Explain using an example. OR What is a collaboration diagram ? How polymorphism is represented in a collaboration diagram? Explain with an example.
- Explain Polymorphism, Iterated Messages and use of self in message in collaboration diagram.
- What do you mean by sequence diagram? Explain various terms and symbols used in a sequence diagram. Describe the following using sequence diagram : (i) asynchronous messages with/without priority. (ii) broadcast messages.explain sequence diagrams with example.
- Discuss in brief basic behavioural modeling.
- Write a short note on use case diagram and time diagram with suitable diagram and their utility in system design.
- Define package. Explain the package diagram with suitable diagram. OR What are package diagrams and why are they used ?
- Write short notes on use case diagram with suitable diagram and their utility in system design.
- What do you mean by activity diagram ? Explain indetail. OR What do you mean by activity diagram ? What are the two special states shown in an activity diagram ? Explain with an example.
- What do you mean by event ? What are the types of event explain with example ?
- Explain use case with example. How are the diagrams divided ?