首页 > > 详细

C++辅导:CCIT4020, HKU SPACE Community College讲解Python程序

Introduction
,inventory.txt, ,c
Requirement
ICP Project 15-16
1 / 6
Introduction to Computer Programming (ICP)
CCIT4020, HKU SPACE Community College, 2015-2016 Semester 2
Course Project Guidelines: Inventory Management and Record System
1) Introduction
Nowadays, an inventory management and record system is important to manage all related
inventories in a logistics corporation for shipping and delivery. In this project, a simple and
effective inventory management and record system is developed in order to record, search and
back up the data of various items in the company. To avoid any conflict between different data
types and any other programming bugs, Input data validation processes are necessary to be
employed and developed in the system.
1.1) File Format for data storage:
In this project, one data file “inventory.txt” is required to back up the data. The “inventory.txt”
file contains various data for each item (Name of item, Item number, Subject, Weight, Quantity,
Recipient, Final destination, and Delivery status). In this project, we assume that the maximum
numbers of item records are 50 and the maximum numbers of characters for name of item,
recipient, destination and delivery status) are 30.
The format and example of data stored in the data file “inventory.txt” are listed as follows:
Name of item #1
Item number #1
Subject #1
Weight #1
Quantity #1
Recipient #1
Final Destination #1
Delivery Status #1
Name of item #2
Item number #2
Subject #2
Weight #2
Quantity #2
Recipient #2
Final Destination #2
Delivery Status #2
Name of item #3
Item number #3
Subject #3
Weight #3
Quantity #3
Recipient #3
Final Destination #3
Delivery Status #3
.
.
.
ICP Project 15-16
2 / 6
The example of items records stored in the data file is listed as follows:
Net Wi-Fi Router
1001
Electronics
2.0 kg
1
Chan Tai Man
Kowloon Bay
Delivery
Fujo Apple Gift Set
Food
2552
1.2kg
1
Cheung Wai Ming
Yuen Long
Arrival
Koppo Men Jacket
Fashion
3003
0.5kg
2
Lee Siu Yu
Sha Tin
Warehouse
.
.
.
ICP Project 15-16
3 / 6
2) Project Requirements
In this project, students are required to form. groups in the same class (4 to max. 5 students per
group) to develop a C program (Standalone Console-Based Application) for the inventory
management and record system. The C program for this system must include two parts: (1) Basic
Functions (group part), and (2) Extra Functions (individual part).
The example of Basic Functions (group part) of the system is shown as follows:
2.1) Requirements for Basic Function (Group Part)
The following functions must be supported in the system:
 Main Menu: in the main() function
o Show menu page when the program is executed or selected option is completed.
o After the main menu is shown, wait for user to input a number (or character) from
options above.
 Option ‘1’: Add new item record(s)
o Add a new item in the system and store the information of such item in a data file
“inventory.txt”.
o Record “Name of item”, “Item number”, “Subject”, “Weight”, “Quantity”, “Recipient”,
“Final destination” and “Delivery status”.
o Ask user to add another new item (if Yes, repeat the step; if No, go back to menu page).
ICP Project 15-16
4 / 6
 Option ‘2’: Display item(s)
o Load and display the items in the system from the corresponding data file
“inventory.txt”.
o Display all the item information (Name of item, Item number, Subject, Weight, Quantity,
Recipient, Final destination, and Delivery status) line by line on screen.
 Option ‘3’: Modify item record(s)
o Update the existing item record and store it to the corresponding data file.
o Ask user to change another item record (if Yes, repeat the step; if No, go back to menu
page).
 Option ‘4’: Delete item record(s)
o Delete the existing item record and update the records in the data file.
o Ask user to remove another item record (if Yes, repeat the step; if No, go back to menu
page).
 Option ‘5’: Search item information
o Search and display the item information you searched on screen from the corresponding
data file “invenotory.txt”.
o Ask user to search another item record (if Yes, repeat the step; if No, go back to menu
page).
2.2) Requirements for Extra Function (Individual Part)
Each group member is required to develop an extra function (e.g. create a new Option ‘6’ or a new
function, etc.) and integrate to the system for this project. These extra functions can be contributed
and integrated to the system so as to perform. various specific tasks or related purposes. There is no
constraint on the function features (except user login with password).
Input data
Add data for next item
ICP Project 15-16
5 / 6
3) Submission
3.1) Softcopies
a) Programming Codes and Files:
Softcopies must be submitted to SOUL by a group representative before the deadline. (Group
representative is necessary to compress all files/folders into single file for submission)
o Save in a FOLDER named “icpClassNo_GroupNo_Basic”
 Source (.c) files: All program files with the basic function only
 Executable (.exe) file: Executable file “icpClassNo_GroupNo_Basic.exe”
 Data files: Data is stored in txt (or dat) file
o Save in a FOLDER named “icpClassNo_GroupNo_BasicExtra”
 Source (.c) files: All program files with the basic and extra functions
 Executable (.exe) file: Executable file “icpClassNo_TeamNo_BasExtra.exe”.
 Data files: Data should be stored in txt (or dat) file.
 A readme file can be attached in the folder to give details of the extra functions

(Remark1: Two folders – Both 1) Basic function, and 2) Basic with Extra Functions are necessary
to submit for program comparison and verification)
(Remark2: Programming codes or statements must include comments for description or
explanation)
b) Project Presentation PowerPoint file: named icpClassNo_GroupNo.ppt (or .pptx),
The contents of the presentation PowerPoint includes:
- Job distributions,
- Overview of project,
- Programming techniques used in the basic functions, and
- Programming techniques used in the extra functions,
(Remarks: Full programming codes are not necessary to show on the PowerPoint slides.)
c) Project Submission Form. (scanned file)
3.2) Project Presentation and Demonstration
Project Presentations will be held in Lesson 12. Each group has about 7 minutes including
presentation, demonstration, etc.
- All group members must participate in the presentation.
- The presentation must be well-prepared as the tight presentation schedule.
- A presentation PowerPoint is needed during the presentation.
ICP Project 15-16
6 / 6
3.3) Hardcopies
The following materials must be submitted during the presentation.
- Project Submission Form. and Project Extra Function Forms for all members
- Project Presentation PowerPoint (print with four slides per page and double-sided on
each A4 paper)
(Important Remark: Double-check the contents in your submission, if they are the most updated
versions.)
References:
Website for DHL
Website for UPS
Website for Taobao (delivery)
~ END ~

联系我们
  • QQ:99515681
  • 邮箱:99515681@qq.com
  • 工作时间:8:00-21:00
  • 微信:codinghelp
热点标签

联系我们 - QQ: 99515681 微信:codinghelp
程序辅导网!