26
FACULTY INFORMATION MANAGEMENT SYSTEM Submitted in the partial fulfillment of the Degree of Bachelor of Technology (Integrated) In Computer Science and Engineering SUBMITTED BY:- GUIDED BY: Name - Rahul Mishra Miss Sukhdilpreet kaur Regd. No 10801091 Rollno R246A20 SUBMITTED TO Department of Computer Science and Engineering Lovely Professional University Phagwara

Faculty Information Manage Ment System

Embed Size (px)

DESCRIPTION

Faculty Information Manage Ment System

Citation preview

FORMAT OF TERM PAPER

FACULTY INFORMATION MANAGEMENT SYSTEM

Submitted in the partial fulfillment of the Degree of Bachelor of Technology (Integrated)

In

Computer Science and Engineering

SUBMITTED BY:- GUIDED BY:

Name - Rahul MishraMiss Sukhdilpreet kaur

Regd. No 10801091

Rollno R246A20

SUBMITTED TO

Department of Computer Science and Engineering Lovely Professional University Phagwara

ACKNOWLEDGEMENT

I take this opportunity to present my votes of thanks to all those guidepost who really acted as lightening pillars to enlighten our way throughout this project that has led to successful and satisfactory completion of this study.

We are really grateful to our HOD Mr. Rohit Dhand for providing us with an opportunity to undertake this project in this university and providing us with all the facilities. We are highly thankful to Miss Sukhdilpreet Kaur for her active support, valuable time and advice, whole-hearted guidance, sincere cooperation and pains-taking involvement during the study and in completing the assignment of preparing the said project within the time stipulated.

Lastly, We are thankful to all those, particularly the various friends , who have been instrumental in creating proper, healthy and conductive environment and including new and fresh innovative ideas for us during the project, their help, it would have been extremely difficult for us to prepare the project in a time bound framework.

Rahul Mishra

Registration no. 10801091

Rollno.R246A20

TABLE OF CONTENTS

1. Introduction

2. Proposed system

i. Description

ii. System requirements

3. Requirement Analysis

4. System Design

5. Source code

6. Testing

7. Future scope of project

INTRODUCTION

In the existing system, most of the records are maintained on paper. It becomes very inconvenient to modify the data. In the existing system, here is a possibility that the same data in different registers may have different values which means the entries of the same data do not match. This inconsistent state does not supply the concrete information which poses a problem in the case information related to particular search record.

Our project is very useful. User is no longer required to check his register in search of records, as now it can be searched over the software by choosing some options. The user need not to type in most of the information. He/she is just required to enter the desired options. On the whole it liberates the user from keeping lengthy manual records. In a nutshell, it abates the work load of an organization.

In todays world, no one likes to perform calculations on calculator or manually when computer is there. Every one wants his/her work to be done by computer automatically and displaying the result for further manipulations.

PROPOSED SYSTEM

The following documentation is a project the Faculty Information By Management System. It is a detailed summary of all the drawbacks of the old system and how the new proposed system overcomes these shortcomings. The new system takes into account the various factors while designing a new system. It keeps into the account the Economical bandwidth available for the new system. The foremost thing that is taken care of is the Need and Requirements of the User.

DESCRIPTION

Before developing software we keep following things in mind that we can develop powerful and quality software

PROBLEM STATEMENT

Problem statement was to design a module:

Which is user friendly

Which will restrict the user from accessing other users data.

Which will help user in viewing his data and privileges.

Which will help the administrator to handle all the changes.

FUNCTIONS TO BE PROVIDED:

The system will be user friendly and completely menu driven so that the users shall have no problem in using all options.

The system will be efficient and fast in response.

The system will be customized according to needs.

SYSTEM REQUIRMENTS

Operating system:MS Windows XP or Windows Vista

Language: C Language

Processor: Pentium IV Processor

RAM: 512 MB

Hard disk: 5 GB

REQUIREMENT ANALYSIS

This process is adopted when management of the system development, Personnel decide that the particular system needs improvement. The system development life cycle is the set of activities, carried out by the analyst, designers and users to develop and implement a system. The systems that are present in the nature follow common life cycle pattern. For example consider the raining system. Initially the rain falls into the river, river flows into sea, the sea water evaporates to form vapors, the vapors form clouds which again bring rain. Similarly consider a man made system initially a system is analyzed, designed and made operational by the efforts of system analysis. After successful operation or a number of users, the system becomes less and less effective by change in the environment. So these changes have to be incorporated in to the system by minor modifications. So the general activities from the life cycle of the system are given below:

Select ion and identification of the system to be studied

Preliminary study

Defining the system

Design and development of the system

Implementation of the system

SYSTEM DESIGN

Then we began with the design phase of the system. System design is a solution, a HOW TO approach to the creation of a new system. It translates system requirements into ways by which they can be made operational. It is a translational from a user oriented document to a document oriented programmers. For that, it provides the understanding and procedural details necessary for the implementation. Here we use Flowchart to supplement the working of the new system. The system thus made should be reliable, durable and above all should have least possible maintenance costs. It should overcome all the drawbacks of the Old existing system and most important of all meet the user requirements.

SOURCE CODE

.

#include

#include

#include

#include

#include

struct address

{

int hno;

int streetno;

char city[15];

char state[15];

char country[15];

};

struct work_details

{

char fid[5];

char dept[15];

char desig[15];

float basic;

};

struct gen_details

{

char fid[5];

char name[25];

struct address present_add;

struct address permanent_add;

};

struct payroll

{

char fid[5];

float TA;

float DA;

float HRA;

float MALL;

float bonus;

};

void wgen_det();

void rgen_det();

void wwork_det();

void rwork_det(char id[],int len);

void menu();

FILE * fp;

void main()

{

clrscr();

menu();

getch();

}

void menu()

{

char iid[5];

int ch;

clrscr();

printf("\n-----------------------------------------------------------\n");

printf("\n-----------------FACULTY MANAGEMENT SYSTEM-----------------\n");

printf("\n1. ADD GENERAL DETAILS OF FACULTY\n");

printf("\n2. READ GENERAL DETAILS OF FACULTY\n");

printf("\n3. ADD WORKING DETAILS OF FACULTY\n");

printf("\n4. READ WORKING DETAILS OF FACULTY\n");

printf("\n5. EXIT");

printf("\n-----------------------------------------------------------\n");

printf("\nEnter your Choice\n");

scanf("%d",&ch);

printf("\n-----------------------------------------------------------\n");

switch(ch)

{

case 1:

wgen_det();

break;

case 2:

rgen_det();

break;

case 3:

wwork_det();

break;

case 4:

printf("\nEnter the FACULTY ID no.\n");

scanf("%s",iid);

rwork_det(iid,5);

break;

default:

printf("\nYou have Entered wrong choice");

menu();

}

}

void rwork_det(char id[],int len)

{

struct work_details work;

long cnt=0;

int n;

fp=fopen("wrk_det.txt","r");

fread(&work,sizeof(work)+1,1,fp);

while(fp)

{

if((strcmp(work.fid,id)==0))

{

n=1;

cnt=ftell(fp);

break;

}

else

{

n=0;

// cnt++;

}

}

if(n==0)

{

printf("Record Not Found");

exit(1);

}

else

{

rewind(fp);

fseek(fp,cnt,0);

printf("\n-----------DETAILS OF FACULTY ID No.:- %s------------",id);

printf("\nDEPARTMENT\t: %s",work.dept);

printf("\nDESIGNATION\t: %s",work.desig);

printf("\nBASIC SALARY\t: %.2f",work.basic);

printf("\nLENGTH=%d",len);

}

fclose(fp);

}

void wwork_det()

{

struct work_details work;

fp=fopen("wrk_det.txt","a+");

printf("\n----------ENTER FACULTY WORKING DETAILS----------\n");

printf("\nEnter the Faculty Identity Number\n");

scanf("%s",work.fid);

printf("\nEnter the Department for this Faculty\n");

scanf("%s",work.dept);

printf("\nEnter the Designation for this Faculty\n");

scanf("%s",work.desig);

printf("\nEnter the Basic Salary of this Faculty\n");

scanf("%.2f",&work.basic);

fwrite(&work,sizeof(work),1,fp);

fclose(fp);

}

void wgen_det()

{

struct gen_details gen;

fp=fopen("general.txt","a+");

printf("\n-----------------ENTER FACULTY DETAILS------------------\n");

printf("\nEnter the Faculty Identity Number\n");

scanf("%s",gen.fid);

printf("\nEnter the Name of the Faculty\n");

scanf("%s",gen.name);

printf("\n---Enter The Present Address Details of Faculty---\n");

printf("\nEnter the House Number\n");

scanf("%d",&gen.present_add.hno);

printf("\nEnter the Street Number\n");

scanf("%d",&gen.present_add.streetno);

printf("\nEnter the Name of the city\n");

scanf("%s",gen.present_add.city);

printf("\nEnter the Name of the State\n");

scanf("%s",gen.present_add.state);

printf("\nEnter the Name of the Country\n");

scanf("%s",gen.present_add.country);

printf("\n---Enter The Permanent Address Details of Faculty---\n");

printf("\nEnter the House Number\n");

scanf("%d",&gen.permanent_add.hno);

printf("\nEnter the Street Number\n");

scanf("%d",&gen.permanent_add.streetno);

printf("\nEnter the Name of the city\n");

scanf("%s",gen.permanent_add.city);

printf("\nEnter the Name of the State\n");

scanf("%s",gen.permanent_add.state);

printf("\nEnter the Name of the Country\n");

scanf("%s",gen.permanent_add.country);

fwrite(&gen,sizeof(gen),1,fp);

fclose(fp);

}

void rgen_det()

{

struct gen_details genn;

fp=fopen("general.txt","r");

fread(&genn,sizeof(genn)+1,1,fp);

printf("\n--------------------DETAILS OF FACULTY---------------------\n");

printf("\nFID\t\t :%s",genn.fid);

printf("\nNAME\t\t :%s",genn.name);

printf("\nPRESENT ADDRESS---\n");

printf("\nHouse No :%d",genn.present_add.hno);

printf("\nStreet No :%d",genn.present_add.streetno);

printf("\nCity\t\t :%s",genn.present_add.city);

printf("\nState\t\t :%s",genn.present_add.state);

printf("\nCountry\t\t :%s",genn.present_add.country);

printf("\nPERMANENT ADDRESS---\n");

printf("\nHouse No :%d",genn.permanent_add.hno);

printf("\nStreet No :%d",genn.permanent_add.streetno);

printf("\nCity\t\t :%s",genn.permanent_add.city);

printf("\nState\t\t :%s",genn.permanent_add.state);

printf("\nCountry\t\t :%s",genn.permanent_add.country);

fclose(fp);

}

TESTING

Testing is the major control measure used during software development. Its basic function is to detect errors in the software. During requirement analysis and design, the output is a document that is usually textual and no executable. After the coding phase, computer programs are available that can be executed for testing purpose. This implies that testing not only, has to uncover errors introduced during coding, but also errors introduced during previous phase. Thus the goal of testing is to uncover the requirements, design and coding errors in the programs. So after testing the outputs of my project are as follows:

OUTPUT:--

-----------------------------------------------------------

-----------------FACULTY MANAGEMENT SYSTEM-----------------

1. ADD GENERAL DETAILS OF FACULTY

2. READ GENERAL DETAILS OF FACULTY

3. ADD WORKING DETAILS OF FACULTY

4. READ WORKING DETAILS OF FACULTY

5. EXIT

-----------------------------------------------------------

Enter your Choice

1

-----------------------------------------------------------

-----------------ENTER FACULTY DETAILS------------------

Enter the Faculty Identity Number

123456

Enter the Name of the Faculty

Suman

---Enter The Present Address Details of Faculty---

Enter the House Number

34/7

Enter the Street Number

Enter the Name of the city

Enter the Name of the State

6763

Enter the Name of the Country

India

FUTURE SCOPE OF THE PROJECT

Our project will be able to implement in future after making some changes and modifications as we make our project at a very low level. This project is seems to be very useful in future for the faculty information management system.

ACKNOWLEDGEMENT

I take this opportunity to present my votes of thanks to all those guidepost who really acted as lightening pillars to enlighten our way throughout this project that has led to successful and satisfactory completion of this study.

We are really grateful to our HOD Mr. Rohit Dhand for providing us with an opportunity to undertake this project in this university and providing us with all the facilities. We are highly thankful to Miss Sukhdilpreet Kaur for her active support, valuable time and advice, whole-hearted guidance, sincere cooperation and pains-taking involvement during the study and in completing the assignment of preparing the said project within the time stipulated.

Lastly, We are thankful to all those, particularly the various friends , who have been instrumental in creating proper, healthy and conductive environment and including new and fresh innovative ideas for us during the project, their help, it would have been extremely difficult for us to prepare the project in a time bound framework

Name-Harpreet & Rahul

Rollno-R246A19& R246A20

Regd-10801208&

10801091

Welcome to Faculty management

Enter your choice 1?

Add Details

Read Details

Working Details

Exit

Do you want to continue?

START

STOP