Free Essay

Prg 211 Week Two

In:

Submitted By japruck81
Words 582
Pages 3
The Effectiveness of Code Reuse

Aaron Gutterman

PGR/211

10/25/2013
Ed Torres

The Effectiveness of Code Reuse

Code reuse in the real world is difficult because it is rare to find code that really is suitable to reuse. Code usually falls just short of doing what you need it to do, and (if it is coming from some external source) it usually comes with licensing tangles that prevent you from just fixing what you need to. Not to mention the business model that is based around providing a product that does the same thing as a competitor's product, but does it a little better.
Security of Code Security is a very large concern for anyone who is writing code for a program. When a programmer writes a code for any program they must insure that the program is resistant to attack by malicious or destructive intruders . Secure coding helps protect a user’s data from theft or corruption. If a program is not properly secured it can provide access for an attacker to take control of a server or a user’s computer, resulting in anything from complete program failure to gaining personal information of anyone on a server or connected to the program . Every program is at risk, everyday programs are hacked into and exploited because of the error in the programs coding. On the other hand the level of security and user awareness has also gone up. One system that has seem impenetrable to any attacks is OSX. The reason that Apple has had so much success with the security of their software is due to the use of an open sourced software. Also apple's OSX does not allow outside email or internet clients to access the operating system .

Code reuse in different programs
The definition of code reuse is pretty simple, it is taking a code already written to complete another task to save computer programers time and hard drive space. Though the definition is simple actually being able to take any code or lines of codes and reuse them in different programs is not so easy. Every line of code is written to complete one task and then written line after line to complete a bigger task. One way code reusal could be very useful is if a company wants to take a program that’s already in place and improve it or make it more efficient. The programmers could simply go through and change certain parts of the code to update or make the programs more secure and efficient. When it comes to code reuse in different programs there are so many pro's and con's it makes it hard to decided if it is worth reusing a previous code.

Conclusion Code reuse is a very effective tool for any company looking to save time and money when it comes to completing multiple projects. On the other hand using code in multiple programs without having to rewrite almost seems impossible . I know there are many companies that reuse code today, but it would seem more like a starting point for the programmers which in term will still have to go back and make sure there are no errors in the code. The way computer programming is done now compared to 20 years ago is quite similar, but the complexity of the how programming is done has changed quite a bit.

References

Hidden Cost of Code Reuse. (1998, November). Information Week, (), . Retrieved from http://www.informationweek.com/708/08iuhid.htm

Similar Documents

Free Essay

Prg Week 3 Dq2

...WEEK 3 DQ 2 PRG 211 * What are the similarities and differences between single alternative structures, dual alternative structures, and case structures? Provide an example of one of the three control structures using pseudocode. Try to provide an example that has not already been posted. Selection structures ask a question and, depending on the answer, take one of two courses of action. Then, no matter which path is followed, they continue on the next task. Structured programming is a programming paradigm aimed on improving the clarity, quality, and development time of a computer program by making extensive use of subroutines, block structures and for and while loops. A single-alternative structure is a single block of statements to be executed or skipped. When a single alternative selection structure returns the value of true, the actions on the true branch of the structure are executed. If the expression returns false, no actions are executed and the program control continues to the next executable statement structure in the program. Dual-alternative structures contain two blocks of statements, one of which is to be executed, while the other one is skipped. A case structure executes one sub diagram depending on the input value passed to the structure. Only one sub diagram is visible at a time, and the structure executes only one case at a time. Case structures easily support multiple simple conditions that have similar actions compared to if/else statements. Single-alternative...

Words: 557 - Pages: 3

Premium Essay

Prg 211 Week 4

...Personal Learning Management Part Three University of Phoenix PRG 211 09-23-2013 Contents Introduction 3 Problem Statement and Solution 4 Conclusion 6 Introduction Parallel array structures can be used for many instances where an individual wants to input information that is unique to them, such as keeping track of their value items of learning. The entire process of putting pen to paper and creating a program is methodical in nature. The code does not have to be complicated and can be written in plain spoken English. Testing a program to see if it works is a simple task. All the programmer has to do is to input the data into the program and if it is functioning properly, a result based on the input and output will appear of the screen. The results come from a calculated list of items that have a represented value declared by the programmer. For instance, if a programmer wanted to design a program to calculate an entire course’s worth of an item with high value, then they would most likely declare the item of high value as the starting declaration and then say how many of that item are in an entire course. Problem Statement and Solution Arrays have been used in a whole host of problems to arrive at solutions for daily routines and tasks that people are involved in. Parallel arrays operate on a “grab that” basis where the values within the strings grab data from each other and produce information...

Words: 772 - Pages: 4

Free Essay

Algorithms and Logic for Computer Programming

...Algorithms and Logic for Computer Programming (PRG 211) November 14, 2011 Professor Sprouse Array Structure Proposal In my proposal from week two I would want to find the total number of units per patient for each procedure code billed by the doctor. A parallel array consisting of a one-dimensional and a two-dimensional array in this case would be a good way to solve this problem in a simplified code format. An array would also allow all the data the user wants to input to be stored in the program for multiple queries to be run without having to re-input the data. So this module of the program will allow the user to input all the different procedure codes billed the provider and return a units-per-patient statistic for the searched procedure code. Assuming the data that the user will input is all for the same provider, the following variables will need to be declared: the procedure code, the number of patients, and the number of units billed. Two arrays will be declared as well, one for the procedure code and one for the number of patients and units. The procedure code variable and array must be setup with a string data type since there are some procedure codes that have alpha characters. The number of patients and the number of units variables, as well as their corresponding array will be setup as integer data types. Since both of those variables are of the same data type they can be combined into one two dimensional array. These two arrays will be parallel because they...

Words: 728 - Pages: 3

Free Essay

Calorie Management Program

...PRG/211 – Week 5 Team B – Algorithm Planning Visual Logic CALORIE MANAGEMENT PROGRAM Week 2 Algorithm Planning Week 3 Program Variables for Calorie Management Week 4 Verification & workaround for Calorie Management Week 5 Learning Team Assignment ****************************************************** About the Assignment Imagine that your team of software developers won a contract to develop a program that will identify whether a person is balancing calories consumed with those being expended or burned by taking the following into account:   The balance of calories is calculated daily. Calories are consumed in both food and beverages. Calories can be identified from both product labeling and calorie counters located on the Internet. Calories are burned daily in both daily living and exercise. Calories expended or burned can be calculated using calorie calculators located on the Internet. The balance of calories may be displayed in either calories or pounds and ounces. The following are examples of the information that might be provided: Calories are in balance. _ _ _ more calories are consumed than expended. _ _ _ more calories are expended than consumed. No pounds/ounces were gained or lost. _ pounds _ _ ounces may have been gained. _ pounds _ _ ounces may have been lost. Use the following computation: One pound equals 3500 calories. THE PLAN Identify the criteria TEAM B will need to develop the required software. To do this, Team B must...

Words: 1400 - Pages: 6

Free Essay

A Paper

... | | |Information Systems & Technology | | |PRG/211 Version 4 | | |Algorithms and Logic for Computer Programming | Copyright © 2012, 2011, 2010 by University of Phoenix. All rights reserved. Course Description This course provides students with a basic understanding of programming development practices. Concepts covered include the application of algorithms and logic to the design and development of procedural and object oriented computer programs to address the problem solving requirements associated with business information systems. This course will cover procedural programming concepts including data types, controls structures, functional decomposition, arrays, and files, classes and objects. Policies Faculty and students/learners will be held responsible for understanding and adhering to all policies contained within the following two documents: • University policies: You must be logged into the student website to view this document. • Instructor policies: This document is posted in the Course Materials forum. University policies are subject to change. Be sure to read the...

Words: 1735 - Pages: 7

Premium Essay

Calorie Management

...Calorie Management by Team A PRG/211 - Algorithms and Logic for Computer Programming June 29, 2015 Calorie Management With rising obesity rates all across the United States of America, the team felt that it was necessary to build a program that could help citizens make healthier decisions and track those decisions on a day-to-day basis. The team set out to create a program that could manage and track a person’s daily calorie expended as it compares to their calorie intake. This program allows the consumers of the application be more conscientious of the choices they make as to how often they workout and what they choose to eat. To better help you as investors understand the proprietary nature of our application along with the ease of use for the end consumer, we will discuss each of these details along with future updates for this application. Not only will this application continue to improve the lives of those who use it, but it will become a social and cultural phenomenon that will contribute to bettering the lives of all those who need it. The mass appeal of this application is that it is not only a weight loss application, but also one for those who are already healthy. It will help to provide a way for the user to maintain his or her already good habits they have learned on their own or through use of the application The Program The program will ask for specific information about the user’s calories consumed, and calories expended. The calories consumed...

Words: 2262 - Pages: 10

Premium Essay

Get Online Help with Ur Assignment Ashford a+Material

...http://homeworktimes.com/downloads/acc-202-complete-course-acc-202-entire-course/ http://homeworktimes.com/downloads/acc-206-entire-course-new/ http://homeworktimes.com/downloads/acc-206-new-week-1-assignment-chapter-one-problems/ http://homeworktimes.com/downloads/acc-206-new-week-2-assignment-chapter-two-three-problems/ http://homeworktimes.com/downloads/acc-206-new-week-2-journal-institute-management-accounting/ http://homeworktimes.com/downloads/acc-206-new-week-3-assignment-chapter-four-five-problems/ http://homeworktimes.com/downloads/acc-206-new-week-3-journal-hershey-company/ http://homeworktimes.com/downloads/acc-206-new-week-4-assignment-chapter-six-seven-problems/ http://homeworktimes.com/downloads/acc-206-new-week-5-assignment-chapter-eight-problems/ http://homeworktimes.com/downloads/acc-206-new-week-5-assignment-final-paper/ http://homeworktimes.com/downloads/acc-212-financial-accounting/ http://homeworktimes.com/downloads/acc-250-complete-course-acc-205-entire-course/ http://homeworktimes.com/downloads/acc-290-complete-course-acc-290-entire-course/ http://homeworktimes.com/downloads/acc-291-complete-course-acc-290-entire-course/ http://homeworktimes.com/downloads/acc-340-entire-course-acc-340-complete-course/ http://homeworktimes.com/downloads/acc-400-complete-course-acc-400-entire-course/ http://homeworktimes.com/downloads/acc-407-entire-course/ http://homeworktimes.com/downloads/acc-455-complete-course/ http://homeworktimes.com/downl...

Words: 3197 - Pages: 13

Premium Essay

Factors Influencing Healthcare Service Quality

...http://ijhpm.com Int J Health Policy Manag 2014, 3(2), 77–89 doi 10.15171/ijhpm.2014.65 Original Article Factors influencing healthcare service quality Ali Mohammad Mosadeghrad* Abstract Background: The main purpose of this study was to identify factors that influence healthcare quality in the Iranian context. Methods: Exploratory in-depth individual and focus group interviews were conducted with 222 healthcare stakeholders including healthcare providers, managers, policy-makers, and payers to identify factors affecting the quality of healthcare services provided in Iranian healthcare organisations. Results: Quality in healthcare is a production of cooperation between the patient and the healthcare provider in a supportive environment. Personal factors of the provider and the patient, and factors pertaining to the healthcare organisation, healthcare system, and the broader environment affect healthcare service quality. Healthcare quality can be improved by supportive visionary leadership, proper planning, education and training, availability of resources, effective management of resources, employees and processes, and collaboration and cooperation among providers. Conclusion: This article contributes to healthcare theory and practice by developing a conceptual framework that provides policy-makers and managers a practical understanding of factors that affect healthcare service quality. Keywords: Healthcare Organisations, Quality, Pluralistic Evaluation...

Words: 12271 - Pages: 50

Free Essay

Procrastination

...Psychological Bulletin 2007, Vol. 133, No. 1, 65–94 Copyright 2007 by the American Psychological Association 0033-2909/07/$12.00 DOI: 10.1037/0033-2909.133.1.65 The Nature of Procrastination: A Meta-Analytic and Theoretical Review of Quintessential Self-Regulatory Failure Piers Steel University of Calgary Procrastination is a prevalent and pernicious form of self-regulatory failure that is not entirely understood. Hence, the relevant conceptual, theoretical, and empirical work is reviewed, drawing upon correlational, experimental, and qualitative findings. A meta-analysis of procrastination’s possible causes and effects, based on 691 correlations, reveals that neuroticism, rebelliousness, and sensation seeking show only a weak connection. Strong and consistent predictors of procrastination were task aversiveness, task delay, selfefficacy, and impulsiveness, as well as conscientiousness and its facets of self-control, distractibility, organization, and achievement motivation. These effects prove consistent with temporal motivation theory, an integrative hybrid of expectancy theory and hyperbolic discounting. Continued research into procrastination should not be delayed, especially because its prevalence appears to be growing. Keywords: procrastination, irrational delay, pathological decision making, meta-analysis Procrastination is extremely prevalent. Although virtually all of us have at least dallied with dallying, some have made it a way of life. Estimates indicate...

Words: 28985 - Pages: 116

Free Essay

Social Strigication

...A STUDY ON DRUG ABUSE AMONG YOUTHS AND FAMILY RELATIONSHIP <<青年濫藥與家庭關係的研究 青年濫藥與家庭關係的研究>> 青年濫藥與家庭關係的研究 THE FINAL REPORT (FINAL version) February 2011 1 PREFACE The project on the study on “DRUG ABUSE AMONG YOUTHS AND FAMILY RELATIONSHIP” (“the Study”) is being undertaken by the Centre for Suicide Research and Prevention and the Department of Social Work and Social Administration at the University of Hong Kong (“the Consultant”). The research team comprises the principal investigator (PI), Professor Paul YIP, Director of the Centre for Suicide Research and Prevention and Professor of the Department of Social Work and Social Administration at the University of Hong Kong, and eight co-investigators (Co-Is), Dr. CHEUNG Siu Lan Karen (Demographer), Dr. Sandra Tsang (Social and Family Worker), Dr. Samson Tse (Focus group expert on mental health and drug abuse), Dr. Wong Oi Ling (Family therapist, Family Institute), Prof. Karen Laidler (Sociologist, expertise on assessing drug abuse problem), Dr. Paul Wong (Clinical psychologist), Ms. Frances Law (Social Worker), and Dr. Lilian Wong (Associate Consultant, Department of Pediatrics and Adolescent Medicine, Tseung Kwan O Hospital, Hospital Authority). We would like to thank Mr. Gary Ip, the research assistant of the Department of Social Work and Social Administration, Ms. Garlum Lau, the senior research officer 2 of the Department of Sociology, the participants and NGOs for focus groups and case studies for their kind and valuable...

Words: 80145 - Pages: 321

Premium Essay

British Airway

...CONTENTS Section 1 - Industry Profile Overview Future Outlook European Industry Overview North America Overview Asia & Pacific Industry Overview India & Middle East Industry Overview Development of World Scheduled Air Traffic World Economic Growth and Airline Profits Rankings - Passenger services Rankings – Freight services Section 2 - British Airways Profile Overview Alliances LHR Air Transport Movements LGW Air Transport Movements Awards History Key Events (1987-2005) Board Members Leadership Team British Airways Management Team Employees Brands Departmental Analysis Section 3 - British Airways Fleet Aircraft Fleet Aircraft Delivery Schedule Mainline Fleet Profiles Regional Aircraft Fleet Maintenance Section 4 - British Airways Performance Summary Strategy Social and Environmental Performance Incentive Plans Summary Financial / Operating Statistics Principal Investments Shareholder Information Share Price History Section 5 - Global Partners Overview BA Connect Franchisees oneworld Aer Lingus American Airlines Cathay Pacific Finnair Iberia LanChile Qantas oneworld At A Glance Section 6 - Route Network British Airways Franchisees Section 7 - General Information Airport Three Letter Decodes Outside Advisors Abbreviations & Specialist Terms How To Contact Us 2 3 3 4 4 5 6 6 7 8 89 91 92 93 97 98 99 100 101 102 103 104 9 9 10 10 11 12 13 38 39 40 41 44 47 105 109 110 115 116 118 56 56 57 69 72 73 74 75 75 77 86 87 88 This document has been prepared solely...

Words: 59045 - Pages: 237

Premium Essay

Is Compare Japan-Korea Cosmetic

...AY 2011 COMPARISON OF MARKETING STRATEGIES BETWEEN JAPANESE AND KOREAN COSMETICS COMPANIES IN THAILAND’S MARKET MATHAVEE REUNGSINPINYA Major in Business Administration GRADUATE SCHOOL OF COMMERCE WASEDA UNIVERSITY 35092351-8 C.E. PROF. GROSSBERG PROF. SUGIURA D.E. PROF. FUJITA Table of Contents CHAPTER 1. SECTION 1. SECTION 2. SECTION 3. SECTION 4. CHAPTER 2. SECTION 1. SECTION 2. SECTION 3. INTRODUCTION ................................................................................... 1 INTRODUCTION ............................................................................................ 1 OBJECTIVE OF THE STUDY........................................................................... 3 RESEARCH METHODOLOGY ......................................................................... 3 STRUCTURE OF PAPER ................................................................................. 4 INDUSTRY ANALYSIS .......................................................................... 5 THAILAND’S COSMETIC MARKET ................................................................. 5 JAPANESE COSMETICS IN THAILAND ........................................................... 8 KOREAN COSMETICS IN THAILAND ........................................................... 10 CHAPTER 3. MARKETING STRATEGIES OF MAJOR JAPANESE AND KOREAN COSMETIC COMPANIES ..............................................................................................14 SECTION 1. JAPANESE...

Words: 24685 - Pages: 99

Free Essay

Avon in Global Market in 2009, Managing and Developing a Global Workforce

...The London School of Economics and Political Science THE ROLE OF CIVIL SOCIETY IN THE DEMOCRATISATION OF GLOBAL GOVERNANCE INSTITUTIONS: From ‘Soft Power’ to Collective Decision-Making? Saif Al-Islam Alqadhafi A thesis submitted to the Department of Philosophy of the London School of Economics for the degree of Doctor of Philosophy, London, September 2007 Declaration I certify that the thesis I have presented for examination for the MPhil/PhD degree of the London School of Economics and Political Science is solely my own work other than where I have clearly indicated that it is the work of others (in which case the extent of any work carried out jointly by me and any other person is clearly identified in it). The copyright of this thesis rests with the author. Quotation from it is permitted, provided that full acknowledgement is made. This thesis may not be reproduced without the prior written consent of the author. I warrant that this authorisation does not, to the best of my belief, infringe the rights of any third party. 2 Abstract This dissertation analyses the problem of how to create more just and democratic global governing institutions, exploring the approach of a more formal system of collective decision-making by the three main actors in global society: governments, civil society and the business sector. The thesis seeks to make a contribution by presenting for discussion an addition to the system of international governance that is morally...

Words: 127847 - Pages: 512

Premium Essay

Textbook

...This page intentionally left blank Introductory Econometrics for Finance SECOND EDITION This best-selling textbook addresses the need for an introduction to econometrics specifically written for finance students. It includes examples and case studies which finance students will recognise and relate to. This new edition builds on the successful data- and problem-driven approach of the first edition, giving students the skills to estimate and interpret models while developing an intuitive grasp of underlying theoretical concepts. Key features: ● Thoroughly revised and updated, including two new chapters on ● ● ● ● ● ● panel data and limited dependent variable models Problem-solving approach assumes no prior knowledge of econometrics emphasising intuition rather than formulae, giving students the skills and confidence to estimate and interpret models Detailed examples and case studies from finance show students how techniques are applied in real research Sample instructions and output from the popular computer package EViews enable students to implement models themselves and understand how to interpret results Gives advice on planning and executing a project in empirical finance, preparing students for using econometrics in practice Covers important modern topics such as time-series forecasting, volatility modelling, switching models and simulation methods Thoroughly class-tested in leading finance schools Chris Brooks is Professor of Finance at the ICMA Centre, University...

Words: 195008 - Pages: 781

Premium Essay

Database Management System

...DATABASE S YSTEMS DESIGN, IMPLEMENTATION, AND MANAGEMENT CARLOS CORONEL • STEVEN MORRIS • PETER ROB Australia • Brazil • Japan • Korea • Mexico • Singapore • Spain • United Kingdom • United States Copyright 2010 Cengage Learning. All Rights Reserved. May not be copied, scanned, or duplicated, in whole or in part. Database Systems: Design, Implementation, and Management, Ninth Edition Carlos Coronel, Steven Morris, and Peter Rob Vice President of Editorial, Business: Jack W. Calhoun Publisher: Joe Sabatino Senior Acquisitions Editor: Charles McCormick, Jr. Senior Product Manager: Kate Mason Development Editor: Deb Kaufmann Editorial Assistant: Nora Heink Senior Marketing Communications Manager: Libby Shipp Marketing Coordinator: Suellen Ruttkay Content Product Manager: Matthew Hutchinson Senior Art Director: Stacy Jenkins Shirley Cover Designer: Itzhack Shelomi Cover Image: iStock Images Media Editor: Chris Valentine Manufacturing Coordinator: Julio Esperas Copyeditor: Andrea Schein Proofreader: Foxxe Editorial Indexer: Elizabeth Cunningham Composition: GEX Publishing Services © 2011 Cengage Learning ALL RIGHTS RESERVED. No part of this work covered by the copyright herein may be reproduced, transmitted, stored or used in any form or by any means graphic, electronic, or mechanical, including but not limited to photocopying, recording, scanning, digitizing, taping, Web distribution, information networks, or information storage and retrieval systems, except as permitted...

Words: 189848 - Pages: 760