Arun-student Record System Final12

  • July 2020
  • PDF

This document was uploaded by user and they confirmed that they have the permission to share it. If you are author or own the copyright of this book, please report to us by using this DMCA report form. Report DMCA


Overview

Download & View Arun-student Record System Final12 as PDF for free.

More details

  • Words: 1,368
  • Pages: 18
1|Page

FOUNDATION OF COMPUTING CSE101 Term paper TOPIC: STUDENT RECORD SYSTEM

Submitted to

Submitted By

MS. NEHA SOOD

ARUN KUMAR ROLL NO. D 6902 A27 REG. NO. 10901959

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.

2|Page We are really grateful to our H.O.D 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 Ms. Neha Sood 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: Arun Kumar Regd.No: 10901959 Rollno:.R D6902 A27

TABLE OF CONTENTS

TOPICS NAME

PAGE

3|Page

1.

Introduction……………………………………………………….4

2.

Proposed System…………………………………………………..5 i.

Description……………………………………………………..5

j.

Functions To Be Provided…………………………...………..5

1.

Requirement Analysis…………………………………………….5

2.

System Design……………………………………………………..6

3.

Source Code……………………………………………………...6-15

4.

Output…………………………………………………………..15-17

5.

Future Scope Of Project…………………………………………..17

6.

Conclusion…………………………………………………………17

7.

References………………………………………………………….17

4|Page

INTRODUCTION Records of a student can help institutions to provide a continuously improving, quality learning experience. Sophisticated databases for student record management now make it possible to free up time previously spent in endless data capturing, and focus attention on interpreting the data and responding to information. By using student record system users are 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. To design a student record system that produces meaningful, decision-making information, a narrow, mechanistic approach is insufficient. The challenge is to think holistically about what you want to achieve, and how best to achieve it.

5|Page

PROPOSED SYSTEM The documentation provided is a term paper project on “student record system”. It is a detailed summary of all the drawbacks of the old system and how the new proposed system overcomes these shortcomings. This system is programmed for registering the necessary information of a student. The foremost thing that is taken care of is the Need and Requirements of the User.

DESCRIPTION We keep following things in mind before developing this powerful and quality software. a) This will be user friendly b) This will restrict the user from accessing other user’s data. c) This will help user in viewing his data and privileges. d) This 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. a) The system will be efficient and fast in response. b) The system will be customized according to needs.

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

6|Page 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: a) Select ion and identification of the system to be studied b) Preliminary study c) Defining the system d) Design and development of the system e) Implementation of the system

SYSTEM DESIGN System design is a solution, “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. It should overcome all the drawbacks of the old existing system and most important of all meet the user requirements.

Programme coding #include<stdio.h> #include #include<string.h> #include<dos.h>

7|Page

#include<stdlib.h> #include FILE *fp; struct student { 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("É"); //alt-201 gotoxy(x2,y1); printf("»"); //alt-187 for(y=y1+1;y
8|Page

printf("º"); //alt-186 } gotoxy(x1,y2); printf("È"); //alt-200 gotoxy(x2,y2); printf("¼"); //alt-188 for(x=x1+1;x<x2;x++){ gotoxy(x,y1); printf("Í"); //alt-205 gotoxy(x,y2); printf("Í"); //alt-205 } 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);

9|Page

} 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();

");

10 | P a g e

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",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);

%c

11 | P a g e

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();

12 | P a g e

center(2,"Lovely Professional University"); center(3,"phagwara, punjab"); center(5,"lovely college of engineering and Technology"); printxy(10,7,"Record

Student #

Name Course");

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)) { 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);

13 | P a g e

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); }

14 | P a g e

void Quit(void){ clrscr(); twolinebox(2,2,79,24); center(8,"PROGRAMMED"); center(9,"BY"); center(11,"Group 4"); center(13,"prabhat, arun."); center(14,"sumit, skand"); center(15,"pankaja, prachi"); delay(5000); exit(1); fclose(fp); } void Err_mess(void){ sound(1000); center(22,"Invalid Input!"); delay(1000); nosound(); }

void main(){ char choice; do{

15 | P a g e

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;

16 | P a g e

} }while(choice!='D'); }

Output Main page

17 | P a g e

Add record

Show record

Future scope of the project:

18 | P a g e The above programme is degined in such a way that if the number of students increase in future modifications can be done according to the requirement.

Conclusion: while preparing above mention term paper “Student Record System”, I have gone through different topics during which I learned a lot and my concepts have also brushed up,which is the ultimate goal of this term paper.

References: 1. http://www.daniweb.com/forums/thread225127.html 2. http://www.google.co.in/ 3.programming with ansi and turbo c by “ashok n. kamthane”,pearson education. 4.yashwant karnitkar “let us c”

Related Documents

Final12
June 2020 2
Team L -final12
June 2020 1
Record
June 2020 17
Record
May 2020 11