UCCS 1003 Programming Concepts and Design Programming Project (10%)
UCCS 1003 Programming Concepts and Design Programming Project (10%)
• Function
• File Input/Output
Description of assignment:
Form a group of 2 to 3 students for this assignment. You need to divide your task equally for
each member. Marks will be allocated for the task you are assigned (Refer to marking scheme
for the project). Write a program that implements a simple Library Inventory Management
System for UTAR to help the Library staff to manage the operations in the library.
Functionalities:
• Librarians module
• Students module
Functionalities Descriptions
Add new items To let librarian to add new items to the library
collection which can be books, periodical and DVD?
• Add books Librarian needs to specify which one to add. Add
• Add periodical items to the respective files as below:
Student Module:
Functionalities Descriptions
Assumptions:
Data Specification:
The following data are to be stored for each of the files below:
Items_Book.txt
• Call number (Format for book: start with ‘B’ and follow by 6 digits, e.g.: B123456)
Items_Periodical.txt
• Call number (Format for Periodical: Start with ‘P’ and follow by 6 digits, e.g.:
P123456)
• Author(s) (Maximum length = 128 characters)
• Publication date (Maximum length = 11 characters, format: mm/dd/yyyy)
• Title (Maximum length = 128 characters)
• Periodical name (Maximum length = 128 characters)
• Page range (Maximum length = 16 characters, format: pp. xx - xx)
• ISSN(Format e.g.: 0378-5955)
• State (ON_SHELF or CHECKED_OUT)
Items_DVD.txt
• Call number ((Format for DVD: Start with ‘D’ and follow by 6 digits, e.g.: D123456)
• Artist(s) (Maximum length = 128 characters)
• Title (Maximum length = 128 characters)
• Label (Maximum length = 81 characters)
• Date (Maximum length = 11 characters, format: mm/dd/yyyy)
• State (ON_SHELF or CHECKED_OUT)
Librarian_ID.txt
Student_ID.txt
Requirement:
• Each functionality and its sub functionalities must be implemented using one
function.
• Draw a structure chart for this system before you write the code.
• Try to write pseudocode or draw flowchart for each function before writing code.
1. Librarian
2. Student
Login as: 1
Task: 1
Add new items
1. Books
2. Periodicals
3. DVD
Item: 1
//Ask user to enter all the required information of the books and save to
Items_Book.txt.
Submission:
You need to submit the following for this assignment:
• A hard copy report of the assignment that contain the structure chart for the program
and the source code for the program (Please provide documentation to your code.)
Due date for report and CD is 25th August 2008 before 9.00AM.
You need to demo your program to your Tutor during the Practical session in week 14. Since
this is a group assignment. Each group member must present their part respectively to your
Tutor. During demonstration, Tutor will asked relevant question to your assignment.