SlideShare a Scribd company logo
LoveLy 
ProfessionaL 
University 
TERM PAPER 
Of 
fOUNDATION Of COMPUTING 
TOPIC: -UMS RECORD SySTEM 
SUbMITTED TO: - SUbMITTED by:- 
MS. SUkhDIlPREET kAUR NAME:-IShANT ShARMA 
lECTURER lPU ROll NO:-R246b57 
SECTION:-246 
REGD NO:-10800728
ACkNOWlEDGEMENT 
It is not until you undertake the project like this one that you realize 
how massive the effort it really is, or how much you must rely upon 
the Selfless efforts and goodwill of others. There are many who 
helped us with this project, and we want to thank them all from the 
core of our Hearts. 
We owe special words of thanks to our Teachers 
MS.SUKHDILPREET KAUR for their vision, thoughtful 
counseling and encouragement at every step of the project. We are 
also thankful to the teachers of the Department for giving us the best 
of knowledge and guidance throughout the project. 
And last but not the least, we find no words to acknowledge the 
financial assistance & moral support rendered by our parents in 
making the effort a success. All this has become reality because of 
their blessings and above all by the grace of god.
TAblE Of CONTENTS 
S.No Content 
1 INTRODUCTION 
2 Proposed system 
(a) Description 
(b) System Requirements 
3 Requirement analysis 
4 System Design 
5 Source code 
6 Testing 
7 Future scope of project
OVERVIEW TO C 
hISTORy Of C: 
C is a popular general purpose programming language. It is one 
of the most popular computer languages today, because it is a 
structured, high level, machine independent language. 
The root of all modern language is ALGOL, introduced in early 
1960’s. ALGOL was the 1st computer language to use a block 
structure. Subsequently, several other languages were announced 
after 1960’s. In 1967, Martin Richard developed a language called 
BCPL i.e. basic combined programming language mainly for writing 
system software. In 1970, Ken Thompson created a language using 
many features of BCPL and called it simply B. B was used to create 
early version of UNIX operating system. 
C was evolved from ALGOL, BCPL, and B by Dennis Ritchie at the 
Bell Laboratories in 1972, strongly associated with UNIX. During 
1970’s, C had evolved into the “TRADITIONAL C”. With the 
publication of the book ‘The C Programming language’ by Brian 
Kernighan and Dennis Ritchie in 1978, it becomes more powerful. 
In 1983, American National Standards Institutes (ANSI) appointed a 
technical committee to define a standard for C. The committee 
approved a version of C in December 1989, which is now known as
ANSI C. It was then approved by International Standard 
Organization (ISO) in 1990. 
IMPORTANCE Of C: 
The increasing popularity of C is probably due to its many 
desirable qualities. The C compiler combines the capabilities of an 
assembly language with the features of a high level language and 
therefore it is well suited for writing both system software and 
business packages. In fact many of the C compilers available in the 
market are written in C. Programs written in C are efficient and fast. 
This is due to its variety of data types and powerful operators. It is 
many times faster than BASIC. 
There are only 32 key words in ANSI C and its strength lies in its 
built in functions. C is highly portable; this means that C programs 
written for one computer can be run on another with little or no 
modifications. C language is well suited for structured programming, 
thus requiring the user to think of a problem in terms of function 
modules or blocks. This modular structure makes program de-bugging, 
testing and maintenance easier. Another important feature 
of C is its ability to extend itself. We can continuously add our own 
functions to C library, thus our programming task becomes so easier 
and simple.
INTRODUCTION: 
We have discussed so far various features of C language and are 
ready to write and execute program of modest complexity. However, 
before attempting to develop complex programs, it is worthwhile to 
consider some programming techniques that would help design 
efficient and error free. 
The program development process includes three important stages, 
namely, program design, program coding and program testing. All 
the three stages contribute to the production of high quality program. 
In “UMS RECORD MANAGEMENT SYSTEM” we have done 
system design, source coding, and program testing and added many 
more features to facilitate the user with the best. We have given the 
user the facility to enter the Student’s record and see whether the 
user is provided with the complete information. 
We can improve the efficiency of the system, thus overcome the 
drawbacks of the existing system. 
· Less human error 
· Strength and strain of registers and papers can be reduced 
· High security 
· Data consistency 
· Easy to handle 
· Easy data updating
· Easy record keeping 
· Backup data can be easily generated 
IntroductIon of program 
management system 
We can make this Student record management system in C language by using 
three or more than three header files or many data types such as: 
1. #include<stdio.h> : this header file will contain Scanf() , Printf () And, 
there are many header files which are used in this program…. 
2. #include<conio.h>: this header file will contain Clrscr(); , Getch(); , and 
many more…. 
3 . #include<string.h> : this header file will contain string 
function. 
4 . #include<ctype .h>
system reQuIrements 
Operating System: Windows 2000/NT/Xp/Vista 
RAM: 256 MB or more 
HARD DISK 40 GB or more 
Processor P3 or High 
Compiler Standard C++ Compiler
system descrIptIon 
THE OPERATING SYSTEM USED IN THIS PROJECT IS 
WINDOWSXPIT HAS MICROSOFT OFFICE INSTALLED IN IT. 
IT HAS RAM OF 2GB. HARD DISK CAPACITY OF 
OPERATING SYSTEM IS 250GB. IT CONSISTS OF PENTIUM-4 
PROCESSOR.THE OPEREATING SYSTEM ALSO HAS C++ 
COMPILER. THE SYSTEM ALSO HAS TYPE CONVERSIONS 
WHICH CONVERT LOWER TO UPPER TYPE. THE 
OPERATING SYSTEM HAVE 1GB RAM FOR MICROSOFT 
WORLD.
START 
source code 
#include<stdio.h> 
#include<conio.h> 
#include<string.h> 
STOP 
#include<dos.h> 
#include<stdlib.h> 
PRESS[A] 
CREATE FILE 
MAIN MENU 
ENTER YOUR 
CHOICE 
PRESS[B] 
ADD RECORD 
PRESS[C] 
LIST RECORD 
PRESS[D] 
QUIT 
PROGRAME 
WRONG KEY 
YES NO Student 
name 
First 
name 
Last 
name 
Middle 
name 
Course 
code 
record 
PRINT
#include<ctype.h> 
FILE *fp; 
struct UMS 
{ 
char snum[13]; 
char fname[20]; 
char sname[20]; 
char mi; 
char ccode; 
}record; 
void Temp1(void); 
void twolinebox(int x1,int y1,int x2,int y2) 
{ 
int x,y; 
gotoxy(x1,y1); printf("É"); 
gotoxy(x2,y1); printf("»"); 
for(y=y1+1;y<y2;y++){ 
gotoxy(x1,y); printf("º"); 
gotoxy(x2,y); printf("º"); 
} 
gotoxy(x1,y2); printf("È"); 
gotoxy(x2,y2); printf("¼"); 
for(x=x1+1;x<x2;x++){ 
gotoxy(x,y1); printf("Í");
gotoxy(x,y2); printf("Í"); 
} 
gotoxy(x1+1,y1+1); 
} 
void printxy(int x,int y,char string[]) 
{ 
gotoxy(x,y); printf("%s",string); 
} 
void center(int y,char string[]) 
{ 
int x=(80-strlen(string)+1)/2; 
gotoxy(x,y);printf("%s",string); 
} 
void Create(void) 
{ 
char opt; 
center(21,"WARNING!!!"); 
center(22,"You are about to create a new file"); 
center(23,"This will erase all records in the file..."); 
center(24,"Are you sure you want to proceed?[Y/N] "); 
opt=getche(); opt=toupper(opt); 
if(opt=='Y')
{ 
fp=fopen("Group4.txt","w"); 
center(24," "); 
center(24,"File successfully created!"); 
} 
getch(); 
fclose(fp); 
} 
void Add(void){ 
char opt; 
fp=fopen("Group4.txt","a"); 
clrscr(); 
Temp1(); 
gotoxy(19,8); scanf(" "); gets(record.snum); 
gotoxy(19,10); scanf(" "); gets(record.fname); 
gotoxy(19,12); scanf(" "); gets(record.sname); 
gotoxy(19,14); record.mi=getche(); record.mi=toupper(record.mi); 
gotoxy(19,16); record.ccode=getche(); 
record.ccode=toupper(record.ccode); 
gotoxy(5,22); clreol(); printxy(79,22,"º"); 
fprintf(fp,"%s %s %s %c 
%c",record.snum,record.fname,record.sname,record.mi,record.ccode); 
gotoxy(5,21); clreol(); center(21,"Record successfully added!"); 
printxy(79,21,"º"); gotoxy(53,22); delay(1000);
center(22,"Press any key to go to main menu..."); getch(); 
fclose(fp); 
} 
void Temp1(void) 
{ 
twolinebox(2,6,79,20); 
twolinebox(2,20,79,24); 
twolinebox(2,2,79,24); 
center(4,"ADD RECORD"); 
printxy(6,8,"Student no: "); 
printxy(6,10,"First Name: "); 
printxy(6,12,"Last Name: "); 
printxy(6,14,"Middle init:"); 
printxy(6,16,"Course code: "); 
center(22,"Course code: [A]-CompSci, [B]-for InfoTech, [anykey]-Sevices"); 
gotoxy(19,7); 
} 
void List(void) 
{ 
int count=0,i,x=0,page=1,CS=0,IT=0,Serv=0; 
fp=fopen("Group4.txt","r"); 
clrscr(); 
center(2,"LOVELY SCHOOL OF ENGINEERING"); 
center(3,"G.T ROAD,PHAGWARA");
center(5,"COMPUTER SCIENCE DEPARTMENT"); 
printxy(10,7,"Record Student # NameCourse"); 
for(i=1;i<80;i++){ gotoxy(i,8); puts("Í"); /*Alt-205*/ } 
while(fscanf(fp,"%s %s %s %c 
%c",&record.snum,&record.fname,&record.sname,&record.mi,&record.ccode) 
!=EOF) 
{ 
if(count!=0&&count%5==0){ printxy(5,23, "Press any key to continue..."); 
getch(); x=0; 
for(i=10;i<=24;i++){gotoxy(1,i); clreol();} 
page++; 
} 
gotoxy(70,4); printf("Page %d",page); 
gotoxy(13,10+x); printf("%d",count+1); 
gotoxy(19,10+x); printf("%s",record.snum); 
gotoxy(37,10+x); printf("%s, %s %c.",record.sname,record.fname,record.mi); 
gotoxy(62,10+x); 
switch(record.ccode){ 
case 'A': printf("CompSci"); CS++; break; 
case 'B': printf("InfoTech"); IT++; break; 
default : printf("Services"); Serv++; break; 
} 
x++; 
count++; 
}
printxy(25,17,"TOTAL"); 
gotoxy(15,18); printf("Comp Sci: %d",CS); 
gotoxy(15,19); printf("InfoTech: %d",IT); 
gotoxy(15,20); printf("Services: %d",Serv); 
printxy(5,23,"Press any key to go to main menu..."); 
getch(); 
fclose(fp); 
} 
void Quit(void){ 
clrscr(); 
twolinebox(2,2,79,24); 
center(8,"PROGRAMMED"); 
center(9,"BY"); 
center(11," ARPAN JOSEPH"); 
center(13,"ROLL NO B56"); 
center(14,"ISHANT SHARMA"); 
center(15,"ROLL NO B57"); 
delay(5000); 
exit(1); 
fclose(fp); 
} 
void Err_mess(void){ 
sound(1000); 
center(22,"Invalid Input!");
delay(1000); 
nosound(); 
} 
void main(){ 
char choice; 
do{ 
clrscr(); 
twolinebox(29,6,51,8); 
twolinebox(20,5,60,18); 
twolinebox(2,20,79,25); 
twolinebox(2,2,79,25); 
center(7,"MAIN MENU"); 
printxy(30,9,"Press:"); 
printxy(30,11,"[A]-Create File"); 
printxy(30,12,"[B]-Add Record"); 
printxy(30,13,"[C]-List Record"); 
printxy(30,14,"[D]-Quit Program"); 
printxy(30,16,"Enter your choice..."); gotoxy(50,16); 
choice=getch(); choice=toupper(choice); 
switch(choice){ 
case 'A': Create(); break; 
case 'B': Add(); break; 
case 'C': List(); break; 
case 'D': Quit(); break;
default: Err_mess(); break; 
} 
}while(choice!='D'); 
} 
OUTPUT SNAPSHOTS
TESTING
THE SOURCECODE DECLARED ABOVE FOR THE PROGRAM 
OF STUDENT RECOD MANAGEMENT SYSTEM HAS BEEN 
TESTED AND IT HAS BEEN FOUND THAT THE ABOVE 
SOURCE CODE IS OKAY AND CORRECT.THE PROGRAM 
INVOLVES MUCH TYPE OF CONVERSIONS. THESE 
CONVERSIONS HAS TO DONE CAREFULLY. 
MAINLY THERE ARE TWO TYPES OF TESTING: 
1-SYSTEM TESTING AND 
2-INTEGRATION TESTING 
SYSTEM TESTING INVOLVES WHOLE TESTING OF 
PROGRAM AT ONCE AND INTEGRATION TESTING 
INVOLVES THE BREAKING OF PROGRAM INTO MODULES 
& THEN TEST. 
FUTURE SCOPE
In future one change can be done by adding the fingerprints of the 
student of which the record is entered. And one more major change 
which can be done in this project is that to add the snaps of the 
student of which the record is entered. We can also add or subtract 
details of the individual.

More Related Content

Similar to Ums in c

Bsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c languageBsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c language
Rai University
 
Computing fundamentals lab record - Polytechnics
Computing fundamentals lab record - PolytechnicsComputing fundamentals lab record - Polytechnics
Computing fundamentals lab record - Polytechnics
SHAMJITH KM
 
Diploma ii cfpc u-1 introduction to c language
Diploma ii  cfpc u-1 introduction to c languageDiploma ii  cfpc u-1 introduction to c language
Diploma ii cfpc u-1 introduction to c language
Rai University
 
IP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG ProgrammeIP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG Programme
SAFAD ISMAIL
 
C Programming language - introduction
C Programming  language - introduction  C Programming  language - introduction
C Programming language - introduction
GopikaS12
 
Session 1 - c++ intro
Session   1 - c++ introSession   1 - c++ intro
Session 1 - c++ intro
VijayaNagarajan5
 
Btech i pic u-1 introduction to c language
Btech i pic u-1 introduction to c languageBtech i pic u-1 introduction to c language
Btech i pic u-1 introduction to c language
Rai University
 
introduction to c language
 introduction to c language introduction to c language
introduction to c language
Rai University
 
Mca i pic u-1 introduction to c language
Mca i pic u-1 introduction to c languageMca i pic u-1 introduction to c language
Mca i pic u-1 introduction to c language
Rai University
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
AKR Education
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
BAKRANIYA KALPESH
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
Sinbad Konick
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
Akshay Ithape
 
C Programming[Sample]
C Programming[Sample]C Programming[Sample]
C Programming[Sample]
Mostafa Ali
 
Purdue CS354 Operating Systems 2008
Purdue CS354 Operating Systems 2008Purdue CS354 Operating Systems 2008
Purdue CS354 Operating Systems 2008
guestd9065
 
computer science project for class 12 on telephone billing
computer science project for class 12 on telephone billingcomputer science project for class 12 on telephone billing
computer science project for class 12 on telephone billing
anshi acharya
 
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
Vigneshkumar Ponnusamy
 
C language industrial training report
C language industrial training reportC language industrial training report
C language industrial training report
Raushan Pandey
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
Sheikh Monirul Hasan
 

Similar to Ums in c (20)

C in7-days
C in7-daysC in7-days
C in7-days
 
Bsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c languageBsc cs i pic u-1 introduction to c language
Bsc cs i pic u-1 introduction to c language
 
Computing fundamentals lab record - Polytechnics
Computing fundamentals lab record - PolytechnicsComputing fundamentals lab record - Polytechnics
Computing fundamentals lab record - Polytechnics
 
Diploma ii cfpc u-1 introduction to c language
Diploma ii  cfpc u-1 introduction to c languageDiploma ii  cfpc u-1 introduction to c language
Diploma ii cfpc u-1 introduction to c language
 
IP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG ProgrammeIP Lab Manual for Kerala University 3 Year UG Programme
IP Lab Manual for Kerala University 3 Year UG Programme
 
C Programming language - introduction
C Programming  language - introduction  C Programming  language - introduction
C Programming language - introduction
 
Session 1 - c++ intro
Session   1 - c++ introSession   1 - c++ intro
Session 1 - c++ intro
 
Btech i pic u-1 introduction to c language
Btech i pic u-1 introduction to c languageBtech i pic u-1 introduction to c language
Btech i pic u-1 introduction to c language
 
introduction to c language
 introduction to c language introduction to c language
introduction to c language
 
Mca i pic u-1 introduction to c language
Mca i pic u-1 introduction to c languageMca i pic u-1 introduction to c language
Mca i pic u-1 introduction to c language
 
Unit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introductionUnit 1 of c++ part 1 basic introduction
Unit 1 of c++ part 1 basic introduction
 
Introduction to c language
Introduction to c language Introduction to c language
Introduction to c language
 
Why C is Called Structured Programming Language
Why C is Called Structured Programming LanguageWhy C is Called Structured Programming Language
Why C is Called Structured Programming Language
 
Introduction to c programming
Introduction to c programmingIntroduction to c programming
Introduction to c programming
 
C Programming[Sample]
C Programming[Sample]C Programming[Sample]
C Programming[Sample]
 
Purdue CS354 Operating Systems 2008
Purdue CS354 Operating Systems 2008Purdue CS354 Operating Systems 2008
Purdue CS354 Operating Systems 2008
 
computer science project for class 12 on telephone billing
computer science project for class 12 on telephone billingcomputer science project for class 12 on telephone billing
computer science project for class 12 on telephone billing
 
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
 
C language industrial training report
C language industrial training reportC language industrial training report
C language industrial training report
 
C programming presentation for university
C programming presentation for universityC programming presentation for university
C programming presentation for university
 

More from Upendra Sengar

Shipping and Storage: A New Approach
Shipping and Storage: A New ApproachShipping and Storage: A New Approach
Shipping and Storage: A New Approach
Upendra Sengar
 
Sales and inventory management project report
Sales and inventory management project reportSales and inventory management project report
Sales and inventory management project report
Upendra Sengar
 
Data flow diagram for order system
Data flow diagram for order systemData flow diagram for order system
Data flow diagram for order system
Upendra Sengar
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
Upendra Sengar
 
Medical store management system
Medical store management systemMedical store management system
Medical store management system
Upendra Sengar
 
Analog term paper
Analog term paperAnalog term paper
Analog term paper
Upendra Sengar
 
Photo-Elctric Effect
Photo-Elctric EffectPhoto-Elctric Effect
Photo-Elctric Effect
Upendra Sengar
 
Tictac
TictacTictac
Ticket window & automation system
Ticket window & automation systemTicket window & automation system
Ticket window & automation system
Upendra Sengar
 
Tic tac toe
Tic tac toeTic tac toe
Tic tac toe
Upendra Sengar
 
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037Upendra Sengar
 
Snake game implementation in c
Snake game implementation in cSnake game implementation in c
Snake game implementation in c
Upendra Sengar
 
Scientific calculator in c
Scientific calculator in cScientific calculator in c
Scientific calculator in c
Upendra Sengar
 
Tic tac toe game code
Tic tac toe game codeTic tac toe game code
Tic tac toe game code
Upendra Sengar
 
Book store automation system
Book store automation systemBook store automation system
Book store automation system
Upendra Sengar
 

More from Upendra Sengar (16)

Shipping and Storage: A New Approach
Shipping and Storage: A New ApproachShipping and Storage: A New Approach
Shipping and Storage: A New Approach
 
Sales and inventory management project report
Sales and inventory management project reportSales and inventory management project report
Sales and inventory management project report
 
Data flow diagram for order system
Data flow diagram for order systemData flow diagram for order system
Data flow diagram for order system
 
Data flow diagram
Data flow diagramData flow diagram
Data flow diagram
 
Medical store management system
Medical store management systemMedical store management system
Medical store management system
 
Analog term paper
Analog term paperAnalog term paper
Analog term paper
 
Photo-Elctric Effect
Photo-Elctric EffectPhoto-Elctric Effect
Photo-Elctric Effect
 
Tictac
TictacTictac
Tictac
 
Ticket window & automation system
Ticket window & automation systemTicket window & automation system
Ticket window & automation system
 
Tic tac toe
Tic tac toeTic tac toe
Tic tac toe
 
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
Term paper of cse(211) avdhesh sharma c1801 a24 regd 10802037
 
Snake game implementation in c
Snake game implementation in cSnake game implementation in c
Snake game implementation in c
 
Scientific calculator in c
Scientific calculator in cScientific calculator in c
Scientific calculator in c
 
Tic tac toe game code
Tic tac toe game codeTic tac toe game code
Tic tac toe game code
 
Book store automation system
Book store automation systemBook store automation system
Book store automation system
 
Bluetooth technology
Bluetooth technologyBluetooth technology
Bluetooth technology
 

Recently uploaded

AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
BrazilAccount1
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
obonagu
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
WENKENLI1
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
Pipe Restoration Solutions
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
thanhdowork
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
FluxPrime1
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
Divya Somashekar
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
seandesed
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
gerogepatton
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
TeeVichai
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
bakpo1
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
AJAYKUMARPUND1
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
ydteq
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
MLILAB
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
ankuprajapati0525
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Dr.Costas Sachpazis
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
Pratik Pawar
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
SupreethSP4
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
ViniHema
 

Recently uploaded (20)

AP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specificAP LAB PPT.pdf ap lab ppt no title specific
AP LAB PPT.pdf ap lab ppt no title specific
 
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang,  ICLR 2024, MLILAB, KAIST AI.pdfJ.Yang,  ICLR 2024, MLILAB, KAIST AI.pdf
J.Yang, ICLR 2024, MLILAB, KAIST AI.pdf
 
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
在线办理(ANU毕业证书)澳洲国立大学毕业证录取通知书一模一样
 
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdfGoverning Equations for Fundamental Aerodynamics_Anderson2010.pdf
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
RAT: Retrieval Augmented Thoughts Elicit Context-Aware Reasoning in Long-Hori...
 
DESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docxDESIGN A COTTON SEED SEPARATION MACHINE.docx
DESIGN A COTTON SEED SEPARATION MACHINE.docx
 
block diagram and signal flow graph representation
block diagram and signal flow graph representationblock diagram and signal flow graph representation
block diagram and signal flow graph representation
 
Architectural Portfolio Sean Lockwood
Architectural Portfolio Sean LockwoodArchitectural Portfolio Sean Lockwood
Architectural Portfolio Sean Lockwood
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Railway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdfRailway Signalling Principles Edition 3.pdf
Railway Signalling Principles Edition 3.pdf
 
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
一比一原版(SFU毕业证)西蒙菲莎大学毕业证成绩单如何办理
 
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
Pile Foundation by Venkatesh Taduvai (Sub Geotechnical Engineering II)-conver...
 
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
一比一原版(UofT毕业证)多伦多大学毕业证成绩单如何办理
 
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
H.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdfH.Seo,  ICLR 2024, MLILAB,  KAIST AI.pdf
H.Seo, ICLR 2024, MLILAB, KAIST AI.pdf
 
The role of big data in decision making.
The role of big data in decision making.The role of big data in decision making.
The role of big data in decision making.
 
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
Sachpazis:Terzaghi Bearing Capacity Estimation in simple terms with Calculati...
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 
Runway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptxRunway Orientation Based on the Wind Rose Diagram.pptx
Runway Orientation Based on the Wind Rose Diagram.pptx
 
power quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptxpower quality voltage fluctuation UNIT - I.pptx
power quality voltage fluctuation UNIT - I.pptx
 

Ums in c

  • 1. LoveLy ProfessionaL University TERM PAPER Of fOUNDATION Of COMPUTING TOPIC: -UMS RECORD SySTEM SUbMITTED TO: - SUbMITTED by:- MS. SUkhDIlPREET kAUR NAME:-IShANT ShARMA lECTURER lPU ROll NO:-R246b57 SECTION:-246 REGD NO:-10800728
  • 2. ACkNOWlEDGEMENT It is not until you undertake the project like this one that you realize how massive the effort it really is, or how much you must rely upon the Selfless efforts and goodwill of others. There are many who helped us with this project, and we want to thank them all from the core of our Hearts. We owe special words of thanks to our Teachers MS.SUKHDILPREET KAUR for their vision, thoughtful counseling and encouragement at every step of the project. We are also thankful to the teachers of the Department for giving us the best of knowledge and guidance throughout the project. And last but not the least, we find no words to acknowledge the financial assistance & moral support rendered by our parents in making the effort a success. All this has become reality because of their blessings and above all by the grace of god.
  • 3. TAblE Of CONTENTS S.No Content 1 INTRODUCTION 2 Proposed system (a) Description (b) System Requirements 3 Requirement analysis 4 System Design 5 Source code 6 Testing 7 Future scope of project
  • 4. OVERVIEW TO C hISTORy Of C: C is a popular general purpose programming language. It is one of the most popular computer languages today, because it is a structured, high level, machine independent language. The root of all modern language is ALGOL, introduced in early 1960’s. ALGOL was the 1st computer language to use a block structure. Subsequently, several other languages were announced after 1960’s. In 1967, Martin Richard developed a language called BCPL i.e. basic combined programming language mainly for writing system software. In 1970, Ken Thompson created a language using many features of BCPL and called it simply B. B was used to create early version of UNIX operating system. C was evolved from ALGOL, BCPL, and B by Dennis Ritchie at the Bell Laboratories in 1972, strongly associated with UNIX. During 1970’s, C had evolved into the “TRADITIONAL C”. With the publication of the book ‘The C Programming language’ by Brian Kernighan and Dennis Ritchie in 1978, it becomes more powerful. In 1983, American National Standards Institutes (ANSI) appointed a technical committee to define a standard for C. The committee approved a version of C in December 1989, which is now known as
  • 5. ANSI C. It was then approved by International Standard Organization (ISO) in 1990. IMPORTANCE Of C: The increasing popularity of C is probably due to its many desirable qualities. The C compiler combines the capabilities of an assembly language with the features of a high level language and therefore it is well suited for writing both system software and business packages. In fact many of the C compilers available in the market are written in C. Programs written in C are efficient and fast. This is due to its variety of data types and powerful operators. It is many times faster than BASIC. There are only 32 key words in ANSI C and its strength lies in its built in functions. C is highly portable; this means that C programs written for one computer can be run on another with little or no modifications. C language is well suited for structured programming, thus requiring the user to think of a problem in terms of function modules or blocks. This modular structure makes program de-bugging, testing and maintenance easier. Another important feature of C is its ability to extend itself. We can continuously add our own functions to C library, thus our programming task becomes so easier and simple.
  • 6. INTRODUCTION: We have discussed so far various features of C language and are ready to write and execute program of modest complexity. However, before attempting to develop complex programs, it is worthwhile to consider some programming techniques that would help design efficient and error free. The program development process includes three important stages, namely, program design, program coding and program testing. All the three stages contribute to the production of high quality program. In “UMS RECORD MANAGEMENT SYSTEM” we have done system design, source coding, and program testing and added many more features to facilitate the user with the best. We have given the user the facility to enter the Student’s record and see whether the user is provided with the complete information. We can improve the efficiency of the system, thus overcome the drawbacks of the existing system. · Less human error · Strength and strain of registers and papers can be reduced · High security · Data consistency · Easy to handle · Easy data updating
  • 7. · Easy record keeping · Backup data can be easily generated IntroductIon of program management system We can make this Student record management system in C language by using three or more than three header files or many data types such as: 1. #include<stdio.h> : this header file will contain Scanf() , Printf () And, there are many header files which are used in this program…. 2. #include<conio.h>: this header file will contain Clrscr(); , Getch(); , and many more…. 3 . #include<string.h> : this header file will contain string function. 4 . #include<ctype .h>
  • 8. system reQuIrements Operating System: Windows 2000/NT/Xp/Vista RAM: 256 MB or more HARD DISK 40 GB or more Processor P3 or High Compiler Standard C++ Compiler
  • 9. system descrIptIon THE OPERATING SYSTEM USED IN THIS PROJECT IS WINDOWSXPIT HAS MICROSOFT OFFICE INSTALLED IN IT. IT HAS RAM OF 2GB. HARD DISK CAPACITY OF OPERATING SYSTEM IS 250GB. IT CONSISTS OF PENTIUM-4 PROCESSOR.THE OPEREATING SYSTEM ALSO HAS C++ COMPILER. THE SYSTEM ALSO HAS TYPE CONVERSIONS WHICH CONVERT LOWER TO UPPER TYPE. THE OPERATING SYSTEM HAVE 1GB RAM FOR MICROSOFT WORLD.
  • 10. START source code #include<stdio.h> #include<conio.h> #include<string.h> STOP #include<dos.h> #include<stdlib.h> PRESS[A] CREATE FILE MAIN MENU ENTER YOUR CHOICE PRESS[B] ADD RECORD PRESS[C] LIST RECORD PRESS[D] QUIT PROGRAME WRONG KEY YES NO Student name First name Last name Middle name Course code record PRINT
  • 11. #include<ctype.h> FILE *fp; struct UMS { char snum[13]; char fname[20]; char sname[20]; char mi; char ccode; }record; void Temp1(void); void twolinebox(int x1,int y1,int x2,int y2) { int x,y; gotoxy(x1,y1); printf("É"); gotoxy(x2,y1); printf("»"); for(y=y1+1;y<y2;y++){ gotoxy(x1,y); printf("º"); gotoxy(x2,y); printf("º"); } gotoxy(x1,y2); printf("È"); gotoxy(x2,y2); printf("¼"); for(x=x1+1;x<x2;x++){ gotoxy(x,y1); printf("Í");
  • 12. gotoxy(x,y2); printf("Í"); } gotoxy(x1+1,y1+1); } void printxy(int x,int y,char string[]) { gotoxy(x,y); printf("%s",string); } void center(int y,char string[]) { int x=(80-strlen(string)+1)/2; gotoxy(x,y);printf("%s",string); } void Create(void) { char opt; center(21,"WARNING!!!"); center(22,"You are about to create a new file"); center(23,"This will erase all records in the file..."); center(24,"Are you sure you want to proceed?[Y/N] "); opt=getche(); opt=toupper(opt); if(opt=='Y')
  • 13. { fp=fopen("Group4.txt","w"); center(24," "); center(24,"File successfully created!"); } getch(); fclose(fp); } void Add(void){ char opt; fp=fopen("Group4.txt","a"); clrscr(); Temp1(); gotoxy(19,8); scanf(" "); gets(record.snum); gotoxy(19,10); scanf(" "); gets(record.fname); gotoxy(19,12); scanf(" "); gets(record.sname); gotoxy(19,14); record.mi=getche(); record.mi=toupper(record.mi); gotoxy(19,16); record.ccode=getche(); record.ccode=toupper(record.ccode); gotoxy(5,22); clreol(); printxy(79,22,"º"); fprintf(fp,"%s %s %s %c %c",record.snum,record.fname,record.sname,record.mi,record.ccode); gotoxy(5,21); clreol(); center(21,"Record successfully added!"); printxy(79,21,"º"); gotoxy(53,22); delay(1000);
  • 14. center(22,"Press any key to go to main menu..."); getch(); fclose(fp); } void Temp1(void) { twolinebox(2,6,79,20); twolinebox(2,20,79,24); twolinebox(2,2,79,24); center(4,"ADD RECORD"); printxy(6,8,"Student no: "); printxy(6,10,"First Name: "); printxy(6,12,"Last Name: "); printxy(6,14,"Middle init:"); printxy(6,16,"Course code: "); center(22,"Course code: [A]-CompSci, [B]-for InfoTech, [anykey]-Sevices"); gotoxy(19,7); } void List(void) { int count=0,i,x=0,page=1,CS=0,IT=0,Serv=0; fp=fopen("Group4.txt","r"); clrscr(); center(2,"LOVELY SCHOOL OF ENGINEERING"); center(3,"G.T ROAD,PHAGWARA");
  • 15. center(5,"COMPUTER SCIENCE DEPARTMENT"); printxy(10,7,"Record Student # NameCourse"); for(i=1;i<80;i++){ gotoxy(i,8); puts("Í"); /*Alt-205*/ } while(fscanf(fp,"%s %s %s %c %c",&record.snum,&record.fname,&record.sname,&record.mi,&record.ccode) !=EOF) { if(count!=0&&count%5==0){ printxy(5,23, "Press any key to continue..."); getch(); x=0; for(i=10;i<=24;i++){gotoxy(1,i); clreol();} page++; } gotoxy(70,4); printf("Page %d",page); gotoxy(13,10+x); printf("%d",count+1); gotoxy(19,10+x); printf("%s",record.snum); gotoxy(37,10+x); printf("%s, %s %c.",record.sname,record.fname,record.mi); gotoxy(62,10+x); switch(record.ccode){ case 'A': printf("CompSci"); CS++; break; case 'B': printf("InfoTech"); IT++; break; default : printf("Services"); Serv++; break; } x++; count++; }
  • 16. printxy(25,17,"TOTAL"); gotoxy(15,18); printf("Comp Sci: %d",CS); gotoxy(15,19); printf("InfoTech: %d",IT); gotoxy(15,20); printf("Services: %d",Serv); printxy(5,23,"Press any key to go to main menu..."); getch(); fclose(fp); } void Quit(void){ clrscr(); twolinebox(2,2,79,24); center(8,"PROGRAMMED"); center(9,"BY"); center(11," ARPAN JOSEPH"); center(13,"ROLL NO B56"); center(14,"ISHANT SHARMA"); center(15,"ROLL NO B57"); delay(5000); exit(1); fclose(fp); } void Err_mess(void){ sound(1000); center(22,"Invalid Input!");
  • 17. delay(1000); nosound(); } void main(){ char choice; do{ clrscr(); twolinebox(29,6,51,8); twolinebox(20,5,60,18); twolinebox(2,20,79,25); twolinebox(2,2,79,25); center(7,"MAIN MENU"); printxy(30,9,"Press:"); printxy(30,11,"[A]-Create File"); printxy(30,12,"[B]-Add Record"); printxy(30,13,"[C]-List Record"); printxy(30,14,"[D]-Quit Program"); printxy(30,16,"Enter your choice..."); gotoxy(50,16); choice=getch(); choice=toupper(choice); switch(choice){ case 'A': Create(); break; case 'B': Add(); break; case 'C': List(); break; case 'D': Quit(); break;
  • 18. default: Err_mess(); break; } }while(choice!='D'); } OUTPUT SNAPSHOTS
  • 19.
  • 21. THE SOURCECODE DECLARED ABOVE FOR THE PROGRAM OF STUDENT RECOD MANAGEMENT SYSTEM HAS BEEN TESTED AND IT HAS BEEN FOUND THAT THE ABOVE SOURCE CODE IS OKAY AND CORRECT.THE PROGRAM INVOLVES MUCH TYPE OF CONVERSIONS. THESE CONVERSIONS HAS TO DONE CAREFULLY. MAINLY THERE ARE TWO TYPES OF TESTING: 1-SYSTEM TESTING AND 2-INTEGRATION TESTING SYSTEM TESTING INVOLVES WHOLE TESTING OF PROGRAM AT ONCE AND INTEGRATION TESTING INVOLVES THE BREAKING OF PROGRAM INTO MODULES & THEN TEST. FUTURE SCOPE
  • 22. In future one change can be done by adding the fingerprints of the student of which the record is entered. And one more major change which can be done in this project is that to add the snaps of the student of which the record is entered. We can also add or subtract details of the individual.