Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Project Description: Phonebook Management System The Phonebook Management System project aims to provide a user - friendly interface for storing and managing contact information efficiently.

Project Description: Phonebook Management System
The Phonebook Management System project aims to provide a user-friendly interface for
storing and managing contact information efficiently. This project will help students
understand the fundamentals of file handling, data validation, and basic data structures in C
programming. The system allows users to store, update, delete, and display contact records,
ensuring data validation for phone numbers and email addresses.
This project is to be completed in groups of 2 to 3 students at most. Each team should have a
leader, the leader responsibility is to submit the work on behalf of the team.
Provided Services:
1. Add Contact: Users can add new contacts to the phonebook by providing details
including name, phone number, email address and then saved to the phonebook text
file. You must ensure that the record does not exist in the text file by checking against
contact name.
2. Update Contact: Existing contacts in the text file can be updated with new information,
including phone number, email address, and name. when updating the name, you must
ensure that it does not exist in the text file.
3. Delete Contact: Users can delete contacts from the phonebook text file based on the
contact's name or phone number.
4. Search Contact: Users can search for contacts by name or phone number to retrieve
their details.
5. Display All Contacts: The system provides an option to display all contacts stored in
the phonebook text file.
Data Validation: before saving a record to the phonebook text file, a record criteria must be
met
1. Name Validation: the system must validate the contact name to ensure that only
alphabetical characters are accepted.
2. Phone Number Validation: When adding or updating a contact, the system validates
the phone number to ensure that only numeric characters are accepted. It checks for
the correct format and length of the phone number is 10 digits.
3. Email Address Validation: Similarly, the system validates email addresses to ensure
they follow the correct format (e.g., example@email.com). It checks for the presence of
"@" and "." symbols in the email address.
Project Implementation:
The project will involve creating structures to represent contact information, implementing
functions for adding, updating, deleting, searching, and displaying contacts. Data validation
logic will be integrated into the functions for adding and updating contacts to ensure the
integrity of the stored data. File handling operations must be used to save and retrieve contact
records from a text file, providing persistence to the phonebook data. The text file format
should look like the figure below.
By completing this project, students will gain practical experience in C programming, file
handling, data validation techniques, and basic data structure manipulation. They will develop
a deeper understanding of managing data in real-world applications and enhance their
problem-solving skills.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions