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

90.2K

Verified Solution

Question

Programming

Instructions

To make the most of programming, you need to deeply understandthe principles that underly the paradigm that you are using.

For this task you must explain the principles of object orientedprogramming and relate these to the programs you have created.

Note: Explain is more than just a description, you want toconvey a deeper understand- ing that can be achieved with a simpledescription. Try to relate the principles together and express thedepth of your understanding.

Tip: A deep explanation does not need to be a long one. Aim toconvey your under- standing in a concise fashion.

Create an article / blog post / letter to a friend / comic /movie / podcast / etc that explains the principles of objectoriented programming, as you understand them, and outline whatqualities 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 stilldemonstrate depth of understand- ing.

  3. Creativity will be valued

    Tip: Including references to textbooks (not wikipedia) orresearch papers can help you strengthen your explanation. Rememberto reference other peoples work.

Make sure your explanation covers the following:

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.

Answer & Explanation Solved by verified expert
4.5 Ratings (770 Votes)
1 Abstraction In simple words abstraction means to hide the internal details and to show the features of the program Lets take an example of a car the driver will be able to handle the steering wheel break clutch accelarator pedal but he wont be able to see how the engine works how the horn blows and how the interior mechanism works because its waste of knowing for a driver his job is to just drive the car from one point to another Similar is the case with the users who wants to utilize the softwares and applications they will only deal with exterior features and interface and doesnt worry about the internal functionality and work flow It is one of the key concepts of OOP language It was made to handle the complexity by hiding hiding unnecessary details from the user That enables the user to implement more complex logic on top of the provided abstraction without understanding or even thinking about all the hidden complexity Encapsulation was also made to hide the complexity of code Encapsulation is one of the fundamental concepts in objectoriented programming OOP It describes the idea of bundling data and methods that work on that data within one unit eg a class in Java This concept is also often used to hide the internal representation or state of an object from the outside This is called information hiding The general idea of this mechanism is simple If you have an attribute that is not visible from the outside of an object and bundle it with methods that provide read or write    See Answer
Get Answers to Unlimited Questions

Join us to gain access to millions of questions and expert answers. Enjoy exclusive benefits tailored just for you!

Membership Benefits:
  • Unlimited Question Access with detailed Answers
  • Zin AI - 3 Million Words
  • 10 Dall-E 3 Images
  • 20 Plot Generations
  • Conversation with Dialogue Memory
  • No Ads, Ever!
  • Access to Our Best AI Platform: Flex AI - Your personal assistant for all your inquiries!
Become a Member

Other questions asked by students