SlideShare a Scribd company logo
BHARTI VIDYAPEETH DEEMED UNIVERSITY
COLLEGE OF ENGINEERING, PUNE
Dept. of Computer Engineering
SUBMITTED BY :
NAME:BHAVYA CHAWLA
ROLL NO:11
PRN:1614110153
CLASS:BTECH SEM-III
COMPUTER-1
UNDER THE GUIDANCE OF:
Prof. S. B. NIKAM
PDS – Subject Faculty
PRESENTATION ON
TOPIC: Employee Management System using Array of Structure
Operations in Employee Management
System.
 Insertion
 Deletion
 Display
 Sorting
 Searching
Insertion:
Handler is asked to insert details for employee in array of structure with each identity being stored in
unique index of Emlpoyee array.
void insert()
{int ch;
n++;
cout<<"nttEnter Details for Employee:";
do
{
cout<<"nID: ";
cin>>e[n].empid;
ar[m]=e[n].empid;
f=check();
}while(f==1);
cout<<"nName:nFirst Name: ";
gets(e[n].empnm);
cout<<"Last Name: ";
gets(e[n].empnm1);
cout<<"nContact NO.(8-digit): ";
cin>>e[n].empno;
cout<<"nDesignation: ";
cout<<"n1.Workern2.Salespersonn3.Foremann4.SalesOfficern5.ManagernEnter: ";
cin>>ch;
desig(ch,n);
cout<<"nYear of joining: ";
cin>>e[n].yoa;
m++; experience();
}
Deletion:
Allows handler to delete an employee from structure array and hide all its data
entries.
void delete()
{ int f=empty();
if(f==1)
cout<<"nList Empty";
else
{ int id;
cout<<"nEnter ID to be deleted? ";
cin>>id;
for(int i=1;i<m;i++)
{ if(id==ar[i])
{ for(int j=i;j<m;j++)
{ ar[j]=ar[j+1];
} //change all values
}
} m--;
} disp();
}
5
Display:
void disp()
{ int ch;
cout<<"ntt**Display Menu**n1.Display alln2.Display Employee";
cin>>ch;
if(ch==1)
{ cout<<"ntDetails:";
cout<<"nID"<<setw(10)<<"Name"<<setw(15)<<"Designation"<<setw(20)<<"Contact"<<setw(10)<<"Joining"<<setw(10)<<"Exp.";
for(int i=1;i<m;i++)
{ for(int j=1;j<=n;j++)
{ if(ar[i]==e[j].empid)
{ cout<<endl;
cout<<e[j].empid<<setw(10)<<e[j].empnm<<setw(15)<<e[j].desig<<setw(20)<<e[j].empno<<setw(10)<<e[j].yoa<<setw(10)<<e[j].exp;
cout<<endl;
cout<<setw(14)<<e[j].empnm1;
}
}
} getch();
}
else if(ch==2)
{ int id,f=0;
cout<<"nEnter Employee ID: ";
cin>>id;
for(int i=1;i<=n;i++)
{ if(id==e[i].empid)
{ cout<<"nName: "<<e[i].empnm;
cout<<"nDesignation: "<<e[i].desig;
cout<<"nContact: "<<e[i].empno;
cout<<"nJoining Date: "<<e[i].yoa;
cout<<"nExperience: "<<e[i].exp;
f=1;
}
} if(f==0) cout<<"nEmployee not Found ";
} getch(); }
Conclusion:
• It is used to represent multiple data items of same type by using only single name.
• It can be used to implement other data structures like linked lists, stacks, queues,
trees, graphs etc.
• 2D arrays are used to represent matrices.
• Array is static structure. It means that array is of fixed size. The memory which is
allocated to array can not be increased or reduced.
• Since array is of fixed size, if we allocate more memory than requirement then the
memory space will be wasted. And if we allocate less memory than requirement,
then it will create problem.
• Insertions and deletions are very difficult and time consuming.

More Related Content

What's hot

Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
Anjali Agrawal
 
15.project attendence managemnt system
15.project attendence managemnt system15.project attendence managemnt system
15.project attendence managemnt system
Haseeb Nasir
 
Employee management system in Software Engineering
Employee management system in Software EngineeringEmployee management system in Software Engineering
Employee management system in Software Engineering
Sadia Akter
 
Student management system project report c++
Student management system project report c++Student management system project report c++
Student management system project report c++
Student
 
Employee Management System in C++
Employee Management System in C++Employee Management System in C++
Employee Management System in C++
Jayant Gope
 
CRM
CRMCRM
CRM
smit02
 
Hospital Management System Project
Hospital Management System ProjectHospital Management System Project
Hospital Management System Project
Sanjit Yadav
 
Project Report on Employee Management System.docx
Project Report on Employee Management System.docxProject Report on Employee Management System.docx
Project Report on Employee Management System.docx
DhineshkumarPrakasam
 
System Design of Online Ticketing System
System Design of Online Ticketing SystemSystem Design of Online Ticketing System
System Design of Online Ticketing System
Shahriar Parvez
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
vivek shah
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation System
Priyanka Sharma
 
Student Management System Project Abstract
Student Management System Project AbstractStudent Management System Project Abstract
Student Management System Project Abstract
Udhayyagethan Mano
 
Contact management system , phone book management system
Contact management system , phone book management systemContact management system , phone book management system
Contact management system , phone book management system
romie1995
 
Project Proposal of an Employee Management System
Project Proposal of an Employee Management SystemProject Proposal of an Employee Management System
Project Proposal of an Employee Management System
NurFathihaTahiatSeeu
 
Electricitybillsystemreport
ElectricitybillsystemreportElectricitybillsystemreport
Electricitybillsystemreport
vikram mahendra
 
Hotel-Management-System Hotel-Management-SystemHotel-Management-SystemHotel-M...
Hotel-Management-System Hotel-Management-SystemHotel-Management-SystemHotel-M...Hotel-Management-System Hotel-Management-SystemHotel-Management-SystemHotel-M...
Hotel-Management-System Hotel-Management-SystemHotel-Management-SystemHotel-M...
dearsirbhartey
 
College Management System project
College Management System projectCollege Management System project
College Management System project
Manish Kushwaha
 
Computer science project work
Computer science project workComputer science project work
Computer science project work
rahulchamp2345
 
54039271 atm-project-report
54039271 atm-project-report54039271 atm-project-report
54039271 atm-project-report
Kalpana Reddy
 
Employee management system1
Employee management system1Employee management system1
Employee management system1
supriya
 

What's hot (20)

Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
15.project attendence managemnt system
15.project attendence managemnt system15.project attendence managemnt system
15.project attendence managemnt system
 
Employee management system in Software Engineering
Employee management system in Software EngineeringEmployee management system in Software Engineering
Employee management system in Software Engineering
 
Student management system project report c++
Student management system project report c++Student management system project report c++
Student management system project report c++
 
Employee Management System in C++
Employee Management System in C++Employee Management System in C++
Employee Management System in C++
 
CRM
CRMCRM
CRM
 
Hospital Management System Project
Hospital Management System ProjectHospital Management System Project
Hospital Management System Project
 
Project Report on Employee Management System.docx
Project Report on Employee Management System.docxProject Report on Employee Management System.docx
Project Report on Employee Management System.docx
 
System Design of Online Ticketing System
System Design of Online Ticketing SystemSystem Design of Online Ticketing System
System Design of Online Ticketing System
 
Employee Management System
Employee Management SystemEmployee Management System
Employee Management System
 
Presentation on Railway Reservation System
Presentation on Railway Reservation SystemPresentation on Railway Reservation System
Presentation on Railway Reservation System
 
Student Management System Project Abstract
Student Management System Project AbstractStudent Management System Project Abstract
Student Management System Project Abstract
 
Contact management system , phone book management system
Contact management system , phone book management systemContact management system , phone book management system
Contact management system , phone book management system
 
Project Proposal of an Employee Management System
Project Proposal of an Employee Management SystemProject Proposal of an Employee Management System
Project Proposal of an Employee Management System
 
Electricitybillsystemreport
ElectricitybillsystemreportElectricitybillsystemreport
Electricitybillsystemreport
 
Hotel-Management-System Hotel-Management-SystemHotel-Management-SystemHotel-M...
Hotel-Management-System Hotel-Management-SystemHotel-Management-SystemHotel-M...Hotel-Management-System Hotel-Management-SystemHotel-Management-SystemHotel-M...
Hotel-Management-System Hotel-Management-SystemHotel-Management-SystemHotel-M...
 
College Management System project
College Management System projectCollege Management System project
College Management System project
 
Computer science project work
Computer science project workComputer science project work
Computer science project work
 
54039271 atm-project-report
54039271 atm-project-report54039271 atm-project-report
54039271 atm-project-report
 
Employee management system1
Employee management system1Employee management system1
Employee management system1
 

Similar to Employee Management System

Javaadvance applet and applet life cycle.pptx
Javaadvance applet and applet life cycle.pptxJavaadvance applet and applet life cycle.pptx
Javaadvance applet and applet life cycle.pptx
sanjutoppo93
 
Employee Management (CS Project for 12th CBSE)
Employee Management (CS Project for 12th CBSE)Employee Management (CS Project for 12th CBSE)
Employee Management (CS Project for 12th CBSE)
PiyushKashyap54
 
C language.pptx
C language.pptxC language.pptx
C language.pptx
SANJUSANJEEVTOPPO
 
VTU Design and Analysis of Algorithms(DAA) Lab Manual by Nithin, VVCE, Mysuru...
VTU Design and Analysis of Algorithms(DAA) Lab Manual by Nithin, VVCE, Mysuru...VTU Design and Analysis of Algorithms(DAA) Lab Manual by Nithin, VVCE, Mysuru...
VTU Design and Analysis of Algorithms(DAA) Lab Manual by Nithin, VVCE, Mysuru...
Nithin Kumar,VVCE, Mysuru
 
computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)
Nitish Yadav
 
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISEWINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
Hitesh Mohapatra
 
Zoro123456789123456789123456789123456789
Zoro123456789123456789123456789123456789Zoro123456789123456789123456789123456789
Zoro123456789123456789123456789123456789
Ghh
 
labb123456789123456789123456789123456789
labb123456789123456789123456789123456789labb123456789123456789123456789123456789
labb123456789123456789123456789123456789
Ghh
 
school-management-by-shivkamal-singh.pdf
school-management-by-shivkamal-singh.pdfschool-management-by-shivkamal-singh.pdf
school-management-by-shivkamal-singh.pdf
ashishkum805
 
Lab manual data structure (cs305 rgpv) (usefulsearch.org) (useful search)
Lab manual data structure (cs305 rgpv) (usefulsearch.org)  (useful search)Lab manual data structure (cs305 rgpv) (usefulsearch.org)  (useful search)
Lab manual data structure (cs305 rgpv) (usefulsearch.org) (useful search)
Make Mannan
 
Oop concept in c++ by MUhammed Thanveer Melayi
Oop concept in c++ by MUhammed Thanveer MelayiOop concept in c++ by MUhammed Thanveer Melayi
Oop concept in c++ by MUhammed Thanveer Melayi
Muhammed Thanveer M
 
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdfI am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
petercoiffeur18
 
Object Oriented Programming - Value Types & Reference Types
Object Oriented Programming - Value Types & Reference TypesObject Oriented Programming - Value Types & Reference Types
Object Oriented Programming - Value Types & Reference Types
Dudy Ali
 
Hive in Practice
Hive in PracticeHive in Practice
Hive in Practice
András Fehér
 
Sql injection
Sql injectionSql injection
Sql injection
Nitish Kumar
 
Lab Manual Data Structure and Algorithm.docx
Lab Manual Data Structure and Algorithm.docxLab Manual Data Structure and Algorithm.docx
Lab Manual Data Structure and Algorithm.docx
RashidFaridChishti
 
Chapter 14 sql injection
Chapter 14 sql injectionChapter 14 sql injection
Chapter 14 sql injection
newbie2019
 
Data Structure in C++Doubly Linked Lists of ints httpstaffwww.pdf
Data Structure in C++Doubly Linked Lists of ints httpstaffwww.pdfData Structure in C++Doubly Linked Lists of ints httpstaffwww.pdf
Data Structure in C++Doubly Linked Lists of ints httpstaffwww.pdf
jyothimuppasani1
 
Python testing using mock and pytest
Python testing using mock and pytestPython testing using mock and pytest
Python testing using mock and pytest
Suraj Deshmukh
 

Similar to Employee Management System (19)

Javaadvance applet and applet life cycle.pptx
Javaadvance applet and applet life cycle.pptxJavaadvance applet and applet life cycle.pptx
Javaadvance applet and applet life cycle.pptx
 
Employee Management (CS Project for 12th CBSE)
Employee Management (CS Project for 12th CBSE)Employee Management (CS Project for 12th CBSE)
Employee Management (CS Project for 12th CBSE)
 
C language.pptx
C language.pptxC language.pptx
C language.pptx
 
VTU Design and Analysis of Algorithms(DAA) Lab Manual by Nithin, VVCE, Mysuru...
VTU Design and Analysis of Algorithms(DAA) Lab Manual by Nithin, VVCE, Mysuru...VTU Design and Analysis of Algorithms(DAA) Lab Manual by Nithin, VVCE, Mysuru...
VTU Design and Analysis of Algorithms(DAA) Lab Manual by Nithin, VVCE, Mysuru...
 
computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)computer project code ''payroll'' (based on datafile handling)
computer project code ''payroll'' (based on datafile handling)
 
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISEWINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
WINDOWS ADMINISTRATION AND WORKING WITH OBJECTS : PowerShell ISE
 
Zoro123456789123456789123456789123456789
Zoro123456789123456789123456789123456789Zoro123456789123456789123456789123456789
Zoro123456789123456789123456789123456789
 
labb123456789123456789123456789123456789
labb123456789123456789123456789123456789labb123456789123456789123456789123456789
labb123456789123456789123456789123456789
 
school-management-by-shivkamal-singh.pdf
school-management-by-shivkamal-singh.pdfschool-management-by-shivkamal-singh.pdf
school-management-by-shivkamal-singh.pdf
 
Lab manual data structure (cs305 rgpv) (usefulsearch.org) (useful search)
Lab manual data structure (cs305 rgpv) (usefulsearch.org)  (useful search)Lab manual data structure (cs305 rgpv) (usefulsearch.org)  (useful search)
Lab manual data structure (cs305 rgpv) (usefulsearch.org) (useful search)
 
Oop concept in c++ by MUhammed Thanveer Melayi
Oop concept in c++ by MUhammed Thanveer MelayiOop concept in c++ by MUhammed Thanveer Melayi
Oop concept in c++ by MUhammed Thanveer Melayi
 
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdfI am trying to change this code from STRUCTS to CLASSES, the members.pdf
I am trying to change this code from STRUCTS to CLASSES, the members.pdf
 
Object Oriented Programming - Value Types & Reference Types
Object Oriented Programming - Value Types & Reference TypesObject Oriented Programming - Value Types & Reference Types
Object Oriented Programming - Value Types & Reference Types
 
Hive in Practice
Hive in PracticeHive in Practice
Hive in Practice
 
Sql injection
Sql injectionSql injection
Sql injection
 
Lab Manual Data Structure and Algorithm.docx
Lab Manual Data Structure and Algorithm.docxLab Manual Data Structure and Algorithm.docx
Lab Manual Data Structure and Algorithm.docx
 
Chapter 14 sql injection
Chapter 14 sql injectionChapter 14 sql injection
Chapter 14 sql injection
 
Data Structure in C++Doubly Linked Lists of ints httpstaffwww.pdf
Data Structure in C++Doubly Linked Lists of ints httpstaffwww.pdfData Structure in C++Doubly Linked Lists of ints httpstaffwww.pdf
Data Structure in C++Doubly Linked Lists of ints httpstaffwww.pdf
 
Python testing using mock and pytest
Python testing using mock and pytestPython testing using mock and pytest
Python testing using mock and pytest
 

More from Bhavya Chawla

Version Control System - for Agile Software Project Management.
Version Control System - for Agile Software Project Management.Version Control System - for Agile Software Project Management.
Version Control System - for Agile Software Project Management.
Bhavya Chawla
 
computer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcodecomputer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcode
Bhavya Chawla
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
Bhavya Chawla
 
Ethical Hacking - sniffing
Ethical Hacking - sniffingEthical Hacking - sniffing
Ethical Hacking - sniffing
Bhavya Chawla
 
Sql introduction
Sql introductionSql introduction
Sql introduction
Bhavya Chawla
 
evolution of computers
 evolution of computers evolution of computers
evolution of computers
Bhavya Chawla
 
the generation of computers
the generation of computersthe generation of computers
the generation of computers
Bhavya Chawla
 

More from Bhavya Chawla (7)

Version Control System - for Agile Software Project Management.
Version Control System - for Agile Software Project Management.Version Control System - for Agile Software Project Management.
Version Control System - for Agile Software Project Management.
 
computer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcodecomputer graphics-C/C++-dancingdollcode
computer graphics-C/C++-dancingdollcode
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Ethical Hacking - sniffing
Ethical Hacking - sniffingEthical Hacking - sniffing
Ethical Hacking - sniffing
 
Sql introduction
Sql introductionSql introduction
Sql introduction
 
evolution of computers
 evolution of computers evolution of computers
evolution of computers
 
the generation of computers
the generation of computersthe generation of computers
the generation of computers
 

Recently uploaded

UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
Peter Muessig
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
Philip Schwarz
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
TheSMSPoint
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
lorraineandreiamcidl
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
brainerhub1
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
Peter Muessig
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
Rakesh Kumar R
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
Green Software Development
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
Sven Peters
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Envertis Software Solutions
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
Drona Infotech
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
SOCRadar
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
Quickdice ERP
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
VALiNTRY360
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
XfilesPro
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
timtebeek1
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
Remote DBA Services
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Crescat
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
kalichargn70th171
 

Recently uploaded (20)

UI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design SystemUI5con 2024 - Bring Your Own Design System
UI5con 2024 - Bring Your Own Design System
 
Hand Rolled Applicative User Validation Code Kata
Hand Rolled Applicative User ValidationCode KataHand Rolled Applicative User ValidationCode Kata
Hand Rolled Applicative User Validation Code Kata
 
Transform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR SolutionsTransform Your Communication with Cloud-Based IVR Solutions
Transform Your Communication with Cloud-Based IVR Solutions
 
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOMLORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
LORRAINE ANDREI_LEQUIGAN_HOW TO USE ZOOM
 
Unveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdfUnveiling the Advantages of Agile Software Development.pdf
Unveiling the Advantages of Agile Software Development.pdf
 
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s EcosystemUI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
UI5con 2024 - Keynote: Latest News about UI5 and it’s Ecosystem
 
Fundamentals of Programming and Language Processors
Fundamentals of Programming and Language ProcessorsFundamentals of Programming and Language Processors
Fundamentals of Programming and Language Processors
 
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, FactsALGIT - Assembly Line for Green IT - Numbers, Data, Facts
ALGIT - Assembly Line for Green IT - Numbers, Data, Facts
 
Microservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we workMicroservice Teams - How the cloud changes the way we work
Microservice Teams - How the cloud changes the way we work
 
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative AnalysisOdoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
Odoo ERP Vs. Traditional ERP Systems – A Comparative Analysis
 
Mobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona InfotechMobile App Development Company In Noida | Drona Infotech
Mobile App Development Company In Noida | Drona Infotech
 
socradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdfsocradar-q1-2024-aviation-industry-report.pdf
socradar-q1-2024-aviation-industry-report.pdf
 
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit ParisNeo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
Neo4j - Product Vision and Knowledge Graphs - GraphSummit Paris
 
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian CompaniesE-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
E-Invoicing Implementation: A Step-by-Step Guide for Saudi Arabian Companies
 
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdfTop Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
Top Benefits of Using Salesforce Healthcare CRM for Patient Management.pdf
 
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
Everything You Need to Know About X-Sign: The eSign Functionality of XfilesPr...
 
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdfAutomated software refactoring with OpenRewrite and Generative AI.pptx.pdf
Automated software refactoring with OpenRewrite and Generative AI.pptx.pdf
 
Oracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptxOracle Database 19c New Features for DBAs and Developers.pptx
Oracle Database 19c New Features for DBAs and Developers.pptx
 
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
Introducing Crescat - Event Management Software for Venues, Festivals and Eve...
 
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf8 Best Automated Android App Testing Tool and Framework in 2024.pdf
8 Best Automated Android App Testing Tool and Framework in 2024.pdf
 

Employee Management System

  • 1. BHARTI VIDYAPEETH DEEMED UNIVERSITY COLLEGE OF ENGINEERING, PUNE Dept. of Computer Engineering SUBMITTED BY : NAME:BHAVYA CHAWLA ROLL NO:11 PRN:1614110153 CLASS:BTECH SEM-III COMPUTER-1 UNDER THE GUIDANCE OF: Prof. S. B. NIKAM PDS – Subject Faculty PRESENTATION ON TOPIC: Employee Management System using Array of Structure
  • 2. Operations in Employee Management System.  Insertion  Deletion  Display  Sorting  Searching
  • 3. Insertion: Handler is asked to insert details for employee in array of structure with each identity being stored in unique index of Emlpoyee array. void insert() {int ch; n++; cout<<"nttEnter Details for Employee:"; do { cout<<"nID: "; cin>>e[n].empid; ar[m]=e[n].empid; f=check(); }while(f==1); cout<<"nName:nFirst Name: "; gets(e[n].empnm); cout<<"Last Name: "; gets(e[n].empnm1); cout<<"nContact NO.(8-digit): "; cin>>e[n].empno; cout<<"nDesignation: "; cout<<"n1.Workern2.Salespersonn3.Foremann4.SalesOfficern5.ManagernEnter: "; cin>>ch; desig(ch,n); cout<<"nYear of joining: "; cin>>e[n].yoa; m++; experience(); }
  • 4.
  • 5. Deletion: Allows handler to delete an employee from structure array and hide all its data entries. void delete() { int f=empty(); if(f==1) cout<<"nList Empty"; else { int id; cout<<"nEnter ID to be deleted? "; cin>>id; for(int i=1;i<m;i++) { if(id==ar[i]) { for(int j=i;j<m;j++) { ar[j]=ar[j+1]; } //change all values } } m--; } disp(); } 5
  • 6. Display: void disp() { int ch; cout<<"ntt**Display Menu**n1.Display alln2.Display Employee"; cin>>ch; if(ch==1) { cout<<"ntDetails:"; cout<<"nID"<<setw(10)<<"Name"<<setw(15)<<"Designation"<<setw(20)<<"Contact"<<setw(10)<<"Joining"<<setw(10)<<"Exp."; for(int i=1;i<m;i++) { for(int j=1;j<=n;j++) { if(ar[i]==e[j].empid) { cout<<endl; cout<<e[j].empid<<setw(10)<<e[j].empnm<<setw(15)<<e[j].desig<<setw(20)<<e[j].empno<<setw(10)<<e[j].yoa<<setw(10)<<e[j].exp; cout<<endl; cout<<setw(14)<<e[j].empnm1; } } } getch(); } else if(ch==2) { int id,f=0; cout<<"nEnter Employee ID: "; cin>>id; for(int i=1;i<=n;i++) { if(id==e[i].empid) { cout<<"nName: "<<e[i].empnm; cout<<"nDesignation: "<<e[i].desig; cout<<"nContact: "<<e[i].empno; cout<<"nJoining Date: "<<e[i].yoa; cout<<"nExperience: "<<e[i].exp; f=1; } } if(f==0) cout<<"nEmployee not Found "; } getch(); }
  • 7.
  • 8. Conclusion: • It is used to represent multiple data items of same type by using only single name. • It can be used to implement other data structures like linked lists, stacks, queues, trees, graphs etc. • 2D arrays are used to represent matrices. • Array is static structure. It means that array is of fixed size. The memory which is allocated to array can not be increased or reduced. • Since array is of fixed size, if we allocate more memory than requirement then the memory space will be wasted. And if we allocate less memory than requirement, then it will create problem. • Insertions and deletions are very difficult and time consuming.