What are the main advantages of using an object-oriented design approach over a function-oriented approach? Explain.

 The main advantages of using an object-oriented design approach over a function-oriented approach are:-

1. Simplicity: Software objects model real world objects, so the complexity is reduced and the program structure is very clearly.

2. Code reuse and recycling: Object created for one program can be easily reused in other program.

3. Faster development: Reuse enables faster development.

4. Lower cost of development: The reuse of software also lowers the cost of development.

5. High-quality software: Faster development of software and lower cost of development allows more time and resource to be used in verification of the software.

6. Maintainable: OOP methods make code more maintainable. Objects can be maintained separately, making locating and fixing problems easier. 


7. Scalable: As an object's interface provides for reusing the object in new software, it also provides all the information needed to replace the object without affecting other code. This makes it easy to replace old and aging code with faster algorithms and newer technology.


8. Highly secure: Data is hidden and cannot be accessed by external functions.

Comments

Popular posts from this blog

Suppose that a data warehouse for Big-University consists of the following four dimensions: student, course, semester, and instructor, and two measures count and avg_grade. When at the lowest conceptual level (e.g., for a given student, course, semester, and instructor combination), the avg_grade measure stores the actual course grade of the student. At higher conceptual levels, avg_grade stores the average grade for the given combination. a) Draw a snowflake schema diagram for the data warehouse. b) Starting with the base cuboid [student, course, semester, instructor], what specific OLAP operations (e.g., roll-up from semester to year) should one perform in order to list the average grade of CS courses for each BigUniversity student. c) If each dimension has five levels (including all), such as “student < major < status < university < all”, how many cuboids will this cube contain (including the base and apex cuboids)?

Explain market-Oriented Cloud computing architecture.

Describe how cloud computing technology can be applied to support remote ECG monitoring.