Question

In: Computer Science

\To make the most of programming, you need to deeply understand the principles that underly the...

\To make the most of programming, you need to deeply understand the principles that underly the paradigm that you are using. For this task you must explain the principles of object oriented programming and relate these to the programs you have created. Create an article / blog post / letter to a friend / comic / movie / podcast / etc that explains the principles of object oriented programming, as you understand them, and outline what qualities you should look for in good object oriented programs. 1. Keep it to about 1 or 2 pages of text (if text based) 2. Videos or podcasts should be kept as short — but still demonstrate depth of understanding. 3. Creativity will be valued Make sure your explanation covers the following: Relate these to programs you have written in this unit. Note: Explain is more than just a description, you want to convey a deeper understanding that can be achieved with a simple description. Try to relate the principles together and express the depth of your understanding. Tip: A deep explanation does not need to be a long one. Aim to convey your understanding in a concise fashion. Tip: Including references to textbooks (not wikipedia) or research papers can help you strengthen your explanation. Remember to reference other peoples work. Concepts and Principles Programming Artefacts Abstraction Encapsulation Class Method Inheritance Polymorphism Object Fields Roles Responsibilities Interface Collaborations Coupling Cohesion

Relate these to programs you have written in this unit.

Solutions

Expert Solution

PLEASE GIVE IT A THUMBS UP, I SERIOUSLY NEED ONE, IF YOU NEED ANY MODIFICATION THEN LET ME KNOW, I WILL DO IT FOR YOU
Object-oriented programming executes genuine elements like legacy, covering up, polymorphism, and so forth in programming by utilizing objects. OOP centers around the items that designers need to control instead of the rationale needed to control them. The fundamental point of OOP is to tie together the information and the capacities that work on them so no other piece of the code can get to this information aside from that work.

Classes and items are the two primary parts of object situated programming. The object is an element that the software engineer needs to control. A class is a bunch of items that characterize the sort of information it contains and its conduct.

Take a gander at the accompanying representation to see the distinction among class and items:

Class Object
Fruit Apple
Banana
Mango

Thus, a class is a format for objects, and an object is an occurrence of a class.

At the point when the individual items are made, they acquire all the factors and capacities from the class.

In OOPs everything is related with classes and objects, alongside its credits and strategies. For instance, all things considered, a vehicle is an item. The vehicle has ascribes, for example, weight and shading, and techniques, for example, drive and brake.

Characteristics and techniques are fundamentally factors and capacities that has a place with the class. These are regularly alluded to as "class individuals".

An interface is a programming structure/grammar that permits the PC to uphold certain properties on an object (class). For instance, say we have a vehicle class and a bike class and a truck class. Every one of these three classes ought to have a start_engine() activity. How the "motor is turned over" for every vehicle is left to every specific class, however the way that they should have a start_engine activity is the space of the interface.

Ideas of OOPs

Embodiment

Embodiment is characterized as the wrapping up of information under a solitary unit. The component ties together code and the information it controls. Other approach to consider exemplification is, it is a defensive shield that keeps the information from being gotten to by the code outside this shield. In exemplification, the factors or information of a class is avoided some other class and can be gotten to just through any part capacity of their own group in which they are pronounced.

Deliberation

Deliberation can be considered as a characteristic expansion of embodiment. In an object-situated plan, programs are frequently very enormous. Also, separate objects speak with one another a ton. So keeping up an enormous codebase like this for quite a long time — with changes en route — is troublesome.

Deliberation is an idea planning to facilitate this issue. Applying deliberation implies that each object should just uncover an elevated level system for utilizing it. Information Abstraction is the property by ethicalness of which just the basic subtleties are shown to the client. The minor or trivial items units are not shown to the client. Ex: A vehicle is seen as a vehicle as opposed to its individual parts. Or then again an espresso machine that does a great deal of stuff and makes eccentric clamors in the engine. Be that as it may, you should simply place in espresso and press a catch.

Consider a genuine case of a man driving a vehicle. The man just realizes that squeezing the quickening agents will speed up vehicle or applying brakes will stop the vehicle however he doesn't think about how on squeezing the quickening agent the speed is really expanding, he doesn't think about the internal system of the vehicle or the usage of quickening agent, brakes and so on in the vehicle. This is the thing that deliberation is.

Legacy

Objects are frequently fundamentally the same as. They share normal rationale. However, they're not completely the equivalent. So how would we reuse the regular rationale and concentrate the novel rationale into a different class? One approach to accomplish this is legacy. It implies that you make a (kid) class by getting from another (parent) class. Along these lines, we structure a progression. The youngster class reuses all fields and techniques for the parent class (normal part) and can actualize its own (extraordinary part).

Lets take a genuine guide to get this: Lets expect that Human is a class that has properties, for example, stature, weight, shading and so forth and usefulness, for example, eating(), dozing(), dreaming(), working() and so on

Presently we need to make Male and Female class, these classes are unique however since both Male and Female are people they share some regular properties and practices (usefulness) so they can acquire those properties and usefulness from Human class and rest can be written in their group independently.

Polymorphism

Polymorphism signifies "numerous structures", and it happens when we have numerous classes that are identified with one another by legacy. Legacy lets us acquire traits and strategies from another class. Polymorphism utilizes those techniques to perform various errands. This permits us to play out a solitary activity in various manners. For instance, think about a base class considered Animal that has a technique called animalSound(). Inferred classes of Animals could be Pigs, Cats, Dogs, Birds - And they additionally have their own usage of a creature sound (the pig oinks, and the feline howls, and so forth)

These are the fundamental ideas of Object Oriented Programming Language.

Job, Responsibilities, Collaborations is a piece of Object Design and needs separate clarification. Attempt to post it as a different inquiry.


Related Solutions

Instructions To make the most of programming, you need to deeply understand the principles that underly...
Instructions To make the most of programming, you need to deeply understand the principles that underly the paradigm that you are using. For this task you must explain the principles of object oriented programming and relate these to the programs you have created. Note: Explain is more than just a description, you want to convey a deeper understand- ing that can be achieved with a simple description. Try to relate the principles together and express the depth of your understanding....
i need a full explanation in details Object Oriented Programming Principles Principles Polymorphism Inheritence Encapsulation Abstraction...
i need a full explanation in details Object Oriented Programming Principles Principles Polymorphism Inheritence Encapsulation Abstraction Class Object Method Message Passing
In a short essay make clear what you understand to have been the most important constitutional...
In a short essay make clear what you understand to have been the most important constitutional problems that have faced Ukraine since independence.
Please solve using simple python programming language and make it easy to understand explain your code...
Please solve using simple python programming language and make it easy to understand explain your code as I am a beginner, use appropriate variable names which make the code easy to understand and edit if needed. A subsystem responsible for delivering priority numbers to an automated irrigation system has stopped working and you need to deliver a quick fix that will work until the actual subsystem is fixed by senior developer. As you are the newest addition to the development...
We need to talk about APPLE Company. We need to talk about and analyze DEEPLY using...
We need to talk about APPLE Company. We need to talk about and analyze DEEPLY using appropriate graphs and figures to clarify your ideas. We need to talk about Apple using deep financial analysis to check the price fluctuation regarding the stock exchange market and stock market index. We need to analyze the function of the stock exchange market, and also we need to analyze the effect of the financial market on Apple company and on investors.
NEED IN C++ For the following programming problems, you need to time a section of code...
NEED IN C++ For the following programming problems, you need to time a section of code in C++. For example, the following statements time the execution of the function doSomething: #include clock_t start = clock(); doSomething(); clock_t finish = clock(); double overallTime = static_cast(finish - start)/ CLOCKS_PER_SEC; Consider the following two loops: //Loop A for(i = 1; i <= n; i++)    for(j = 1; j <= 10000; j++)     sum = sum + j; //Loop B for(i = 1;...
I need a short and clear opinion so I can understand the question and make my...
I need a short and clear opinion so I can understand the question and make my own opinion Writing in the 19th century, the British economist Thomas Malthus argued that the law of diminishing marginal returns implied eventual misery for humanity because, in the case of agriculture, there is a fixed amount of available land and additional labor would only yield ever smaller increases in food production. The inevitable result, as Malthus saw it, was that population growth would eventually...
I need a step by step explanation to problem 14-26 in order to make me understand...
I need a step by step explanation to problem 14-26 in order to make me understand the solution: 14-26 Direct Materials and Direct Labor Variance Schmidt Machinery Company used 3,450 pounds of aluminum in June to manufacture 920 units. The company paid $28.50 per pound during the month to purchase aluminum. On June 1, the company had 50 pounds of aluminum on hand. At the end of June, the company had only 30 pounds of aluminum in its warehouse. Schmidt...
Make sure you understand the two alternatives. The "make" means that KCSB assembles and ships all...
Make sure you understand the two alternatives. The "make" means that KCSB assembles and ships all of its regular bicycles. The "buy" means that KCSB pays another firm to assemble and ship some of its regular bicycles and uses the freed-up resources to make and sell specialty racing bicycles. TIP: The analysis can be simplified by ignoring all irrelevant tiems - the revenue and the costs for the bicycles that are not being outsourced. Instead, just focus on 1) the...
Make sure you understand the two alternatives. The "make" means that KCSB makes, assembles, and ships...
Make sure you understand the two alternatives. The "make" means that KCSB makes, assembles, and ships all of its bicycles. The "buy" means that KCSB makes, assembles, and ships some of its bicycles, makes some of its bicycles and pays another firm to assemble and ship them, and uses idle resources to make and sell specialty racing bicycles ______________________________________________________ King City Specialty Bikes (KCSB) produces high-end bicycles. Costs to manufacture and market the bicycles at last year's volume level of...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT