Parallel activity for Database and algo
Parallel activity for Database and algo
Objective:
The goal of this project is to create a simple database using a DOS-based environment. You will store,
retrieve, and manipulate data using text files or a simple database management system (DBMS) like
dBASE (or similar DOS-based DBMS). The focus is on simulating basic database operations, such as
storing records, querying, and updating data.
Project Requirements:
1. Database Design:
o The database should contain at least two tables (or data files).
o Each table should contain at least 5 fields (e.g., Name, Age, ID, Date, Address) and 10
records.
2. Core Database Operations: You must implement the following basic database operations:
o Create: Ability to create new records and store them in the database (text file or DBMS
table).
o Read: Ability to display all records or query specific records based on user input.
o Update: Ability to modify existing records (e.g., update the name or address of a
record).
3. User Interaction:
o Create a command-line interface (CLI) that allows users to interact with the database.
o If using text files, ensure that records are stored in a structured format (e.g., CSV or
fixed-width fields).
o Implement error handling for user inputs and ensure that the database can handle
invalid or missing data gracefully.
5. Documentation:
o Include comments in the code (if applicable) that describe the main functions.
Deliverables:
1. Database Files:
o If using text files, submit the .txt or .csv files containing the database records.
2. Command-Line Program:
o Submit the script or batch file (.bat) or the commands to run the program.
3. ReadMe File:
o Submit a ReadMe.txt file explaining how to use the database, including all commands
and an overview of how to perform each CRUD operation.
Grading Rubric:
Needs
Satisfactory (50-
Criteria Excellent (90-100%) Good (75-89%) Improvement (0- Points
74%)
49%)
Create, Read, All CRUD Most CRUD CRUD operations CRUD operations /40
Update, Delete operations are operations work, are partially are missing or fail
(CRUD) implemented with some minor implemented, but to function as
Needs
Satisfactory (50-
Criteria Excellent (90-100%) Good (75-89%) Improvement (0- Points
74%)
49%)
effectively and
without errors. issues or some are
Operations User interaction is limitations in incomplete or intended.
smooth and functionality. buggy.
intuitive.
Data is stored
File handling is Basic file handling
efficiently, and file File handling is
Database File mostly correct, but works but may
handling is robust incomplete,
Handling & with some issues lack error /10
with good error unreliable, or
Storage related to storage handling or data
handling and data missing.
or error handling. integrity checks.
integrity.
Plan Your Database: Think about how you want to organize your data. Decide on the fields and
data types for each table before writing any code.
Test Your Program: Make sure that all CRUD operations work correctly and that the database
updates as expected.
Backup Your Files: Always create backups of your database files while testing, especially when
working with delete operations.