Preview

Assignment: Computer Program and Data File

Powerful Essays
Open Document
Open Document
3019 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
Assignment: Computer Program and Data File
ITECH 1000 / 5000
Programming 1 School of Science, Information Technology and Engineering

Assignment 1 Teaching Period 1 2013 Introduction
This assignment requires you to understand a python program that manipulates some data involving a warehouse ordering system for a group of shoe stores at various locations. Based on this provided code, you are then asked to create a new python program for a different (but similar) system. You are provided with 3 files:  This document,  A data file, “orders.txt”  A Python file, “ordersystemcomplete.py”. The data file and Python file should be downloaded into the same folder. Save your copy of the Python file as system.py, for example, 20119999system.py

Tasks
1) Your first task is to examine the code you have been given. Answer specific questions throughout the assignment in a separate Word document. Marks are awarded according to how well your answers reflect an understanding of the concepts involved. The data file, “orders.txt”, consists of a number of lines (records) each of which have six values (fields) separated by spaces: (Open this file in notepad and have a look at it)  A Shoe Style code (e.g. Womens/Mens/Children),  The Shoe Type (e.g. Sandals,Runners,Dress,School,Boat),  A unique Item Code identifying the particular shoe on order (a string of characters NNNNX),  A number representing the shoe size (expected to be between 1 and 13),  The price of the pair of shoes,  The store address code in one word string (e.g.CentralSquare,City,Mall,Stockland). 2) Using your creativity, think of a similar problem to the shoe warehouse problem. For example, a travel scheduling system, a bus /train/plane services system, a cricket/other sport results system, a sales system. The new system that you will create must be based on a similar approach – a menu providing options, some data in a separate text file (similar to orders.txt) and a number of functions that do simple calculations and printing of selected data from

You May Also Find These Documents Helpful

  • Good Essays

    DBM380 Week 2

    • 837 Words
    • 3 Pages

    The database environment refers to the type of configuration used to populate and create the application. A database includes items such as text, images and graphics associated with a record. The main purpose of a database is to collect and organize that data. The environment to be designed is one to store and retrieve data in a way it can be easily organized. For the purpose of this assignment the database environment will be a series of tables which store customer, sales order, purchase order and various status point information. This data will then be used for a series of reports to demonstrate status of the purchase order as it flows through the system. The overall goal is to be able to provide the customer an accurate status of their purchase order that is submitted electronically.…

    • 837 Words
    • 3 Pages
    Good Essays
  • Good Essays

    Assignment 1 for CS105

    • 1662 Words
    • 5 Pages

    Jean, a former pharmacist, is now the network administrator for the LM Pharmacy in the town of Paris, Virginia. His duties include enabling the electronic transfer of information between health care providers (i.e., doctors and hospitals), patients, and the pharmacy itself. One of Jean’s most important responsibilities is to protect health information in accordance with federal law and the pharmacy’s privacy policy.…

    • 1662 Words
    • 5 Pages
    Good Essays
  • Good Essays

    Kudler Fine Foods main network is a Virtual Private Network which is up to standard for present ay business transactions. This VPN would allow for very secure communications between headquarters, other sites and site to site, all of which will be using the Frequent Shopper Program. Additionally, individuals would have to log onto the network via a personal encrypted pin which would be a hard key assigned specifically to that…

    • 837 Words
    • 4 Pages
    Good Essays
  • Satisfactory Essays

    When addressing system performance, a key element that is often overlooked is Disk Fragmentation. Even on a brand new system with plenty of RAM and processing speed, the performance of the hard disk may be a bottleneck causing issues. It takes time to load large data files into memory - issues become particularly noticeable when dealing with movies, video clips, database files or image files which may easily be several gigabytes in size. On a freshly formatted disk, these files load fairly quickly. Over time, however you may start to notice performance issues - caused by disk fragmentation.…

    • 356 Words
    • 1 Page
    Satisfactory Essays
  • Satisfactory Essays

    Richman Investment needs and new enterprise encryption strategy. This is for a more secure network. They are wanting to grow to 10,000 employees worldwide. Richman Investment wants to operate out of 20 different countries in the future. This is very easy to do but to have a secure network there are many things that would have to happen which will make this more difficult to do. Have a secure network takes a lot of work and has to be monitored 24 hours a day 7 days a week. There are many different ways to go about this topic the one I am going to pick is a public key infrastructure (PKI).…

    • 444 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    MSCD600 Course Project

    • 1578 Words
    • 18 Pages

    The Project “Grocery store” deals with the automation of supermarket. This software will help salespersons in managing the various types of Records pertaining to his/her customer. The product will help the user to work in highly effective and efficient environment.…

    • 1578 Words
    • 18 Pages
    Powerful Essays
  • Satisfactory Essays

    Inf340 Week1 Assignment

    • 326 Words
    • 2 Pages

    The scope of the project was to plan and implement a point of sale system that will help with inventory and speed of food going out to customers. Rules would be made as to what was acceptable as a number in the inventory. For example, when the number of hamburger patties gets too low the project in place would alert the manager so that more patties could be ordered to keep supply up and ready for the demand.…

    • 326 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    1. Flash cards: It is similar to the traditional note cards but in electronic bases. It helps students to recall the terms and definitions of the textbook.…

    • 695 Words
    • 3 Pages
    Good Essays
  • Better Essays

    1) You can call the module several times instead of writing it out each time.…

    • 1580 Words
    • 11 Pages
    Better Essays
  • Satisfactory Essays

    System Build Project

    • 391 Words
    • 2 Pages

    For this project, you will design a system for the organization of your choosing. This could be for a current or former employer or some fictitious organization. The system you design might be data storage, telecommunications, e-commerce, accounting information, manufacturing process system, inventory management, or some other system approved by your instructor. You will discover (or create, if you choose a fictional organization) and explain the main systems in place, discuss the integration, and explain how the data collected by these systems helps the organization make decisions and carry out the strategic plan. This project must meet the written communication skills at a Bachelor level competency as described in the Writing Across the Curriculum Initiative.…

    • 391 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    Website Migration Project

    • 2957 Words
    • 12 Pages

    Tony’s Chips is a medium sized company that wants to enhance its operations by using e- commerce or what some people would say the web or Internet. The new company has set its sights on moving the current system from an externally hosted website to one that is hosted internally. Furthermore, the site will be redesigned so that customers will be able to place orders through the website and have them delivered as before. The design of the new system will be able to provide more data storage, faster retrieval, better security features and recovery solutions in the event that the website has any problems. With the operational reliability of the existing system, this will make it easier to improve the new system.…

    • 2957 Words
    • 12 Pages
    Better Essays
  • Good Essays

    Management 321

    • 1285 Words
    • 6 Pages

    For this project, you will design a system for the organization of your choosing. This could be for a current or former employer or some fictitious organization (Banks Against Blight LLC). The system you design might be data storage, telecommunications, e-commerce, accounting information, manufacturing process system, inventory management, or some other system approved by your instructor.…

    • 1285 Words
    • 6 Pages
    Good Essays
  • Satisfactory Essays

    Write a 150- to 200-word paragraph to explain how purpose, audience, tone, and content impact academic writing. Be sure to use the three components of a good paragraph covered in this week’s readings.…

    • 303 Words
    • 1 Page
    Satisfactory Essays
  • Powerful Essays

    9. A. A website typically contains many web objects, C. A web page typically contains many web objects, D. A website typically contains many web pages.…

    • 483 Words
    • 2 Pages
    Powerful Essays
  • Good Essays

    Due to Katrina and her two staff members now using databases to support their company which is the Mail Order Company, the database must be able to add new orders to the system with the correct information about the customer, the product and calculation of total order. The database will also need to be able to automatically calculate the total order for each customer which the correct information is been put in by Katrina and her two staff members. This will ensure that the amount of paperwork and administrative tasks for both Katrina and her two staff members are greatly reduced due to the…

    • 527 Words
    • 3 Pages
    Good Essays