SlideShare a Scribd company logo
1 of 24
01.12.16
TOPIC
Project On PhoneBook
PRESENTED TO:
Ms. Tanzina Akter
Designation:Lecturer
Department of Computer Science
and Engineering
DATE:01.12.2016
PRESENTD BY:
Khandker Ashik Mahmud ID:161-15-6889
Toushiat Shaikh ID:161-15-7530
Sabbir Ahmed Likhon ID:161-15-6931
G.M. Taium Ahmed ID:161-15-6888
Md. Abu Sayem Akand ID:161-15-6975
INDEX
TITLE
• Introduction
• Aim of the Project
• 2.1 Advantages & Disadvantages
• 2.2 Future Implementation
• Software & Hardware Details
• Data Flow Diagram
• Algorithm
• Implementation
Adding new records into the memory, listing them, modifying them and
updating, search for contacts saved, and deleting the phonebook
contacts are the basic functions which make up the main menu of this
Phonebook application (as shown in the main menu screenshot below).
Personal information such as Name, gender,
Father’s name, Mother’s name, phone number, email and address are
asked while adding a record into the Phonebook. After the initial
addition of the contacts these records are then be modified, listed,
searched for and removed if they are requires a change.
• The program uses many functions in. These functions are easy to
understand as their name only signifies their respective
operations. These functions make the program to divide into
individual modules and hence it makes the program simpler to
understand.
• void menu() – This function is used to display the main menu.
• void start() – This functions calls the menu function mentioned
above.
• void back() – This function is used to go back to start.
• void addrecord() – It adds a new Phonebook record.
• void listrecord() – This function is used to view list of added
records in file.
• void modifyrecord() – This function is used to modify added
records.
• void deleterecord() – It deletes record from file.
• void searchrecord() – It searches for added record by name.
• The Title of the Program is to develop a program which
deals with the combination of structures, arrays, File
pointers and other functions. This program could do some
operations on arrays such as insertion, deletion, sorting,
searching, update, retrieve, merging, append,exit.
• By implementing this program we can
execute the inserted contact data, deletion of the data,
searching, updating, append, exit with numbers by using
arrays and file pointers. This program is implemented for
only numbers that can enter into an array. To do this
analysis manually it takes a lot of time and patience but by
implementing this program using a high level language like C
it becomes much easier. But before going to make final
solution for the problem, the problem must be analysed.
• First of all the basic information regarding the program which
consists of complex numbers. This program is solved by using
several methods like one can solve this program using user
defined functions concept, loops conditions, go to
statements. In this abstract we used the concept of
functions, while loop, for loop, switch case and if condition’s
which helps to execute the problem much easier .The
following steps are followed while implementing the given
program using if and while loop.
•
• The input is entered i.e., the value of choice (the menu no)
select the particular menu.
• Next it goes to particular menu and then goto the particular
function.
• It prints the resultant value which came from the execution.
INTRODUCTION
• C is a structured, high level machine independent language. C is
converted to a lower language which was understood by the
compiler. It allows the software developers to develop programs
without worrying about the hardware plat forms where there will be
implemented. The c language comes from the ALGOL which gives the
concept structured programming to the computer science
community. It was introduced early in 1960’s.
• C-language is robust language because c-supports richest of
operators and burden functions this consist of many operators,
operands, key words, special characters, many characters.
Structures
We have seen that arrays can be used to
represent a group of data items that belongs to
same data type. If we want to represent a
collection of data items of different data types
using a single name, then we cannot use an array.
C supports a constructed data type known as
Structure, which is a method for packing data of
different data types. A structure is a convenient
tool for handling a group of logically related data
items. Structures help to organize complex data
in a more meaningful way. It is a powerful
concept that we may often need to Use in our
program design.
Definition : A group of data items that belongs to different data types is
known as Structure.
‘Struct’ : It is a keyword and is used to declare a Structure.
• Declaration of structure:
•
• struct struct_name
• {
• Data item-1;
• Data item-2;
• …………
• …………
• Data item-n;
• };
•
•
• Declaration of structure variable:
•
• struct struct_name identifier;
•
• (or)
•
• struct struct_name dentifier-1,identifier-2,.......,identifier-n;
• (Access operator):
•
• It is used to access the data items of a structure with the help of
structure variable.
•
•
• Syntax:
• struct_variable . Data item;
•
• AIM:
•
• To develop a “Phonebook contact” application using c programming.
•
• This program is very useful now-a-days to store complete information
under single contact number.
•
• This program also has options to deletion and modification of the entered
contact number.
•
• Advantages:
• It becomes easy for the user to store complete information
(e-mail id, address, e.t.c) about his contact.
• It is easy for the user to just search his required contact
number by just typing name of the contact.
• Disadvantages:
• Sometimes it becomes difficult to store more contacts
(over 150).
•
• Future Enhancements:-
• It becomes even difficult to store contacts with two or
more contact numbers
• SOFTWARE REQUIREMENTS:
• This application is developed in Microsoft windows xp or later operating
system.
• This Phonebook application is coded and made using the following
compilers:
– Code::blocks.
– Turbo c.
• HARDWARE REQUIREMENTS:
• This Application size is 33Kb and the size of the code is 5Kb so such
amount of memory is required from hard disk.
• RAM: minimum 256MB.
• Mouse, keyboard.
DATA FLOW DIAGRAM
ALGORITHM
• Start.
• Display the options on the screen.
• Read name, address, father name, mother name, mobile number, gender.
• Print “WELCOME TO PHONEBOOK” and “Menu” on the screen
– Add contact
– Print all contacts
– Modify contacts
– Search contact
– Delete contact
– Close phone book
• Now for Addrecord(),arranging data as Enter name,Enter address,Enter
father name,Enter mother name,Enter phone book no, Enter Gender and
finally operations record saved ,Enter any key.
• Now for listrecord(),arranging data as
– if data is empty print file opening error in listing
– Elseprint your record: name,address,father,mother,mobile no,
Gender.
– After all these print enter any key
• Now for searchrecord(),arranging data as
– if data is insufficient print error in opening
– Else
– print enter name of contact to be searched and
• If (strcmp(p.name,name)==0)
• print detail information about name and name,address,father
name,mother name,mobile num, gender.
– After entering all these, print enter any key
• Now for deleterecord(),arranging the data as
– If (f==null)
– print contact’s data not added yet
• else
• if(f==null)
• print file opening error
• Else
• Print enter contact’s details.
• if (flag!=1)
– print no contact’s record to delete
– Else
– print record deleted successfully
– After entering all the data print enter any key
• for modifyrecord(),arranging the data as
– If (f==null)
– print contact’s data not added yet
– Else
– enter contact’s name to modify
• Print enter name , enter address , enter father name, enter
mother name,mobile number, save after entering the data
• print your data is modified
• Else
• print data is not found
• Finally print enter any key.
• Redisplay the menu for user required input.
Conclusion
• This program makes the user simpler to connect
to his contact. The contact personal information
and family information is stored under a single
number this would benefit the user to easily
search and locate his required contact. This
program deals with four operations of adding
contacts, deleting them, modifying, searching
according the user’s choice. Each operation is
made as an individual function and so control
enters to different structures and all the data
added or modified or deleted is going to be stored
in a .txt fileusing FILE pointers.
Phonebook Contact Management Program

More Related Content

Viewers also liked

Servizi CGN - Presentazione servizi e novità 2016
Servizi CGN - Presentazione servizi e novità 2016Servizi CGN - Presentazione servizi e novità 2016
Servizi CGN - Presentazione servizi e novità 2016Servizi CGN
 
7pasosparaelexitoenmarketing 110220084015-phpapp02
7pasosparaelexitoenmarketing 110220084015-phpapp027pasosparaelexitoenmarketing 110220084015-phpapp02
7pasosparaelexitoenmarketing 110220084015-phpapp02Milhuar Caceres
 
Visor Turístico Patrimonial de Posadas (Córdoba)
Visor Turístico Patrimonial de Posadas (Córdoba)Visor Turístico Patrimonial de Posadas (Córdoba)
Visor Turístico Patrimonial de Posadas (Córdoba)Patricio Soriano Castro
 
Research ethics overview for social science researchers
Research  ethics  overview for social science researchers Research  ethics  overview for social science researchers
Research ethics overview for social science researchers Sarah Quinton
 
La reproduccio
La reproduccioLa reproduccio
La reproduccioRafalNou
 

Viewers also liked (9)

Servizi CGN - Presentazione servizi e novità 2016
Servizi CGN - Presentazione servizi e novità 2016Servizi CGN - Presentazione servizi e novità 2016
Servizi CGN - Presentazione servizi e novità 2016
 
7pasosparaelexitoenmarketing 110220084015-phpapp02
7pasosparaelexitoenmarketing 110220084015-phpapp027pasosparaelexitoenmarketing 110220084015-phpapp02
7pasosparaelexitoenmarketing 110220084015-phpapp02
 
Agriculture Paper
Agriculture PaperAgriculture Paper
Agriculture Paper
 
Visor Turístico Patrimonial de Posadas (Córdoba)
Visor Turístico Patrimonial de Posadas (Córdoba)Visor Turístico Patrimonial de Posadas (Córdoba)
Visor Turístico Patrimonial de Posadas (Córdoba)
 
Mi mascota favorita
Mi mascota favoritaMi mascota favorita
Mi mascota favorita
 
Research ethics overview for social science researchers
Research  ethics  overview for social science researchers Research  ethics  overview for social science researchers
Research ethics overview for social science researchers
 
Gingival tissue management
Gingival tissue management Gingival tissue management
Gingival tissue management
 
Proceso EIA
Proceso EIAProceso EIA
Proceso EIA
 
La reproduccio
La reproduccioLa reproduccio
La reproduccio
 

Similar to Phonebook Contact Management Program

A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook applicationsvrohith 9
 
Bangladesh university of business and technology
Bangladesh university of business and technologyBangladesh university of business and technology
Bangladesh university of business and technologyMdmahabuburRahmanLiz
 
Programming using C++ - slides.pptx
Programming using C++ - slides.pptxProgramming using C++ - slides.pptx
Programming using C++ - slides.pptxHeadoftheDepartment
 
cminiproject-151115084708-lva1-app6892.pdf
cminiproject-151115084708-lva1-app6892.pdfcminiproject-151115084708-lva1-app6892.pdf
cminiproject-151115084708-lva1-app6892.pdfTasnimAbida
 
A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook applicationsvrohith 9
 
Fundamentals of Data Structures Unit 1.pptx
Fundamentals of Data Structures Unit 1.pptxFundamentals of Data Structures Unit 1.pptx
Fundamentals of Data Structures Unit 1.pptxVigneshkumar Ponnusamy
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEMMansi Tyagi
 
Grade 11-Q1_W3-PECS_AQS.pdf
Grade 11-Q1_W3-PECS_AQS.pdfGrade 11-Q1_W3-PECS_AQS.pdf
Grade 11-Q1_W3-PECS_AQS.pdfVictor Sinangote
 
Key Skills Required for Data Engineering
Key Skills Required for Data EngineeringKey Skills Required for Data Engineering
Key Skills Required for Data EngineeringFibonalabs
 
Data Science - Part II - Working with R & R studio
Data Science - Part II -  Working with R & R studioData Science - Part II -  Working with R & R studio
Data Science - Part II - Working with R & R studioDerek Kane
 
C++ advanced PPT.pdf
C++ advanced PPT.pdfC++ advanced PPT.pdf
C++ advanced PPT.pdfDinashMaliya3
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented languagefarhan amjad
 

Similar to Phonebook Contact Management Program (20)

A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook application
 
Bangladesh university of business and technology
Bangladesh university of business and technologyBangladesh university of business and technology
Bangladesh university of business and technology
 
Programming using C++ - slides.pptx
Programming using C++ - slides.pptxProgramming using C++ - slides.pptx
Programming using C++ - slides.pptx
 
cminiproject-151115084708-lva1-app6892.pdf
cminiproject-151115084708-lva1-app6892.pdfcminiproject-151115084708-lva1-app6892.pdf
cminiproject-151115084708-lva1-app6892.pdf
 
A c program of Phonebook application
A c program of Phonebook applicationA c program of Phonebook application
A c program of Phonebook application
 
Fundamentals of Data Structures Unit 1.pptx
Fundamentals of Data Structures Unit 1.pptxFundamentals of Data Structures Unit 1.pptx
Fundamentals of Data Structures Unit 1.pptx
 
Telephone directory
Telephone directoryTelephone directory
Telephone directory
 
Notes of c programming 1st unit BCA I SEM
Notes of c programming  1st unit BCA I SEMNotes of c programming  1st unit BCA I SEM
Notes of c programming 1st unit BCA I SEM
 
Intro To C++ - Class 14 - Midterm Review
Intro To C++ - Class 14 - Midterm ReviewIntro To C++ - Class 14 - Midterm Review
Intro To C++ - Class 14 - Midterm Review
 
Chapter 1
Chapter 1Chapter 1
Chapter 1
 
Grade 11-Q1_W3-PECS_AQS.pdf
Grade 11-Q1_W3-PECS_AQS.pdfGrade 11-Q1_W3-PECS_AQS.pdf
Grade 11-Q1_W3-PECS_AQS.pdf
 
Key Skills Required for Data Engineering
Key Skills Required for Data EngineeringKey Skills Required for Data Engineering
Key Skills Required for Data Engineering
 
Data Science - Part II - Working with R & R studio
Data Science - Part II -  Working with R & R studioData Science - Part II -  Working with R & R studio
Data Science - Part II - Working with R & R studio
 
C++ advanced PPT.pdf
C++ advanced PPT.pdfC++ advanced PPT.pdf
C++ advanced PPT.pdf
 
Lab 2 software
Lab 2   softwareLab 2   software
Lab 2 software
 
Lecture 1.pptx
Lecture 1.pptxLecture 1.pptx
Lecture 1.pptx
 
Lecture2
Lecture2Lecture2
Lecture2
 
Lecture2
Lecture2Lecture2
Lecture2
 
Introduction to object oriented language
Introduction to object oriented languageIntroduction to object oriented language
Introduction to object oriented language
 
[OOP - Lec 02] Why do we need OOP
[OOP - Lec 02] Why do we need OOP[OOP - Lec 02] Why do we need OOP
[OOP - Lec 02] Why do we need OOP
 

Recently uploaded

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxAsutosh Ranjan
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Call Girls in Nagpur High Profile
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxpurnimasatapathy1234
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordAsst.prof M.Gokilavani
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSRajkumarAkumalla
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSISrknatarajan
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)Suman Mia
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130Suhani Kapoor
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...ranjana rawat
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSKurinjimalarL3
 

Recently uploaded (20)

Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(PRIYA) Rajgurunagar Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Coefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptxCoefficient of Thermal Expansion and their Importance.pptx
Coefficient of Thermal Expansion and their Importance.pptx
 
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINEDJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
DJARUM4D - SLOT GACOR ONLINE | SLOT DEMO ONLINE
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...Top Rated  Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
Top Rated Pune Call Girls Budhwar Peth ⟟ 6297143586 ⟟ Call Me For Genuine Se...
 
Microscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptxMicroscopic Analysis of Ceramic Materials.pptx
Microscopic Analysis of Ceramic Materials.pptx
 
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete RecordCCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
CCS335 _ Neural Networks and Deep Learning Laboratory_Lab Complete Record
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICSHARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
HARDNESS, FRACTURE TOUGHNESS AND STRENGTH OF CERAMICS
 
UNIT-III FMM. DIMENSIONAL ANALYSIS
UNIT-III FMM.        DIMENSIONAL ANALYSISUNIT-III FMM.        DIMENSIONAL ANALYSIS
UNIT-III FMM. DIMENSIONAL ANALYSIS
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)Software Development Life Cycle By  Team Orange (Dept. of Pharmacy)
Software Development Life Cycle By Team Orange (Dept. of Pharmacy)
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
VIP Call Girls Service Kondapur Hyderabad Call +91-8250192130
 
Roadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and RoutesRoadmap to Membership of RICS - Pathways and Routes
Roadmap to Membership of RICS - Pathways and Routes
 
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
(SHREYA) Chakan Call Girls Just Call 7001035870 [ Cash on Delivery ] Pune Esc...
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICSAPPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
APPLICATIONS-AC/DC DRIVES-OPERATING CHARACTERISTICS
 

Phonebook Contact Management Program

  • 1.
  • 3. PRESENTED TO: Ms. Tanzina Akter Designation:Lecturer Department of Computer Science and Engineering
  • 4. DATE:01.12.2016 PRESENTD BY: Khandker Ashik Mahmud ID:161-15-6889 Toushiat Shaikh ID:161-15-7530 Sabbir Ahmed Likhon ID:161-15-6931 G.M. Taium Ahmed ID:161-15-6888 Md. Abu Sayem Akand ID:161-15-6975
  • 5. INDEX TITLE • Introduction • Aim of the Project • 2.1 Advantages & Disadvantages • 2.2 Future Implementation • Software & Hardware Details • Data Flow Diagram • Algorithm • Implementation
  • 6. Adding new records into the memory, listing them, modifying them and updating, search for contacts saved, and deleting the phonebook contacts are the basic functions which make up the main menu of this Phonebook application (as shown in the main menu screenshot below). Personal information such as Name, gender, Father’s name, Mother’s name, phone number, email and address are asked while adding a record into the Phonebook. After the initial addition of the contacts these records are then be modified, listed, searched for and removed if they are requires a change.
  • 7. • The program uses many functions in. These functions are easy to understand as their name only signifies their respective operations. These functions make the program to divide into individual modules and hence it makes the program simpler to understand. • void menu() – This function is used to display the main menu. • void start() – This functions calls the menu function mentioned above. • void back() – This function is used to go back to start. • void addrecord() – It adds a new Phonebook record. • void listrecord() – This function is used to view list of added records in file. • void modifyrecord() – This function is used to modify added records. • void deleterecord() – It deletes record from file. • void searchrecord() – It searches for added record by name.
  • 8. • The Title of the Program is to develop a program which deals with the combination of structures, arrays, File pointers and other functions. This program could do some operations on arrays such as insertion, deletion, sorting, searching, update, retrieve, merging, append,exit. • By implementing this program we can execute the inserted contact data, deletion of the data, searching, updating, append, exit with numbers by using arrays and file pointers. This program is implemented for only numbers that can enter into an array. To do this analysis manually it takes a lot of time and patience but by implementing this program using a high level language like C it becomes much easier. But before going to make final solution for the problem, the problem must be analysed.
  • 9. • First of all the basic information regarding the program which consists of complex numbers. This program is solved by using several methods like one can solve this program using user defined functions concept, loops conditions, go to statements. In this abstract we used the concept of functions, while loop, for loop, switch case and if condition’s which helps to execute the problem much easier .The following steps are followed while implementing the given program using if and while loop. • • The input is entered i.e., the value of choice (the menu no) select the particular menu. • Next it goes to particular menu and then goto the particular function. • It prints the resultant value which came from the execution.
  • 10. INTRODUCTION • C is a structured, high level machine independent language. C is converted to a lower language which was understood by the compiler. It allows the software developers to develop programs without worrying about the hardware plat forms where there will be implemented. The c language comes from the ALGOL which gives the concept structured programming to the computer science community. It was introduced early in 1960’s. • C-language is robust language because c-supports richest of operators and burden functions this consist of many operators, operands, key words, special characters, many characters.
  • 11. Structures We have seen that arrays can be used to represent a group of data items that belongs to same data type. If we want to represent a collection of data items of different data types using a single name, then we cannot use an array. C supports a constructed data type known as Structure, which is a method for packing data of different data types. A structure is a convenient tool for handling a group of logically related data items. Structures help to organize complex data in a more meaningful way. It is a powerful concept that we may often need to Use in our program design.
  • 12. Definition : A group of data items that belongs to different data types is known as Structure. ‘Struct’ : It is a keyword and is used to declare a Structure.
  • 13. • Declaration of structure: • • struct struct_name • { • Data item-1; • Data item-2; • ………… • ………… • Data item-n; • }; • • • Declaration of structure variable: • • struct struct_name identifier; • • (or) • • struct struct_name dentifier-1,identifier-2,.......,identifier-n;
  • 14. • (Access operator): • • It is used to access the data items of a structure with the help of structure variable. • • • Syntax: • struct_variable . Data item; • • AIM: • • To develop a “Phonebook contact” application using c programming. • • This program is very useful now-a-days to store complete information under single contact number. • • This program also has options to deletion and modification of the entered contact number. •
  • 15. • Advantages: • It becomes easy for the user to store complete information (e-mail id, address, e.t.c) about his contact. • It is easy for the user to just search his required contact number by just typing name of the contact. • Disadvantages: • Sometimes it becomes difficult to store more contacts (over 150). • • Future Enhancements:- • It becomes even difficult to store contacts with two or more contact numbers
  • 16. • SOFTWARE REQUIREMENTS: • This application is developed in Microsoft windows xp or later operating system. • This Phonebook application is coded and made using the following compilers: – Code::blocks. – Turbo c. • HARDWARE REQUIREMENTS: • This Application size is 33Kb and the size of the code is 5Kb so such amount of memory is required from hard disk. • RAM: minimum 256MB. • Mouse, keyboard.
  • 18.
  • 19.
  • 20. ALGORITHM • Start. • Display the options on the screen. • Read name, address, father name, mother name, mobile number, gender. • Print “WELCOME TO PHONEBOOK” and “Menu” on the screen – Add contact – Print all contacts – Modify contacts – Search contact – Delete contact – Close phone book • Now for Addrecord(),arranging data as Enter name,Enter address,Enter father name,Enter mother name,Enter phone book no, Enter Gender and finally operations record saved ,Enter any key. • Now for listrecord(),arranging data as – if data is empty print file opening error in listing – Elseprint your record: name,address,father,mother,mobile no, Gender. – After all these print enter any key
  • 21. • Now for searchrecord(),arranging data as – if data is insufficient print error in opening – Else – print enter name of contact to be searched and • If (strcmp(p.name,name)==0) • print detail information about name and name,address,father name,mother name,mobile num, gender. – After entering all these, print enter any key • Now for deleterecord(),arranging the data as – If (f==null) – print contact’s data not added yet • else • if(f==null) • print file opening error • Else • Print enter contact’s details. • if (flag!=1) – print no contact’s record to delete – Else – print record deleted successfully – After entering all the data print enter any key
  • 22. • for modifyrecord(),arranging the data as – If (f==null) – print contact’s data not added yet – Else – enter contact’s name to modify • Print enter name , enter address , enter father name, enter mother name,mobile number, save after entering the data • print your data is modified • Else • print data is not found • Finally print enter any key. • Redisplay the menu for user required input.
  • 23. Conclusion • This program makes the user simpler to connect to his contact. The contact personal information and family information is stored under a single number this would benefit the user to easily search and locate his required contact. This program deals with four operations of adding contacts, deleting them, modifying, searching according the user’s choice. Each operation is made as an individual function and so control enters to different structures and all the data added or modified or deleted is going to be stored in a .txt fileusing FILE pointers.