College Management System - C Language
College Management System - C Language
On
College Management System
Ms. Amanpreet Kaur & other faculty member for giving me wonderful
always ready to lend their helping hand to me. This project has give me
short and long run. I am very grateful to him for introducing me to some
simply full of ideas and whenever there was any need they shared those
great ideas and concept with me. And in the end I would like to thank all
AIESHA RAWAT
Roll No. 214374
Reg No. 1311826
DEOCC O Level
CONTENTS
1. Project: An Introduction
Summary
Need of Project
2. Objective
3. Requirement Analysis
5. Existing System
7. Design
9. Project Layout
10. Database
11. Benefits
13. Coding
14. Bibliography
INTRODUCTION
reduce paperwork.
Scope of Project:
better.
to human beings.
few keys. Reports can be easily obtained at the spur of the moment
telephone directory.
system data can be retrieved at much faster pace. Old records can be
Requirement for both the system and the software are documented and
The project must allow the user to take hard copy of the data.
The project must provide a graphical view of the data for the
should have easy to use navigation tools with some sort of assistance
Should serve almost all desires of the common user, i.e. must meet
the basic requirement criteria for a good Data Retrieval, Manipulation &
and less time worrying about which keystrokes to what within menu and
dialog boxes
MS.
what the mouse was doing, where the user was inside a menu, and
environment IDE.
Functional requirements:
All new books must be entered in the accession table first, to avoid
problems later.
A book must not be deleted from student profile unless and untill
entered.
Data requirements:
When solving a small problem, the entire problem can be tackled at once. For
solving larger problems, the basic principles the time-tested principle of “divide
and conquer”. Clearly, dividing in such a manner that all the divisions have to
elaborated, would mean, “divide into smaller pieces, so that each piece can be
conquered separately”.
A DFD, also known as “bubble chart,” has the purpose of clarifying system
in system design. So it is the starting point of the design phase that functionally
DFD consists of series of bubbles joined by lines represent data flows in the
system.
DFD SYMBOLS
which
information flows.
3. A circle or a “bubble” (some people use an oval bubble) represents a
process that transforms incoming data flows(s) into outgoing data flow(s).
4. An open rectangle is a data store-data at rest, or a temporary repository
of data.
MEANING COMMENT
Letter, etc.
registered
Account holder PROCESS CUSTOMER
User account
INFORMATION FILE
number
Check
Invoice
CONSTRUCTING DFD
DATA
INPUT DATA
EVENT
REGISTRAT
ION PROCESS
CONTENTS OF CONTENTS OF
APPLICANTS CO-APPLICANTS
save new
save new
delete
REGISTRATION
USER
User
INFORMATION first
first
next
next last
previous previous
last delete
save
save new delete
ACCOUNTS
DETAILS STORE IN FILE Pusrchasing
information
previous
first previou
new first s
next last
delete next last
ENTITY RELATIONSHIP DIAGRAM
.
Bank
P.NO. CONTENTS Acc.
Management
NO
PRIMARY
HA
S ADD. TO
PRIMARY User Acc. No.
COLLEGE’S
USER
RECORD NAME
DETAIL
CHECK
DETAILS
APPLIC_FEASIBLE
CAPACITY IS
User Acc.
NO. USER FEASIBLE
OK
INCORRECT
USER FEASIBLE 1
DIGRAMMATIC REPRESTATION OF SDLC
Impetus
for
change
Recognition of
need
Feasibility
study
Analysis
Design
Implementation
Post-implementation
Maintenance
Organization Sources of Environment based
based system ideas
Impetus
for Consumers
change
Top Management
Union
Recognition of
need Competition
User
Feasibility
study
Analysis
System Analyst
Design
Implementation
Post-implementation
Maintenance
STEPS IN SYSTEM DESIGN:
1
Detailed system
documentation
Out of
design
Design submitted
Input Cost
for approval
design justification
File design
Yes
Test program
Go to implementation
2
Process model used
requirements are well defined and reasonably stable, and in my project ‘College
The waterfall model, sometimes called the classic life cycle, suggests a
complete software.
I have defined activities and represented them into seperated process phases. All
the stages overlap and fed information to each other. It is not a simple linear
This model is appropriate for my project as I had ample of time for designing it,
so the time constraints were not there. This model generally takes more time to
complete the software life cycle as when a stage completes it is signed off and
Economical
The project is very cheap when compared to other commonly available Data
Easy to Master
The project provides a very friendly approach to its features, the look and
appearance of each control is designed in such a way that only by viewing them
Easy to Use
The project provides the user an easy approach to its functionality by providing
Toolbars that contains buttons for almost all required tasks. The user can easily
navigate from one part of the project to another without having any sort of
trouble.
Security
The project is divided into three measure applications: the Administrator, the
User and the Guest, the Administrator is authorized for modification of data and
can change Password for all the three levels; he can also change the values of
CD, OD & Interest. The user can modify the data but can not change Password,
CD, OD and Interest. The guest can only view the data but can not make any
changes.
Reliability
The project is highly reliable because there is no chance of any loss of data and
Time Saver
Data retrieval and storage using this system is much faster than maintaining the
record manually.
Further Improvement
The project has been created keeping in mind the most important requirements
for a good Data Retrieval, Manipulation & Storage System for a cooperative
society. But still we have vast scope for improvement. As we know that this
project can never be ended because the need of the user keeps on changing
above that the number of variable available in the present Database can be
increased and further more can have a change in the path of the data source.
Thus new modules that enhance the performance and quality of this project can
Changing the View or the Design of the Project, Adding new Modes for
Viewing Data and to accommodate any Changes in the Path of the Database.
Services provided to the user
system. It supports functions such as issue, return, the very basic functions of
It also maintains data about books about books, teachers, students records that
The functions that the College Management system provides are as follows:
to the system, for e.g. when department purchases a new book, the book’s
entry is inserted in the books database. This option has three choices:
Book: This choise allows entering data about newly purchased books into
the books database. The data entered includes book’s author, title, publisher,
cost and various other fields provided in the form. The data must be accurate
Teacher: This option is used for entering data for a new teacher in the
Student: This will enter new record for a student in student’s database.
databases. It is used when for e.g. a member leaves college or when book is
disposed of from College Management system. But care mustbe taken while
Management system because the system could loose any important data.
Book: This will enter a null value for the book whose accession number
Teacher: This will clear the record for a particular teacher whose
college.
Student: This will clear the record for the particular student whose record
needs to be deleted by entering her roll number in the required field. This option
Teacher: This will update the data of particular teacher, whose data has
changed like address, phone number, etc. by entering her identification number.
Student: This will update the data of student like address, course, etc. by
database. This function can search for data related to all the
three entities:
value in any one or more fields in the form to perform the search such as title or
author name.
Teacher: This will find out the particular teacher who currently has the
Student: This will find out the particular student who possesses the
particular book.
must meet
some criteria like she shouldnot have issued books to her maximum
issue and the due date by which the book must be returned.
Student: When a student loans a book, the entry of the book is stored
automatically in the student’s database with the due date of that book.
Teacher: In case a member of teaching staff loans a book the entry is
RETURN: Using this operation a member returns the items, which she
loaned, from the College Management system back to it. If the book, which is
loaned is not returned within specified time the member ends up as a defaulter
software.
database.
DISPLAY: This is used to display each and every record, i.e. record of
Book: Record of every book, i.e. it’s accession number, author name,
Teacher: Record of every teacher, i.e. her id, department, no. of books
books issued, etc., who is member of the college College Management system.
//**********************************************************
// INCLUDED HEADER FILES
//**********************************************************
#include <stdio.h>
#include <conio.h>
{
int regno;
char name[20];
char address[100];
char qualification[30];
float percentage;
char course[20];
float fees;
float totfee;
} student;
void main()
{
student college;
student engg(student college);
student mba(student college);
student msc(student college);
student mca(student college);
student show(student college);
student inform(student college);
int x;
char m;
do
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n************************************\n";
cout<<"\n1 FOR COURSE INFORMATION";
cout<<"\n2 FOR ENGINEERING";
cout<<"\n3 FOR MBA";
cout<<"\n4 FOR MSc";
cout<<"\n5 FOR MCA";
cout<<"\n6 FOR LISTING STUDENTS DETAIL";
cout<<"\n7 TO QUIT";
cout<<"\n************************************\n";
cin>>x;
switch(x)
{
case 1:
college= inform(college);
break;
case 2:
college=engg(college);
break;
case 3:
college= mba(college);
break;
case 4:
college= msc(college);
break;
case 5:
college= mca(college);
break;
case 6:
college= show(college);
break;
case 7:
break;
default:
cout<<"\aYOU HAD MADE INVALID ENTRY";
}
cout<<"\n\t\tDO YOU WANT TO CONTINUE (Y/N) :";
cin>>m;
}while(m=='y'||m=='Y');
clrscr();
cout<<"\n\n\n\n\n\n\n\n\n###########################################
###################################";
cout<<"\n\n\t\t\tPROGRAMMED BY AIESHA\n";
cout<<"\n########################################################
#######################\n";
getch();
}
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED PERCENTAGE
MUST BE ABOVE 60%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f =4;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!!!!!! MASTER OF SCIENCE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
if (college.percentage<80)
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 80%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee= college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f=6;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!! MASTER OF COMPUTER APPLICATION
!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
cout<<"\nENTER THE COURSE NAME:";
if (college.percentage<75)
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 75%";
}
else
{cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
typedef struct
{
int regno;
char name[20];
char address[100];
char qualification[30];
float percentage;
char course[20];
float fees;
float totfee;
} student;
void main()
{
student college;
student engg(student college);
student mba(student college);
student msc(student college);
student mca(student college);
student show(student college);
student inform(student college);
int x;
char m;
do
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n************************************\n";
cout<<"\n1 FOR COURSE INFORMATION";
cout<<"\n2 FOR ENGINEERING";
cout<<"\n3 FOR MBA";
cout<<"\n4 FOR MSc";
cout<<"\n5 FOR MCA";
cout<<"\n6 FOR LISTING STUDENTS DETAIL";
cout<<"\n7 TO QUIT";
cout<<"\n************************************\n";
cin>>x;
switch(x)
{
case 1:
college= inform(college);
break;
case 2:
college=engg(college);
break;
case 3:
college= mba(college);
break;
case 4:
college= msc(college);
break;
case 5:
college= mca(college);
break;
case 6:
college= show(college);
break;
case 7:
break;
default:
cout<<"\aYOU HAD MADE INVALID ENTRY";
}
cout<<"\n\t\tDO YOU WANT TO CONTINUE (Y/N) :";
cin>>m;
}while(m=='y'||m=='Y');
clrscr();
cout<<"\n\n\n\n\n\n\n\n\n###########################################
###################################";
cout<<"\n\n\t\t\tPROGRAMMED BY AMAL.K\n";
cout<<"\n########################################################
#######################\n";
getch();
}
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED PERCENTAGE
MUST BE ABOVE 60%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f =4;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!!!!!! MASTER OF SCIENCE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
if (college.percentage<80)
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 80%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee= college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f=6;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!! MASTER OF COMPUTER APPLICATION
!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
cout<<"\nENTER THE COURSE NAME:";
if (college.percentage<75)
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 75%";
}
else
{cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
typedef struct
{
int regno;
char name[20];
char address[100];
char qualification[30];
float percentage;
char course[20];
float fees;
float totfee;
} student;
void main()
{
student college;
student engg(student college);
student mba(student college);
student msc(student college);
student mca(student college);
student show(student college);
student inform(student college);
int x;
char m;
do
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n************************************\n";
cout<<"\n1 FOR COURSE INFORMATION";
cout<<"\n2 FOR ENGINEERING";
cout<<"\n3 FOR MBA";
cout<<"\n4 FOR MSc";
cout<<"\n5 FOR MCA";
cout<<"\n6 FOR LISTING STUDENTS DETAIL";
cout<<"\n7 TO QUIT";
cout<<"\n************************************\n";
cin>>x;
switch(x)
{
case 1:
college= inform(college);
break;
case 2:
college=engg(college);
break;
case 3:
college= mba(college);
break;
case 4:
college= msc(college);
break;
case 5:
college= mca(college);
break;
case 6:
college= show(college);
break;
case 7:
break;
default:
cout<<"\aYOU HAD MADE INVALID ENTRY";
}
cout<<"\n\t\tDO YOU WANT TO CONTINUE (Y/N) :";
cin>>m;
}while(m=='y'||m=='Y');
clrscr();
cout<<"\n\n\n\n\n\n\n\n\n###########################################
###################################";
cout<<"\n\n\t\t\tPROGRAMMED BY AMAL.K\n";
cout<<"\n########################################################
#######################\n";
getch();
}
{
int f=4;
clrscr();
cout<<"-------------------- UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!! MASTER OF BUSINESS ADMINISTRATION
!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
//{
if (college.percentage<60)
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED PERCENTAGE
MUST BE ABOVE 60%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f =4;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!!!!!! MASTER OF SCIENCE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
if (college.percentage<80)
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 80%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee= college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
student mca(student college)
{
int f=6;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!! MASTER OF COMPUTER APPLICATION
!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
cout<<"\nENTER THE COURSE NAME:";
if (college.percentage<75)
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 75%";
}
else
{cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
typedef struct
{
int regno;
char name[20];
char address[100];
char qualification[30];
float percentage;
char course[20];
float fees;
float totfee;
} student;
void main()
{
student college;
student engg(student college);
student mba(student college);
student msc(student college);
student mca(student college);
student show(student college);
student inform(student college);
int x;
char m;
do
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n************************************\n";
cout<<"\n1 FOR COURSE INFORMATION";
cout<<"\n2 FOR ENGINEERING";
cout<<"\n3 FOR MBA";
cout<<"\n4 FOR MSc";
cout<<"\n5 FOR MCA";
cout<<"\n6 FOR LISTING STUDENTS DETAIL";
cout<<"\n7 TO QUIT";
cout<<"\n************************************\n";
cin>>x;
switch(x)
{
case 1:
college= inform(college);
break;
case 2:
college=engg(college);
break;
case 3:
college= mba(college);
break;
case 4:
college= msc(college);
break;
case 5:
college= mca(college);
break;
case 6:
college= show(college);
break;
case 7:
break;
default:
cout<<"\aYOU HAD MADE INVALID ENTRY";
}
cout<<"\n\t\tDO YOU WANT TO CONTINUE (Y/N) :";
cin>>m;
}while(m=='y'||m=='Y');
clrscr();
cout<<"\n\n\n\n\n\n\n\n\n###########################################
###################################";
cout<<"\n\n\t\t\tPROGRAMMED BY AMAL.K\n";
cout<<"\n########################################################
#######################\n";
getch();
}
{
int f=4;
clrscr();
cout<<"-------------------- UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!! MASTER OF BUSINESS ADMINISTRATION
!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
//{
if (college.percentage<60)
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED PERCENTAGE
MUST BE ABOVE 60%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f =4;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!!!!!! MASTER OF SCIENCE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
if (college.percentage<80)
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 80%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee= college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f=6;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!! MASTER OF COMPUTER APPLICATION
!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
cout<<"\nENTER THE COURSE NAME:";
if (college.percentage<75)
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 75%";
}
else
{cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
#include<iostream.h>
#include<conio.h>
#include<iomanip.h>
typedef struct
{
int regno;
char name[20];
char address[100];
char qualification[30];
float percentage;
char course[20];
float fees;
float totfee;
} student;
void main()
{
student college;
student engg(student college);
student mba(student college);
student msc(student college);
student mca(student college);
student show(student college);
student inform(student college);
int x;
char m;
do
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n************************************\n";
cout<<"\n1 FOR COURSE INFORMATION";
cout<<"\n2 FOR ENGINEERING";
cout<<"\n3 FOR MBA";
cout<<"\n4 FOR MSc";
cout<<"\n5 FOR MCA";
cout<<"\n6 FOR LISTING STUDENTS DETAIL";
cout<<"\n7 TO QUIT";
cout<<"\n************************************\n";
cin>>x;
switch(x)
{
case 1:
college= inform(college);
break;
case 2:
college=engg(college);
break;
case 3:
college= mba(college);
break;
case 4:
college= msc(college);
break;
case 5:
college= mca(college);
break;
case 6:
college= show(college);
break;
case 7:
break;
default:
cout<<"\aYOU HAD MADE INVALID ENTRY";
}
cout<<"\n\t\tDO YOU WANT TO CONTINUE (Y/N) :";
cin>>m;
}while(m=='y'||m=='Y');
clrscr();
cout<<"\n\n\n\n\n\n\n\n\n###########################################
###################################";
cout<<"\n\n\t\t\tPROGRAMMED BY AMAL.K\n";
cout<<"\n########################################################
#######################\n";
getch();
}
{
int f=4;
clrscr();
cout<<"-------------------- UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!! MASTER OF BUSINESS ADMINISTRATION
!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
//{
if (college.percentage<60)
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED PERCENTAGE
MUST BE ABOVE 60%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f =4;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!!!!!! MASTER OF SCIENCE
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
if (college.percentage<80)
{clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 80%";
}
else
{cout<<"\nENTER THE COURSE NAME:";
cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee= college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
{
int f=6;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n!!!!!!!!!!!!!!!! MASTER OF COMPUTER APPLICATION
!!!!!!!!!!!!!!!!!!!!!!\n";
cout<<"\nENTER NAME OF STUDENT:";
cin>>college.name;
cout<<"\nENTER REGISTRATION NUMBER OF STUDENT:";
cin>>college.regno;
cout<<"\nENTER ADDRESS OF STUDENT:";
cin>>college.address;
cout<<"\nENTER QUALIFICATION OF STUDENT:";
cin>>college.qualification;
cout<<"\nENTER THE PERCENTAGE OF STUDENT:";
cin>>college.percentage;
cout<<"\nENTER THE COURSE NAME:";
if (college.percentage<75)
{
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\n\nSORRY YOU ARE NOT SELECTED
PERCENTAGE MUST BE ABOVE 75%";
}
else
{cin>>college.course;
cout<<"\nENTER THE FEES OF FIRST SEMESTER:";
cin>>college.fees;
college.totfee=college.fees * f;
clrscr();
cout<<"--------------------UNIVERSAL COLLEGE OF ENGINEERING---------
-------------\n";
cout<<"\n\n\n\n\n\n\n\\nCONGRAGULATION! YOU ARE SELECTED";
cout<<"\nTHE TOTAL FEES OF THE COURSE=\t"<<college.totfee;
}
return college;
}
It is integral part of any system’s development life cycle without which the
system developed is sure to fail and result in loss of economic and manpower
System testing is the stage of implementation, which aims at ensuring that the
program or system design is perfect, communication between the user and the
designer is not always complete or clear. All this can result in errors.
Another reason for system testing is its utility as a user oriented vehicle before
needs, thus the system should be tested to see whether it meets the user
requirements.
Module testing: Here testing is done at each module level. Each case has
System testing: Here testing is done after all the modules have been
integrated.
BIBLIOGRAPHY