Premium Essay

Code Reuse

In: Computers and Technology

Submitted By fire123
Words 637
Pages 3
Computer programs are a mainstay in homes and businesses around the world today. Most people nowadays are very dependent on computers to store data, perform tasks and computations and even shop for useful goods. These tasks used to be done manually, and with the invention of computers have been simplified and consolidated much of the data digitally. Programs have been created to perform all kinds of tasks and people have become highly dependent on them. Computer programmers are the people behind the scenes who make all these wonderful things happen. They have created programming languages that the computers use to complete tasks and achieve many goals. There are thousands of programming languages that are in use today but the most popular are C#, C++, Java, Visual Basic, Pascal, and COBOL. (Venit, 2011) There are two types of methods that programmers use to create these programs, procedural and object-oriented programming. Procedural programming is the older of the two methods and object-oriented is the newer and most commonly used method today. Both of these methods use programming code, data and procedures to communicate with the computer. The difference between the two is that the interaction of data, procedures and functions. Programming is a very time consuming process and takes a lot of trial and error to create a good product. Programmers have found a way to shorten some of that time by using code reusability.
Programmers are now fonder of object-oriented programming because of code reusability. In procedural programming, it is a step by step process that is very detailed and intricate which keeps data and the procedures separate with data passed from one procedure to another. (Gaddis, 2010) When a program is larger and more complex, this separation of data and procedures makes it more difficult for a programmer and could require many modifications to

Similar Documents

Free Essay

Unit 1 Review Question

...UNIT 1 REVIEW QUESTIONS Richard H. Hendrix Jr. Post University Author Note Programming Fundamentals CIS 200 taught by Mohamed Ben Haj Frej Chapter 1 Review Questions 3. Describe the role of each of the five main areas of the Alice interface: the World window, the Object tree, the Details area, the Editor area, and the Events area.  The World Window – Contains a view of the virtual Alice world. The set of blue arrows below the window controls the Alice camera, which provides you with the view in the window.  The Object Tree – The object tree appears to the left of the World window. It shows the objects in the current Alice world organized as a tree of tiles, with a tile for each object. The plus sign next to an object shows that it has sub parts, which may be seen by clicking the plus sign.  The Details Area – The Details area of the Alice interface is located below the Object tree. It has tabs to show properties, methods, and functions for the currently selected Alice object. Properties contain information about an object, such as its color and position in the world. Methods are programs that manipulate an object. A function is a method that returns a value, such as the distance between two objects.  The Editor Area – The largest area of the Alice interface is the Editor area, which appears to the right of the Details area. Here, you assemble and edit methods by clicking and dragging tiles from other parts of the interface. The bottom of the Editor area has a row...

Words: 641 - Pages: 3

Free Essay

Reusability of Code

...Reusability of Code One of the key factors for large software development projects is the ability to reuse code amongst team members. This allows for efficiency and reduces the time to get a software product delivered to a customer (or brought to market). This paper is intended to focus on the different areas that would benefit a software development team (or company) by having a structured and reusable code library in place. I have experience in supporting large ECM (Electronic Content Management) systems and I will refer to these re-world scenarios throughout this document. Reusability refers to the ability for a single developer that specializes in one area (or is assigned the task of developing) to develop a class or specific code that can then be used by other developers. As an example, a senior developer defines a class that serves as a blueprint for developing various objects that would input data into a Filenet ECM system. Once this class has been defined and created, other developers can reuse this class to develop objects that allow for public input and that will eventually store data in the ECM database. This stored data that is specifically formatted to be read by the Filenet application, allows end users to run reports that have a specific output that the want to view. In essence, the reusability of code is akin to manufacturing one part of a car that can then be used for many cars (such as a single frame that can hold various models of cars). The developer...

Words: 317 - Pages: 2

Premium Essay

Topic One: Hardware; Learning Level Two: Application/Analysis

...Level Two: Application/Analysis Memory management is dived into three areas and is mostly concerned with application memory management. Hardware: At this level is concerned with electronic devices that store data which includes the RAM and memory cache. Application: This involves supplying memory needed for data structures and program objects from limited resources thus allowing for recycling of the memory to be reused when no longer required. Application programs cannot predict in advance how much memory it will require so additional code is needed to handle the memory chances. Two tasks done by application * Recycling: Memory blocks have been allocated, the data contained is no longer required by a program, the blocks are recycled for reuse. Memory can be recycled when the programmer decides what memory need reuse known as manual or the memory manger decides known as automatic. * Allocation: When a program requests a block of memory, that block of memory is allocated out of lager blocks received from the operating system. This is all done by the allocator. Constraints done by application * Interactive pause time: The delay and interactive user observes. * CPU overhead: Time taken while a program is running. * Memory overhead: Wasted space by poor layout or known as external fragmentation, administration or rounding or known as internal fragmentation. Operating System: Memory is allocated to user programs and reused...

Words: 257 - Pages: 2

Premium Essay

Dual Code Structure

...Individual Paper Week Three Deana Webster University of Phoenix Individual Paper Week Three Originally, I started off by selecting Dual-Code Structure. It appeared that I would not be able to complete my programming with Single-Code Structure and yet I did. I believed that Dual-Code would start out by sending in one response if the patient was a Diabetic when the answer was yes the system would prompt it to a cascading set of questions. The group of questions which would be answered and the end of assessment message opens. “Thank You For Taking your Diabetic Assessment.” Sending the patient straight to the “Thank you,” message should they would answered “no” to the Diabetic question. After review I have used the Single-Code Structure (this structure being the basic structure that it is) actually exemplified my process much simpler and smoother. I feel that I achieved encapsulation process. It will not affect the collected data from one version to another if it were reused, so I think it would be perfect for this type of programming because it obtaining proprietary information. Therefore, there is some security with the data as it is being hidden. The Code starts off with: IF condition (diabetes) is true THEN statement(s) in true case ELSE statement(s) in false case ENDIF . The “:Then statement,” would lead you to answer the following cascading questions and that's the...

Words: 403 - Pages: 2

Premium Essay

Computer Disposal.

... On April 15th 2011 Instructor Eileen Broadhurst There are many parts of the computer that can be hazardous to the environment in addition to simply taking up space in landfills.  According to the Mississippi Department of Environmental Quality, recycling and reusing electronic equipment reduces the amount of hazardous materials that may enter the environment. Recycling and reuse programs also reduce the quantities of electronic scrap being land filled in the state. (Mississippi Department of Environmental Quality, 2007). In this paper I will be talking about the proper ways of disposing computer. Since I was appointed by my boss, I will put together a team to work through the project. First we will determine which computers can be reused. My plans will be Computers that are less than five years old can be donated and reused to save some money on this project. Also at the end of the year the company worker can make some bonus. I will assign one of the team member to go from office to office and tagged all the older systems for recycling so that we can know what systems are going to be reuse or donated.  Older computers are often too obsolete to be used in many capacities.  Computers that are not internet capable can rarely be reused.  Computers that cannot be reused will be sent to a recycling center to be broken down into their component parts and recycled.  A computer that is not fully functional can sometimes be donated for educational purposes.  I plan will be go...

Words: 884 - Pages: 4

Premium Essay

Computer Disposal

...Ogiemudia On April 15th 2011 Instructor Eileen Broadhurst There are many parts of the computer that can be hazardous to the environment in addition to simply taking up space in landfills.  According to the Mississippi Department of Environmental Quality, recycling and reusing electronic equipment reduces the amount of hazardous materials that may enter the environment. Recycling and reuse programs also reduce the quantities of electronic scrap being land filled in the state. (Mississippi Department of Environmental Quality, 2007). In this paper I will be talking about the proper ways of disposing computer. Since I was appointed by my boss, I will put together a team to work through the project. First we will determine which computers can be reused. My plans will be Computers that are less than five years old can be donated and reused to save some money on this project. Also at the end of the year the company worker can make some bonus. I will assign one of the team member to go from office to office and tagged all the older systems for recycling so that we can know what systems are going to be reuse or donated.  Older computers are often too obsolete to be used in many capacities.  Computers that are not internet capable can rarely be reused.  Computers that cannot be reused will be sent to a recycling center to be broken down into their component parts and recycled.  A computer that is not fully functional can sometimes be donated for educational purposes.  I plan will be go...

Words: 888 - Pages: 4

Premium Essay

Recycling

...The Facilities Planning and Management Service Center has plans to make couple changes at California State University, Fullerton. These has been talk of a budget coming in and with this budget they are aiming to add things that can provide a more environmental friendly environment in the campus. More and more schools have promoted recycling and composting program in order to achieve a goal of zero waste. In order to create Steven G. Mihaylo Hall into the most recyclable building on campus, we start with creating signature (posters, signs, flyers). Since the materials used to create signature can be easily found in the Facilities Planning and Management Service Center, we do not need to purchase any materials or resources. As a result, no budget is needed in this part. Second, recycling station will be set up by the beginning of Fall Semester 2015. From Recycle Away, LLC website, the recycle station costs $379.99 plus tax. As we mentioned before, three bins will be set up on the first and second floor of Steven G. Mihaylo Hall. As a result, total budget $1,139.97 plus tax is used in the recycle station. After raising student’s awareness about recycling by setting up the three main recycle station, we continue to put more resources in the Steven G. Mihaylo Hall in order to make it be the most recyclable building on campus. During Fall semester 2016, all classrooms will be have recycling containers for recycling cans and plastic bottles. For the recycling container, we choose large...

Words: 527 - Pages: 3

Premium Essay

Lasa 2: Analysis of a Personality

...Recycling, Reducing, and Reusing Dasheen M. Jennings Ecology and Environmental Sustainability | SCI201 A05 Instructor: Jennifer Parker-wright July 31, 2013 Recycling, Reducing, and Reusing 1 “Richmond, VA (WTVR) – More people are living in Virginia. According to a new study, Virginia’s population is outpacing the rest of the nation. Virginia’s population grew by 2.3% between 2010 and July of 2012. At the same time, the United States’ population grew by 1.7%.More than half of the State’s growth occurred in Northern Virginia, Virginia Beach, and Richmond. The study, done by demographers at the University of Virginia, also puts the states current population at 8.2 million.” (http://wtvr.com) when I read these amazing facts, I was blown away I didn’t know that Virginia has grown and still is growing. I remember when I first moved to Virginia, at the teenager age, I couldn’t believe that this state was so big and the scenery was beautiful. In the Richmond, we have a recycling bin that collects metal, plastics, and paper. This company has a website I would like to put some information: “Since 1985, Richmond Recycling has been one of the Mid-Atlantic’s premier recycling centers. One of the reasons...

Words: 663 - Pages: 3

Premium Essay

Sewer Line Replacement Research Paper

...Have you recently been told by your plumber that your sewer line is damaged and needs to be replaced? Are you dreading the trouble and expense of having your yard dug up in order to replace your aging sewer line? Fortunately, you do have another option. A trenchless sewer repair may be the solution that you've been wanting. Here are some reasons why this method may be right for you: Your landscaping is preserved: With a traditional sewer line replacement, the entire length of the pipe must be dug up and the pipe removed. This process could involve partially uprooting trees and damaging your prized flower beds. With a trenchless sewer repair, only two holes are dug in your yard. One of these is just outside your home and the other is at your sewer line hookup. A tough and durable pipe liner is threaded through your existing pipe, allowing your plumber to skip the necessity of digging a whole new trench. Can cost significantly less: When looking at the costs of a new sewer pipe, there are many things you should take into account. With a traditional sewer line replacement, the labor time that is needed for the digging of the trench can add a significant amount to your final bill. You'll also have to consider the costs of replacing sod and dirt that is disturbed in the repair process. With a trenchless sewer repair, because only two holes need to be dug, the labor costs are going to be much lower than with a traditional replacement. Because your landscaping is preserved, you won't...

Words: 460 - Pages: 2

Free Essay

Recycling

...RECYCLING....A NEVER ENDING CYCLE Just about everything these days can be recycled. For example, more and more vehicle manufacturers are designing more fuel efficient vehicles that are able to operate using only recyclable elements. This is just one way that an individual can save money. It is so very important to do everything that you can do to to save our Earth and it all starts in the beginning of the cycle, which starts the recycling process. Everyone should be more aware about all the products that can be recycled because it's only helping our world. In this world we are a team. They help & encourage others to rise all together. So why not encourage people to help the world out more? Recycling is a giant part of keeping our world clean. It is taking a greater importance as they seek a way to build a more healthy future. One of my friends has a sister who is dental assistant and when I brought up the topic of recycling she told me that they do not recycle very much. She also explained to me that a dental office can be very wasteful. Dental offices don't recycle much. And when they do it's mostly aluminum cans, paper, and amalgam scraps that are left over from patient office procedures. I asked her if she recycled at home, and she said that she did sometimes, but most of the items that got recycled were aluminum cans. She thanked me for bringing up the awareness of recycling and how important it is. Just talking about recycling to others is influencing. In...

Words: 384 - Pages: 2

Premium Essay

Reverse Logistics

...REVERSE LOGISTICS Hiral Bhuva 13009 Pooja Gadhavi 13019 Ranjitraj Kathiya 13030 Hitesh Makwana 13035 Puran Meena 13040 REVERSE LOGISTICS What is reverse logistics? Reverse logistics means reuse of the product, material, repairs, maintains, recycling, product return. The process of reverse logistics is part of the supply chain process that plans, implements, and controls the efficient, effective flow raw material to finished goods. Logistics is the process to full fill customer needs and wants and bring product towards customer. Reverse logistics is one step back in supply chain. If customer received defective product so the customer will return that product and that product will travel in reverse through supply chain network in order to retain any use of that product. Why revers logistics is important for the company: Now day’s revers logistics is very important because with help of reverse logistics company able to reuse of their product and their raw material and the able reduce cost. The reverse logistics is also useful to improve in customer satisfaction because revers logistics can include feedback from through customer buy this away company able to make changes in their service. The company reusing their product and reusable packing by this way they are saving environment. Reverse logistics is also valuable in increasing product lifecycles, supply chain complexity...

Words: 599 - Pages: 3

Free Essay

Chick Fil a Sustainability

...Over the past couple of years Chick-fil-A has implemented a company wide environmental stewardship initiative, which is aimed at reducing its waste and energy/water consumption. All of Chick-fil-A’s newly designed restaurants include many innovative features that cut down on the annual amount of water and energy used. These new restaurants include low-flow water fixtures in the restroom and kitchen as well as an underground cistern that collects water and reuses it for landscape irrigation. As a result, these newly designed Chick-fil-A restaurants will use 40 percent less water than a typical restaurant. Not only do these new eco-friendly restaurants conserve water but they are also energy efficient. They now feature skylights in the dining area and windows in the kitchen as well as energy efficient appliances. These new changes have reduced energy usage by 14 percent per restaurant. Chick-fil-A has also decided to construct new restaurants with materials that do not emit harmful gasses. This means that new restaurants contain 30 percent more fresh air than a typical building. On the other hand, Taco Bell’s restaurants do not contain many water and energy conserving features. Although their restaurants are not very eco-friendly, the company has taken some steps to reduce their restaurant’s energy and water usage. Over 5,600 Taco Bell restaurants nationwide have implemented the grill to order process, which has saved $5,900 a year in electricity per store. Taco Bell has also...

Words: 424 - Pages: 2

Premium Essay

Importance Of Recycling Cardboard

...If your business is not currently sorting and recycling cardboard, you need add cardboard recycling bins as soon as possible to your workplace. Cardboard is easy to recycle, and recycling cardboard has numerous benefits. It Is Easy To Set Up Cardboard Recycling The first reason your company should start recycling cardboard is because it is really easy to recycle. The vast majority of people can identify if an item is made from cardboard just by looking at; thus, you will not have to do a massive educational campaign about what is and isn’t made out of cardboard to start recycling cardboard at your business. All you need to do is set up additional bins next to your current recycling bins specifically for cardboard. You may even be able to get these bins for from your local sanitation company. Cardboard Is Everywhere Almost every business interacts with cardboard on a daily basis. According to the New York State Department of Environmental Conservation’s website, over 90% of products shipped in the United States are shipped in corrugated cardboard boxes. That means if your business packages on a regular basis, your business deals with cardboard. The prolific nature of cardboard is another reason why your business should recycle it. The chances are high that your business deals with cardboard on a daily basis and it doesn’t take much effort to recycle it. Recycling Cardboard Saves Virgin Materials Cardboard is extremely easy to recycle. Many cardboard items are made out...

Words: 446 - Pages: 2

Premium Essay

Research Plan

...Research Plan As part of your research plan, you must first draft a research question for your research paper that will guide the rest of your writing. A research question, which is more specific and focused than a general topic, is the question that your research paper will be answering. For example, if your general area of interest is social security, a possible research question might ask “How can low-income families save more money if the United States had a reformed social security plan that includes personal retirement accounts?” As you develop a research question, keep in mind that you will need to research sources to support your topic. Do not pick a one-sided question that will limit your research. Instead, develop a research question that lends itself to further exploration and debate—a question for which you genuinely want to know the answer. Try to pick a research question that is neither too broad, which covers too much, or too narrow, which covers too little. It should be broad enough to be discussed in a short research paper. What is your general topic or area of interest? My general topic is “Recycling”, which is one topic from the list provided in the syllabus. Recycling is an important part of my life, because I care deeply about our environment. I was taught to recycle at a young age, and was somewhat shocked to see how careless consumers are here in the United States, and the “throw-away” mentality most consumers have. What is it about your general...

Words: 693 - Pages: 3

Free Essay

Feasibility Study on Recycling

...|Aug 25 2013 | |Going Green | |Victoria Allen | [pic] [pic] Date: August 25, 2013 To: Alicia Pena, CFO From: Victoria Allen, Recycling Committee secretary Subject: Greenings Corporation going Green—Implementing our recycling program [pic] Introductory Summary [pic] The following report is the findings of the recycling committee. In efforts to jump-start the program, we consulted with coworkers to gain insight about recycling. Yorel Demouchet, an IT tech, implemented a program and she shared how she did it. We also interviewed Freddie Lyons, a former Waste Management Recycling Specialist. Basically, both of them said the same thing with the exception that Mr. Lyons gave more in-depth details about recycling as oppose to Yorel’s hands on experience. The planning stage is fundamental they both said. The planning and motivating stages enhances succeed. With their advice and research, we decided that paper, computer/computer parts, and ink/toner cartridge are the items we will start collecting. Mr. John James, our new CEO, wants to quickly implement a recycling program to show corporate responsibility like other corporations. After...

Words: 880 - Pages: 4