Programming Development

In: Business and Management

Submitted By nicolesings
Words 415
Pages 2
Programming Development
PRG/211

June 27, 2014

The purpose of having a structure inventory program is to make it easy for users to see what their inventory totals should be at. This will allow for better ordering and sales tracking. This type of program will be most ideal with businesses such as grocery stores, markets and gas stations. In order for this type of program to run smoothly there is certain information you will need to input to allow for accurate results. The type of information that will need to be gathered is starting inventory, which will involve accounting for what products are already there. The reason for this is because we will be adding and subtracting from this number to get our inventory, there is no way to keep track if you don't know the number of items you first started with. Keeping things items organized by categories will also help when it comes to doing audits and sales tracking because you can see what area is doing poorly, example categories would be medicine, drinks and candy. Now because some items differ by size and flavor, we would have to make sure we are accurately describing the item and labeling as exactly that. We wouldn't be able to count Coke and Pepsi together because they are different products, doing so lets us account for items more accurately. We also would have to distinguish from size since there are multiple sizes when it comes to items such as soda and candy. In keeping inventory under control, we would also have to determine the reasons for increased and decreased inventory levels. Increasing levels should only occur when receiving new merchandise, while decreasing can be due to sales, transfers, and theft. So there has to be a way to account for these items so that they are automatically adjusted. An example of how a selection structure for this…...

Similar Documents

Computer Programming

...Computer Programming Computers and machines have definitely changed people's lives over the years influencing academic life, workplace, and even the home setting. Therefore, it is important to become knowledgeable about computers and its different applications. Without doing so can severely affect one's chances in succeeding especially in his or her professional life since majority, if not all, of companies around the world depend on computers and machines. There are numerous jobs that deal specifically on the development of technology, including computers. One of the major careers in the field of computers is computer programming. People who work in this field are responsible for “writing, testing, and maintaining the instructions that computers follow to perform their functions. They also focus on conceiving, designing, and testing logical structures for solving problems by computer” (“Computer Programmers”). Literally, they program computers, softwares, and applications to function the way computers should. In 2007, “40 percent of companies expected to add programmers and information technologists, 45 percent expected to maintain their staffs, and 81 percent planned to increase the salaries of their computer programmers” (“The 2007 Job Market Outlook for Computer Programmers”). However, these numbers are not enough because it seems that the job outlook for this profession is not good. “The occupation is forecasted to grow more slowly than the average for all other......

Words: 911 - Pages: 4

Programming

...Calling an external function or program that is written in a different programming language like a Java program within a Visual Basic program you first need to know the Function fundamentals that’s executed in any programming language. I came across this website called maples, where they have the ability to connect to and call functions from other programming languages. Maple uses this for various reasons. Like all other languages, the F# function has a name, it can have parameters, has a body and takes arguments. F# also supports functional programming constructs such as handling functions as values, depleting unnamed functions in expressions, composition of functions to form new functions, curried functions, and the implicit definition of functions by way of the partial application of function arguments. Maple's help system documents all the External Calling functions so you can see what is available. Briefly, however there are functions for converting Maple types to C and back, creating and interacting with Maple data structures creating and interacting with Maple language elements (names, procedures, etc), printing to the Maple interface, memory allocation, evaluating Maple statements and raising exceptions. There is even a C interface to the Task Programming Model. The function-name is an identifier that represents the function. The parameter-list consists of successive parameters that are separated by spaces. You can specify an explicit type for each parameter, as......

Words: 394 - Pages: 2

Programming

...times 4 and stores the result in a c. Divides a by 3.14 and stores the result in b d. Subtracts 8 from b and stores the result in a 8. Write a pseudocode statement that assigns the sum of 10 and 14 to the variable total. 9. Write a pseudocode statement that subtracts the variable downPayment from the variable total and assigns the result to the variable due. 11. If the following pseudocode were an actual program, what would it display? Declare Integer a = 5 Declare Integer b = 2 Declare Integer c = 3 Declare Integer result Set result = a + b * c Display result 12. If the following pseudocode were an actual program, what would it display? Declare Integer num = 99 Set num = 5 Display num PROGRAMMING EXERCISES (Input, processing, and output) 2. Sales Prediction A company has determined that its annual profit is typically 23 percent of total sales. Design a program that asks the user to enter the projected amount of total sales, and then displays the profit that will be made from that amount. Hint: Use the value 0.23 to represent 23 percent 3. Land Calculation One acre of land is equivalent to 43,560 square feet. Design a program that asks the user to enter the total square feet in a tract of land and calculates the number of acres in the tract. Hint: Divide the amount entered by 43,560 to get the number of acres. 4. Total Purchase A customer is a store is purchasing five items. Design a program that asks......

Words: 1054 - Pages: 5

Programming

...the module in which its declared and only statements inside that module can access that module can access the variable. 5. The local variable usually beings at the variables declaration and ends at the end of the module which is then the variable is declared. 6. The difference between the both is that only a copy of the arguments value is passed and passing by reference means that the argument is passed into a specific type of parameter. 7. Global variables make debugging difficult because they make programming hard to understand, modules that use global variables are usually dependent and you have to track down every statement. Algorithm Workbench 1. Module main() Declare userNum as Integer Display “Enter a number” Input userNum Call TimesTen(usernum) Display usernum End 5. 13.4 00.0 00.0 6. 1, 3.4 0, 0 0, 0 7. Allows changes the values of passed parameters 1,3.4 0,0 0,0 Doesn’t allow changing of parameters 1,3.4 0,0 1,3.4 Programming Exercises 1. Kilo=input (“Enter distance in kilometers”) Miles=Kilo Print”, Kilo 2. Module TotalPurchase Declare Double amount, total Declare TAX=.06 While I<6 Display “Enter the price” Input amount Total=total+amount I=I+1 End while Display “Subtotal is:” + total Display “Tax is:” + (total*TAX) Display “Total is:”=(total*TAX)+total) End Module...

Words: 309 - Pages: 2

Programming

...Although every precaution has been taken in the preparation of this book, the publisher and author assume no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained herein. International Standard Book Number: 0-672-31633-1 Library of Congress Catalog Card Number: 98-83221 Printed in the United States of America First Printing: May 1999 01 00 99 4 3 2 1 EXECUTIVE EDITOR Brian Gill DEVELOPMENT EDITOR Jeff Durham MANAGING EDITOR Jodi Jensen PROJECT EDITOR Tonya Simpson COPY EDITOR Mike Henry INDEXER Larry Sweazy PROOFREADERS Mona Brown Jill Mazurczyk TECHNICAL EDITOR Richard Wright Trademarks All terms mentioned in this book that are known to be trademarks or service marks have been appropriately capitalized. Sams Publishing cannot attest to the accuracy of this information. Use of a term in this book should not be regarded as affecting the validity of any trademark or service mark. SOFTWARE DEVELOPMENT SPECIALIST Dan Scherf INTERIOR DESIGN Gary Adair Warning and Disclaimer Every effort has been made to make this book as complete and as accurate as possible, but no warranty or fitness is implied. The information provided is on an “as is” basis. The authors and the publisher shall have neither liability or responsibility to any person or entity with respect to any loss or damages arising from the information contained in this book or from the use of the......

Words: 10065 - Pages: 41

Programming

...- -[ ] http://blog.renren.com/blog/73603/740437492 » / [ ] 2011-07-18 10:47 | ( : ) http://coolshell.cn/articles/4990.html 6 12 programming An open letter to those who want to start id Mailper Python Web “ Build Your Programming Technical Skills “ ( ) Notes/ActiveX/COM/ADO/ATL/.NET …… Mailper Delphi/Power builder ” Lotus 5 3D TA 561 ” The architecture of w-ai.org –... Some updates and my first Engl... / 10 Unix/Linux Windows 1 Linux Web+ 1 Python/Ruby Web 2 iOS Android Windows Windows Windows Linux+ Windows 9 : csv ( log python csv, python open, python sys) 52 word count (sys, os, path) (python sqlite) print Google (phrase, domain, use reader to follow tech blogs) 2 ( Vim / Emacs / Notepad++ Source Insight ( ctag) Cool IDE) / / 3 Unix/Linux Shell windows man ls/chmod/chown/rm/find/ln/cat/mount/mkdir/tar/gzip … sed/awk/grep/tail/less/more … ps/top/lsof/netstat/kill/tcpdump/iptables/dd… /etc /var/log /proc linux vmware player Ubuntu 1 6 9/6/13 1:36 PM - -[ ] http://blog.renren.com/blog/73603/740437492 /Linux 4 Web Web HTML CSS HTML Firefox + Firebug Javascript HTML DOM Firefox + Firebug Apache PHP PHP PHP chrome Nginx HTML MySQL MySQL SQL http://www.stanford.edu/~ouster/cgi-bin/cs142-fall10/index.php ) javascript HTTP: The Definite Guide browsers) Cookie/Session jQuery 4 3-5 ExtJS + Ajax ( +JSON (proxy, gateway, Javascript box model chrome DOM......

Words: 807 - Pages: 4

Programming

...Question: Analyze, design, and document a simple program that utilizes a good design process and incorporates sequential, selection and repetitive programming statements as well as at least one function call and the use of at least one array. The specific problem you need to solve for the final project is: Design a program that will allow a user to Input a list of your family members along with their age and state where they reside. Determine and print the average age of your family and print the names of anyone who live in Texas. 2. What is the required output? What is the necessary input? How you will obtain the required output from the given input? Clearly describe variable names and definitions. Include all necessary formulas and example calculations. 3. Display pseudocode of your overall design including the Main module and the order of the module, subprogram and function calls. 4. Create a Hierarchy chart for the overall program in raptor 5. detailed pseudocode for each module, subprogram and function. 6. Add pseudocode comments with all major functionality and most minor functionality commented 7. Show test plan covering all major functionality and most minor functionality. Multiple Input and expected output provided for most modules. SOLUTION: Analysis: For this program, user will be asked for name, age and state of their family members, one by one, until the user decides to stop entering this information. To achieve the given task (printing average family......

Words: 919 - Pages: 4

Programming

...flowcharts to describe a program’s structure. Use pseudocode to define a program’s structure. Formulate solution algorithms for calculations by properly following the order of operations. Assignment Requirements Answer: * Short Answer 1, 2, 3, and 4 on page 71 * Algorithm Workbench Review Questions 1 and 2 on page 71 * Programming Exercises Questions 1 and 4, starting on page 72 Required Resources Textbook Submission Requirements Submit your written answers to your instructor at the beginning of Unit 3. Unit 2 Research Assignment 1: Researching Variable Naming Rules Learning Objectives and Outcomes Determine program input, processing, and output stages. Create the necessary flowcharts to describe a program’s structure. Use pseudocode to define a program’s structure. Formulate solution algorithms for calculations by properly following the order of operations. Assignment Requirements Use the Internet and the ITT Tech Virtual Library to research the following questions: What are the variable naming rules of Visual Basic, Python, and Java? List three similarities and differences in between the three programming languages. Required Resources Textbook ITT Tech Virtual Library: http://library.itt-tech.edu Submission Requirements Submit your written answers to your instructor at the beginning of Unit 3. Labs Unit 2 Lab 2.1: Pseudocode Learning Objectives and Outcomes * Use pseudocode to define a program’s structure. *......

Words: 450 - Pages: 2

Programming Development

...updated in a certain time frame. Determine the next possible date available for review. Calculate the number of request processed in the last 30 days from the date that is input, providing a count for those approved and those rejected or canceled. By defining these three modular pieces, appropriate user would get notification that a request need s attention, provide a user the next date the request can be presented to the review board, and provide activity over the last 30 days of approved and disapproved request. The program will provide visibility and store important information on what is changed, escalate when requests are not moving through the process, and provide information for trending. Reference Drake, S. (2011). Prelude to Programming. Boston: Addison-Wesley....

Words: 810 - Pages: 4

Programming

...Introduction The proposed system is a school management system. There has been recent development of school management software to increase efficiency in both primary and secondary schools (Sammons, P., 1995). The system encompasses a website where all stakeholders can access everything that they need online. The users can retrieve what they want from the system easily. The use of traditional methods of record keeping is being phased out in a very rapid pace. The traditional methods have been associated with a lot of redundancy in data. The methods are also nit efficient to use in this era of pervasive computing. The users of the system include students, teachers, workers, the administration as well as the computer technologists. The different users of the system have different roles in the system. They also have different levels of operations. Some users have more privileges than others in the system. The Purpose of the system The system is aimed at providing a remedy to the weaknesses in the existing system. Students marks will be keyed into the system without difficulties. This will enable the system to display the marks and perform various statistical computations (Cheng, Y., 1996). The teachers will also be in a position to record the number of students absent and the overall attendance. The recording will enable the administration of the school to track the overall performance of the students. The students will be able to view their marks from the system. The......

Words: 2413 - Pages: 10

Programming

...option. I am extremely optimistic and can find the positive in mountain negative and allows me to be comfortable in habitual situations. I am starting to feel like a duck in the stagnant waters of my life, calm on the surface but peddling crazily underneath to stay in relatively the same area. I want to be fully fixated on a fortunate future. I know what it would take to start a new and I believe that someday I will be just fine, but my childhood dreams have all but faded like they were someone else’s. When I am planning to do something for a long time then I would want to make sure it yielded worthy rewards or I was comfortable with the probability of me being able to maintain maximum happiness constantly. In a more recent thought development my pinkish-gray matter is contemplating if I will be happy with anything less than making my mark in the history books of time for a memorable and noteworthy cause. The country singer Randy Travis said “It's not what you take when you leave this world behind you. It's what you leave behind you when you go.” I want to reflect on attending class here at ITT Tech in Arlington, TX. After attending classes for almost two 10 week quarters now and still believe that I can learn or be taught anything no matter how complicated it is considered. Once learned I believe I can then increase my knowledge and master that art or teaching. I am confident in all my skills and honestly believe I will be able to obtain my goal of gifting some......

Words: 606 - Pages: 3

Programming

...Programming 1 - Semester 1, 2015 Assignment 1 Release Date: 27 / 02 /2015 Total raw marks: 60 Assignment weight: 6% NOTE: This assignment is to be undertaken individually—no group work is permitted. Background information For this assignment you are to complete a partially completed menu-driven, Java console application, which allows the user to select one of four options:     Display Time and Date Swim Fitness Summary Calculator Sentence Analyser Exit The incomplete code solution (in the source file called MenuDrivenProgram.java) is in the same Assignment 1 folder, available via myRMIT. The partially completed program already has code to display the menu. You should study the code and then compile and execute it without implementing the following options. This will allow you to understand the flow of execution of the program, as is. a) Once the processing for the selected option has been completed the program should return to the menu (that is, the program should not terminate). b) You do not need to handle runtime errors of any kind for this assignment and you may assume that the user will always enter input in the correct format. This applies both to the menu itself and the processing of the menu options. Program Features Menu Option A - Display Time and Date (10 marks) The program should retrieve the current time and date from the system and then display it in the format shown......

Words: 1404 - Pages: 6

Programming

...variable total so it can hold integers. Initialize the variable with the value 0. Declare Real Price =0 7. Write a pseudocode statement that assigns the value 27 to the variable count. Count=27 8. Write a pseudocode statement that assigns the sum of 10 and 14 to the variable total. Set total= 10+14 9. Write a pseudocode statement that subtracts the variable downPayment from the variable total and assigns the result to the variable due. Declare Integer downPayment Declare Integer Total Declare Integer Due Set Due = Total - downPayment 10. Write a pseudocode statement that multiplies the variable subtotal by 0.15 and assigns the result to the variable totalfee. Declare subtotal Declare totalfee Set totalfee= subtotal*.15 Programming Exercises 6. Sales Tax Design a program that will ask the user to enter the amount of a purchase. The program should then compute the state and county sales tax. Assume the state sales tax is 4 percent and the county sales tax is 2 percent. The program should dis- play the amount of the purchase, the state sales tax, the county sales tax, the total sales tax, and the total of the sale (which is the sum of the amount of purchase plus the total sales tax). Hint: Use the value 0.02 to represent 2 percent, and 0.04 to represent 4 percent. totalState = amountPurchased * .04 totalCounty = amountPurchased * .02 total sales tax = totalState + totalCounty total with sales tax = amountPurchased + totalState +......

Words: 531 - Pages: 3

Programming

... | name | nationality | 01 | Pat | British | 02 | Hilary | British | 03 | Sven | Swedish | 04 | Pierre | French | | Event | eid | description | winner | 01 | running |   | 02 | jumping |   | 03 | throwing |   | | Competes | cid | eid | 01 | 01 | 02 | 01 | 03 | 02 | 04 | 02 | 04 | 03 | | Select the BEST answer from the following options based upon the provided data and data structures: Select one: a. There is a British competitor in every event. b. Pierre does not compete in any event c. Sven has been entered in two events d. Pat is competing in the jumping event e. Hilary has entered only the running event Question 1 If we write a program in a programming language and switch to SQL when we require to use the database, then the SQL environment in use is known as _______ SQL. Select one: a. Real - time b. Dynamic c. PL - d. Embedded Question 2 Embedded SQL is which of the following? Select one: a. Hard-coded SQL statements in a program language such as Java. b. The process of making an application capable of generating specific SQL code on the fly. c. Hard-coded SQL statements in a procedure. d. Hard-coded SQL statements in a trigger. Question 3 In JDBC, what represents a single instance of a particular database session? Select one: a. a thread b. an opened connection c. a closed connection d. a pipe Question 4 A relational database query normally......

Words: 4344 - Pages: 18

Programming Development Week 3

...Programming Development: Part 3 NAME PRG/211 11/28/2011 INSTRUCTOR Abstract The purpose of this document is to address all items required for the Part 3 of the Programming Development assignment. Programming Development: Part 3 In the previous weeks, the choice for developing software was for an Animal Shelter and it was also analyzed selection structures. In this paper are analyzed array and loop structures that will be present in the program as part of its implementation. Identified Objects For the Animal Shelter system there are many things that could become an object if this program is developed using an Object-oriented Programming Language. Among the most important we have User, which would identify a user inside the system with its role and some other attributes. Person, which would have all information related to a person and would be related to User. In the system a User is own by a Person. Then we would have Animal and Vaccine too, with all related information applicable. We could have other objects such as Adoption Form, Cage (the cage where the animal stays in) and Treatment but in any case, the object-oriented approach will help achieve the desired levels of encapsulation and data hiding. “The term encapsulation means to package data members and methods into a single programming unit (in our case, a class or an object created of that class) with a well-defined external boundary, or interface. Encapsulation is most often achieved through data......

Words: 810 - Pages: 4