Monday, January 27, 2020

Object Oriented Technology in Software Design

Object Oriented Technology in Software Design Jose E. Laguardia Abstract This research paper explains the concepts of Object-oriented technologies. Explores the evolution of Object-oriented programming languages, from their introduction in the 1960s to languages that are still relevant today. It compares Object-oriented programming languages with Procedural programming languages and their structures. Explaining the advantages and disadvantages of using an Object-oriented programming approach over a Procedural programming approach. Supports why Object-oriented programming is more cost effective in comparison to Procedural programming. And finally, explains how developing in an Object-oriented programming language, increases reusability and productivity, which results in higher quality software. The results were taken from research conducted online (Internet) from six published articles and reports. The articles and reports explain, in depth, Object-oriented programming languages, its advantages and disadvantages, and how it differs from Procedural programm ing. This paper will help the reader understand why some developers prefer to develop their software using an Object-oriented programming language based on its benefits and reusability for future changes or projects. Object-oriented Technology in Software Design and Implementation Object-oriented programming is a method of programming based on hierarchy of classes, and well-defined cooperating objects (Essays, UK, 2013). Object-oriented programming is a type of programming language where the developer has to first, plan out the functions and operations to be applied to data structures before writing any code. By doing this, the data structure converts to an object that includes both data and functions. Among some of the most popular Object-oriented programming languages are Java, C++, Python, Ruby, Visual Basic .NET and Smalltalk. The first step in developing Object-oriented style programs is to identify all the objects to be manipulated and how they identify each other. This process is often called, data modeling. Once the object is identified the developer has to label it as an objects class, define the data contained in it, and the logical sequence of manipulation. A distinct logical sequence is known as a method. An instance of a class is called an object and the object runs in the machine where the instructions are provided by methods and the data is provided by the characteristics of the object. Object-oriented Programming is a methodology or paradigm to design a program using classes and objects. It simplifies the software development process and maintenance by providing six concepts. Object, class, inheritance, polymorphism, abstraction, and encapsulation. Object: any entity that has state and behavior is known as an object. For example, computer, desk, keyboard, pencil, etc. The object can be physical and logical. Class: a collection of objects. It is a logical entity. Inheritance: is when one object acquires all the properties and behaviors of a parent object. It provides code reusability and it is used to achieve runtime polymorphism. Polymorphism: when one task is performed in different ways. For example, the way everyone speaks. Abstraction: hiding internal details and showing functionality. In Java, abstract class and interface are used to achieve abstraction. Lastly, encapsulation: binding or wrapping code and data together into a single unit. In Java, class is an example of encapsulation. To be considered a totally Object-oriented language, the language must include inheritance, polymorphism, and encapsulation. The evolution of Object-oriented Technologies points back to the 1960s. Simula 67, a major revision of Simula 1, is considered the first Object-oriented language when it first introduced the concept of an object. Simula 67 was designed by Kristen Nygard and Ole-Johan Dahl at the Norwegian Computer Center in Oslo, Norway. The introduction of Simula 67 brought the first true programming object, classes, and a form of inheritance. That is why in discussing Object-oriented technologies, Simula its an important milestone. Simula had a different way of presenting the object, so that each object has its own behavior and data. Smalltalk language, considered by many the first truly Object-oriented language, was developed by Xerox at their Research Center in Palo Alto, California in the early 1970s. In Smalltalk everything is an object, it is virtually impossible to write a program that is not Object-oriented. Smalltalk is more than a programming language, is a programming interactive environment that allows you to change parameters and code while the program is running. Smalltalk supported inheritance and the concept of sending messages between objects. C++ brought wider acceptance of Object-oriented development in the marketplace. C++ may be considered the most important programming language. With the release of C++, Object-oriented programming became mainstream. C++ was introduced in 1982 under the name of C with classes. The class concept provided encapsulation, now a requisite of Object-oriented languages. In 1989, commercial C++ compilers began to appear and the ANSI C++ committee was formed. C++ is still widely used nowadays and a programmer can create very elegant Object-oriented programs with it. Javas origins are in consumer electronics. In 1991, a small group of Sun engineers called the Green Team believed that the next wave in computing was to unite computers and digital consumer devices. The team lead by James Gosling, demonstrated their new language with an interactive remote controller that was originally targeted at the digital cable television industry. Unfortunately, it did not end up working for the television industry, as the concept was much too advanced at the time. But it was just perfect for the internet, which was just starting to take off. In 1995, Java ran on SPARC Solaris, Windows NT, Windows 95, and Linux. The team also announced that the Netscape Navigator Internet browser would incorporate Java technology. Today, Java is the invisible force behind many of the devices and applications we use in our day-to-day lives. Other languages like C# .NET and Visual Basic .NET by Microsoft where created to respond to the popularity of Java. C# relied heavily on the success and failure of earlier programming languages. The C# platform builds upon many powerful features from Visual Basic and C++ environments. The .NET environment provides the ability to develop code in many different languages that can be integrated in the same application. Any objects developed in the .NET environment can be used together. Comparing Object-oriented programming to Procedural programming. Procedural programming is simple and straight forward. At times, it has been referred to as inline programming, it is more of a top down style of programming. Procedural programming takes on applications by solving problems from top to bottom. A program starts with a problem and then is broken down into smaller sub-procedures. These sub-procedures are continuously broken down in a process called functional decomposition until the problem is simple enough to be solved. The drawback about Procedural Programming is that if an edit is needed to the program, the developer has to edit every line of code related to the original change. It obviously becomes a very tedious task if many changes need to be made in the code. Procedural programming uses different methods all over the code than Object-oriented programming. Procedural programming uses procedures where Object-oriented programming uses methods. Procedural programming us es records where Object-oriented programming uses objects. Procedural programming uses modules where Object-oriented programming uses classes. Procedural programming uses procedure class where Object-oriented programming uses messages. The design process for each method differs in many ways. Object-oriented programming is designed to be reused and recycled throughout the program where Procedural programming is not. Also, the development process is different for both programing languages. Developing in Object-oriented programming begins with mapping and planning out the program. Classes are created and data fields are associated to help the developer in planning out the program. Functions and methods can be introduced as well in the planning process. Once the classes and objects have been planned out by the developer, the program can begin to take shape in a development environment. Planning out the program in Object-oriented programming is essential for the development process. It gives a basic blueprint of the program when building it. Developing in Procedural programming starts with the main functions or procedures, the main function is the main goal of the program. In Procedural programming the program is planned out in a storyboard pattern. The main function is decided and then broken down into individual and more manageable problems that can be solved. Procedural programming targets the main goal of a program first and then recognizes the smaller components to solve the main goal. Some of the benefits of using Object-oriented programming are its accuracy and sustainability across different platforms. A benefit of Object-oriented programming is the ease of debugging the code. Errors that could possibly exist during the development process can usually be traced to their point of origin and then edited, eliminating errors all over the program. Also, with the help of inheritance, a developer can eliminate redundant code and extend the use of available code. Data hiding is another benefit, with data hiding programs are designed not to be affected by code in other parts of the program, this provides greater system security and avoids unintended corruption. Also, multiple instances of an object can exist side-by-side without interfering with each other. Another benefit of Object-oriented programming is the ability to relate code to real world examples, this logical structure makes the process easier to code. A main benefit for developers is the ability to find errors when compiling rather than at runtime. All of these benefits help developers choose an Object-oriented programming approach over other programming styles while developing programs and software. A disadvantage of Object-oriented programming is the complexity of understanding how, objects, methods, classes, and actions correlate to each other. For developers who are used to Procedural programming this approach may be difficult to comprehend. Another disadvantage of Object-oriented programming is the necessity to have packages and libraries installed for the code to function correctly. These libraries are intended to make the coding process easier for developers but for some who are used to Procedural programming these libraries can cause confusion. Object-oriented programming is modular, this means that it provides separation of duties in object-based program development. Object-oriented programming is also extensible, objects can be extended to include new attributes and behaviors. Objects can also be reused within and across applications. Object-oriented programming provides improved software development productivity over traditional Procedural programming because of these three attributes: modularity, extensibility, and reusability. These three attributes also make software using Object-oriented programming easier to maintain. Due to the modular design, part of the system can be updated in case of issues without a need to make large changes. Reuse of code enables faster development process. Object-oriented programming comes with rich libraries of objects and code that can be reused in future projects. This reusability of software also lowers the cost of development. Faster development process, increased productivity, and low er cost of development allows the developer to spend more time and resources on the quality of the program, which results in higher quality software. Object-oriented programming works the way real world works. It is easy to map a real-world problem to a solution in Object-oriented programming. Programs can be built from the working modules which interact with one another, rather than starting the code again from scratch (Essays, UK, 2013). Its easier to break the work in parts based on objects. Code can be reused. Productivity is increased and costs are reduced, which helps in developing better quality software. All of these, are some of the benefits of Object-oriented programming over other styles of programming like Procedural. Object-oriented programming in its purest sense is implemented by sending messages to objects. Popular Object-oriented languages are used to code and develop a majority of software and applications we use in our daily life today. Languages like Java and C++, are used from instructors in classrooms to engineers and developers in the private sector and the government. To new adapters, Object-oriented progra mming may appear confusing, however, advocates of Object-oriented programming claim it actually results in simpler, cleaner, and more reliable code. References Eliason, K. (May 2016). Difference Between Object-oriented Programming and Procedural Programming Languages. Retrieved from https://neonbrand.com/website-design/procedural-programming-vs-object-oriented-programming-a-review/ Essays, UK. (November 2013). Object Oriented Programming What Is Object Information Technology Essay. Retrieved from https://www.ukessays.com/essays/information-technology/object-oriented-programming-what-is-object-information-technology-essay.php?cref=1 Jaiswal, S. (2011). Java OOPs Concepts. Retrieved from http://www.javatpoint.com/java-oops-concepts Oracle Technology Network. The History of Java Technology. Retrieved from http://www.oracle.com/technetwork/java/javase/overview/javahistory-index-198355.html The Saylor Foundation. (2013). Advantages and Disadvantages of Object-Oriented Programming (OOP). Retrieved from https://www.saylor.org/site/wp-content/uploads/2013/02/CS101-2.1.2-AdvantagesDisadvantagesOfOOP-FINAL.pdf Weisfeld, M. (March 2015). The Evolution of Object-Oriented Languages. Retrieved from http://www.developer.com/java/other/article.php/3493761/The-Evolution-of-Object-Oriented-Languages.htm

Saturday, January 18, 2020

Brutality of Slavery Essay

In history, slavery has been a large problem in The United States and has caused many issues. We know slavery as history, while people like Frederick Douglass and Harriet Jacobs knew slavery as their lives. Frederick Douglass was a man who was born and raised as a slave, he never knew his mother and watched many terrifying things as a child. Another known slave was Harriet Jacobs; she was a slave who was abused in many ways. Both of these slaves lived through hardship and turbulence growing up. Most people could not even fathom the pain and suffering these two slaves endured. They were considered to be chattel slaves. Chattel is a type of slavery. According to Dictionary. com chattel is â€Å"any article of tangible property other than land, buildings, and other things annexed to land. † Slaveholders feel as though their slaves have no rights and they are their own property. Most slaves during this time were chattel slaves and were treated very poorly by there slaveholders. In his essay on brutality toward slaves, Frederick Douglass shares some of the horrors that were his reality. As a slave himself, he understands from first-hand experience how badly slaves were treated. He mentions emotional and physical abuse he received from his slaveholder. He talked about how the slaves were not allowed to know how old they were or information that might expose them to more about their families. Douglass mentioned the fact that slaveholders would whip the slaves until bloody while making other slaves watch. Slaveholders would shoot and kill their slaves if they did not follow orders, Douglass acknowledges. Slaveholders would keep all personal information from their slaves. The fact that a slave would not have the right to know how old they are would create emotional hardship and eliminate an important sense of self. Some slaveholders would not allow the slave to know anything about his or her mother or father. They would give the slaves very little information so they could not investigate further. Douglass was one of the slaves who barely knew his own mother. The most he ever saw her was just a few times at night while he was sleeping. She would take the long trip to see him after a long day in the fields, but she would have to be back before morning came the next day. Only being able to see one’s mother three or four times in a person’s life, and not being able to know anymore information about one’s life, would be considered abuse in many ways. Whipping a slave was a very normal action in this time. Slaves, whether they ‘deserved’ it or not, could be whipped for many reasons. Douglass mentions many times when his slaveholder would whip his own aunt. Douglass said, â€Å"I have often been awakened at the dawn of day by the most heart-rending shrieks of an own aunt of mine, whom he used to tie up to a joist, and whip upon her naked back till she was literally covered with blood. † His slaveholder took great pleasure in whipping and torturing his slaves. It is heartbreaking knowing that it was considered socially and morally okay to commit such brutalities. Douglass talks about a time when a slave named Demby was shot and killed in front of an entire plantation of slaves. The slaveholder told Demby to come to him, but Demby refused, so the slaveholder took out his gun and shot him. A thrill of horror flashed through every soul upon the plantation†¦Ã¢â‚¬  said Douglass. The slaveholder said that he killed him because he was â€Å"unmanageable. † He also said that Demby was setting a bad example for the other slaves and if he did not take care of the problem, the other slaves would follow. Women played a vital role in slavery, the pain and suffering they had to endure was terrible. Women had to bear hardship in many different ways such as sexual abuse, chattel type slavery, and the relationship between the slaveholder, his wife and the slave. All of these rigorous situations are forced upon an African American woman creating emotional and physical abuse. While reading Incidences in the Life of a Slave Girl by Harriet Jacobs, one could notice a constant theme in the slaveholder’s ideology toward the slave. As brought up earlier, most slaves were chattel slaves, meaning that their slaveholders treated them as if they were property and with no respect. Jacobs says, â€Å"He told me I was his property; that I must be subject to his will in all things. † (Jacobs pg. 2). Obviously, Mr.  Flint treated Jacobs as if he had zero respect for her. Jacobs mid teen years is when her life as a slave girl escalated. Mr. Flint, her slaveholder had absolutely no respect for the fact that she was an innocent young girl. â€Å"My master began to whisper foul words in my ear. Young as I was, I could not remain ignorant of their import. † (Jacobs pg. 1). These actions were not uncommon in slaveholder/slave relationships because of the sense of ownership. The wife of the slaveholder and her relationship to the female slave, in this case being Jacobs, could be detrimental. Not only the relationship between the wife and the female slave is important in history, but it also creates a struggle between the African American female and the slaveholder. The wife could be considered psychotic because of the jealously placed in a relationship such as theirs. Jacobs mentioned thatâ€Å"†¦she spent many a sleepless night to watch over me. Sometimes I woke up, and found her bending over me. † Most people, whether in the same relationship as them or not would think that is weird and would have psychotic tendencies. Insidences in the Life of a Slave Girl and Both narratives written by Frederick Douglass and Harriet Jacobs were tools in the abolition of slavery. The narratives gave African Americans a voice. They brought international attention to the issues and brutality of slavery. This basically put pressure on the United States to address the issue. Also, the ideology of slavery is based on the belief that blacks are inferior to whites. When sociologists first began trying to explain inferiority, a big argument was that there was no African literature. These narratives really showed the eloquence of African people.

Friday, January 10, 2020

The Value and Nature of Music

In this essay I wish to portray the value of music firstly to me and then to people I have asked and also what different styles of music do for them and my self and I will also ask what is the nature of the music that they like and how it affects them on a day to day basis and the question I will ask them is what music means to them and what values does it hold. I will ask 10 people and use there answers to write this essay. I would like to start by saying that all people in this essay were asked prior to writing about them and that I am not using any of the people's real names for confidentiality. I value music very much as I have always played and listened to various styles of music. On my shelf at home I have different styles of music ranging from classical to R n B to rock. So I feel I have a wide taste in music. I have also played many different styles on my 3 main instruments as I play clarinet I have played classical and jazz on that. I also play bass guitar and I have played blues, rock n roll, heavy rock etc. on that and I am a drummer and I have played samba, rock, funk, jazz and many other styles of music. I enjoy playing all of these as I find it helps me to relax and control my emotions as I let my emotion out in the style of music I play, music is an age old way of expressing emotions through sound right back from the cave man days to the times of Jesus and the Tudors and Victorians right through to today's music. The most popular style changes from generation to generation but we would still call it â€Å"pop† music as that's what is popular at the time. Their for the nature of the music I choose to play is one of my emotions thus giving the listener (if any) the sense that I am happy or sad or excited for example, if I played some twelve bar blues on my bass it would probably remind you of sadness or the slave trade that would up set you but if I played some funk it would probably lift your emotions to make you happy like a major or minor chord has that effect different styles of music also have that effect. Other people I asked gave me different responses. One guy said that he only values his own style of music and that all other music has no value. This person is defiantly close minded about the type of music he likes and that all other music is I quote â€Å"crap† and that the nature of his music was the way of life. Looking at the way the guy was dressed I think he listened to hardcore rock music and that he was a bit gothic (I say a bit I actually mean a lot) I also got told by some people that they find the nature of some music unsuitable for children as x-rated lyrics stop younger children listening to it. I agree with this as music is for everyone not just the over 18's so music that includes x rated lyrics should not be aloud to be produced, and of the 10 people I have spoken two 8 agree with me. In the nature of music i would say that on a day to day basis I listen to approximately 4 – 5 hours of different styles of music. And with my choice of track my mood changes and so does the quality of the work I am doing at the time. For example I am currently listening to some drum and bass. So I am typing quite fast and my mood is bouncy, But if I was to listen to some more relaxing music such as some r n b or some blues music the speed I type would slow down and the mood I am in would drop from being quite happy to a bit down and lazy feeling so I would probably take a break from my work. I asked the same 10 people how they use music in the nature of their life. Below are some of the responses I received 1) I use music at work because it helps me through the day 2) I don't use music in my life (to which I replied not even in the shower when your humming or whistling a song the response I got is repeatable) 3) I study music as a degree so it is in my life â€Å"big time† 4) I listen to music in the morning in my car 5) Er,,,,,,, music you mean like heavy rock (this person was a bit dence) These responses were my favourite as it shows what different peoples views are on music. Overall I think that the value and nature of music affects everyone is completely different and the question I am asking is does different styles of music affect the way you behave in society?

Thursday, January 2, 2020

The World Of Trade And Business, The Industrial Revolution...

Name Institution Course Unit Lecturer Date Introduction In the world of trade and business, the industrial revolution is a period in which most of the modern global economic superpowers established their foundation. This was a period between the 18th and the 19th centuries in which rural, agrarian societies in America and Europe were transformed and became urban and industrial. Prior to this period that began in Britain; the manufacturing was mainly done in homes through hand tools and other basic machines that were not widely in use (MacLeod). The period of industrialization marked the beginning of a shift to power, specialized machinery, mass production and factories. Among other industries, the iron and textile industries played a major role assisted by the development of the steam engine. These developments saw the improvement of transportation, banking and communication (Hillstrom). Despite the restrictions that had been placed on the artisans and other shareholders in Britain to avoid a situation where industrial knowledge was leake d to other countries, her interests in colonies opened up avenues through information and knowledge moved to other regions such as America. Factors leading to industrialization in America The embargo of 1807 The embargo of 1807 is one of the key reasons that led to America rethinking her approach on development. During the Napoleonic wars, British navy seized an American cargo to assist in their fight. In addition, Britain opened fire onShow MoreRelatedIndustrial Revolution Essay1152 Words   |  5 PagesSlavery, new energy sources, global trade, and technology all contributed to Britain’s Industrial Revolution.  Jane Burbank and Frederick Cooper emphasize the importance of slavery for the development of the Industrial revolution and capitalism. However, as  James Carter, Richard Warren, and Robert Marks demonstrate, global trade and new technology were just as important factors as slavery  because  they increased both the efficiency of production and demand for British-made goods. Carter and WarrenRead MoreIndustrialization During The Industrial Revolution1577 Words   |  7 PagesIndustrialization – ever changing the face and heartbeat of our society and the wor ld in which we live – since the Industrial Revolution began in Britain (from 1760 until sometime between 1820 and 1840). The improvement of business acquisitions and evolution of trade were essential to the Industrial Revolution. Most of the British population lived in the countryside, in small villages, and interacted closely within their family unit and work. Industrialization, however, drastically altered theRead MoreThe Industrial Revolution : A Social Change1279 Words   |  6 Pagestechnological change brings about a social change. The Industrial revolution saw many people displaced from their land, finding work in crowded city factories. Serfdom was abolished and the population shifted from villages to the cities. Strong family ties, self-sufficiency and the right to occupy land were replaced with uncertain tenancy of land, dependency on trade and a weakening of the family unit. Economically, goods and money abounded, and trade flourished. The merchant class profited from the wealthRead MoreThe Atlantic Slave Trade1392 Words   |  6 PagesThe Atlantic Slave Trade was a system of slavery that took place between the 16th and 19th centuries. It comprised of capturing African tribesmen and women from areas of Western and Central Africa and placing them into the colonies of the New World in North, Central, and South America. Many countries like England, Portugal, Spain, Holland, and France, had participated in enslaving the African peoples. The African slaves were used to exploit an array of commodities such coffee, cotton, rum, sugarRead MoreThe American Industrial Revolution During The 19th Century1290 Words   |  6 Pages The American Industrial Revolution began in the 1700’s and ended in the 1800’s. Most people believe that the American Industrial Revolution began when Samuel Slater brought technology from Britain to America. This t echnology allowed America to use manufacturing to quicken production. Industrial items such as the sewing machine, river boats, trains, telegraph, and mills allowed for growth in the United States. Immigrants from other countries gave the industrial growth enough workers to allowRead MoreThe Shaping Of The Modern World Essay1407 Words   |  6 Pagesof the Modern World 10/31/16 ​Question #5: The Growth and dominance of Capitalism and the Industrial Revolution transformed the world. Explain the different positions and outlooks on capitalism and the Industrial Revolution taken by Adam Smith, Karl Marx, and Friedrich Engels. ​The growth, influence, and power of the world surrounds itself around capitalism and the Industrial Revolution. Capitalism is best described as the economic and political system where different countries trade. It is the economicRead MoreThe Rise Of The Industrial Revolution Essay1160 Words   |  5 PagesA revolution is a â€Å"sudden, extreme, or complete change in the way people live, work, etc.† (Meriam-Webster). The Industrial Revolution was a shift from largely rural, handcrafted and agricultural economies to an eventual urban technology-driven economies. The revolution began in Britain in the 1700s, hit the United States in the 1800s and spread to the whole world by the 1900s. Europe and the United States were components in the products of the Industrial Revolution going viral. These two countriesRead MoreCompare and Contrast the Current Era of Globalization with the First Age of Globalization (1850s-1920s). What Are the Advantages and Disadvantages of Globalization in Its Current Context?1720 Words   |  7 Pagesthere is absolutely no reason for us to believe that a brighter future for the world is an impossibility. I’m going to solve the problem which is about the difference between the first and second globalization eras. From my point of view, I should stress few key points such as the reason for the beginning and ending of the two different period globalization, the driver of the two globalization, how the first and second world war affected the first and second globalization eras and the influence of technologyRead MoreWhy The British Led The Industrial Revolution1536 Words   |  7 PagesWhy the British Led the Industrial Revolution What led Great Britain to become the first country to star in the Industrial Revolution, comes down to a complex system of factors, each aspect holds a major role in the contribution in the growth in the Industrial Revolution and of Great Britain. While much is known about the happenings of the Industrial Revolution itself, less is acknowledged about the events that were direct causes of the period. Histories and economist have pointed towards severalRead More industrial revolution Essay853 Words   |  4 Pagespart of the 18th century, a new revolution gripped the world that we were not ready for (Perry, 510). This revolution was not a political one, but it would lead to many implications later in its existence (Perry, 510). Neither was this a social or Cultural Revolution, but an economic one (Perry, 510). The Industrial revolution, as historians call it, began the modern world. It began the world we live in today and our way of life in that world. It is called a revolution becau se the changes it made were