You are on page 1of 13

Lovely Professional University

TERM PAPER Of FOUNDATION OF COMPUTING Topic: -parking record system


Submitted To: ms. Narender kaur Lecturer lpu Submitted By:Name:-ravi kumar gupta Roll No:-rm1102 b56 Section:-m1102

Regd No:-11112577

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.NARENDER 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 3 4 5 6 Proposed system
(a) Description (b) System Requirements

Requirement analysis System Design Source code Future scop

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 1960s. ALGOL was the 1st computer language to use a block structure. Subsequently, several other languages were announced after 1960s. 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 1970s, 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 debugging, 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 Students 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.structer

SYSTEM REQUIREMENTS

Operating System: RAM: HARD DISK Processor Compiler

Windows 2000/NT/Xp/Vista 256 MB or more 40 GB or more P3 or High 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.

SOURCE CODE
#include<stdio.h>

#include<conio.h> Struct parking { Int car no.[8]; Char name[20]; Int prize; }s; Struct date { Int day[2]; Int month[2]; Int year[4]; }d; Void main( ) { Int I; Struct parking p[100]; For(i=0;i<100;i++) { Scanf(%d,&p[i]); Printf(enter the car no.= ); Scanf(%d,&s.car no.);

Printf(/n enter the name); Scanf(%d,&s.name); Printf(/n enter the date(day/month/year)/n); Scanf(%d %d %d,&d.day,&d.month,&d.year); Printf(/n enter the present date(day/month/year)/n); Scanf(%d %d %d,&d.day,&d.month,d.year); Day=present date-date; } If(day=1) { Printf(prize is=5 rs.); } Else if (day<=5); { Printf(prize is=15 rs.) } Else { Printf(no garenty); } Getch( ); }

TESTING
THE SOURCECODE DECLARED ABOVE FOR THE PROGRAM OF PARKING RECORD 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 & THE SYSTEM

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.

You might also like