dayof birth

Upload: ajay-kumar-saklani

Post on 03-Apr-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

  • 7/28/2019 Dayof Birth

    1/13

    OF

    (SHOW THE DAY OF BIRTH FROM DATE OF BIRTH)

    Submitted in the partial fulfillment of the Degree of Bachelor of

    Technology (Integrated)

    In

    Computer Science and Engineering

    SUBMITTED BY: - GUIDED BY:

    DIPAL Ms.SHALINI KHERA

    Reg. No. 10803566

    Roll. No. R250B47

    SUBMITTED TO

    Department of Computer Science and Engineering Lovely

    Professional University Phagwara

  • 7/28/2019 Dayof Birth

    2/13

    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 andsatisfactory completion of this study.

    We are really grateful to our HOD Mr. Rohit Dhand for

    providing us with an opportunity to undertake this project in this

    university and providing us with all the facilities. We are highly

    thankful to Miss Shalini Khera 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 withinthe 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.

    DIPAL

    Reg. No. 10803566

    Roll. No. R250B47

  • 7/28/2019 Dayof Birth

    3/13

    TABLE OF CONTANTS

    1. Introduction

    2. Proposed system

    i. Description

    ii. System requirements

    3. Requirement Analysis

    4. System Design5. Source code

    6. Testing

    7. Future scope of project

  • 7/28/2019 Dayof Birth

    4/13

    INTRODUCTION

    In the existing system, most of the records are maintained onpaper. It becomes very inconvenient to modify the data. In the

    existing system, here is a possibility that the same data in different

    registers may have different values which means the entries of the

    same data do not match. This inconsistent state does not supply the

    concrete information which poses a problem in the case

    information related to particular search record.

    Our project is very useful. User is no longer required to check his

    register in search of records, as now it can be searched over thesoftware by choosing some options. The user need not to type in

    most of the information. He/she is just required to enter the desired

    options. On the whole it liberates the user from keeping lengthy

    manual records. In a nutshell, it abates the work load of an

    organization.

    In todays world, no one likes to perform calculations on calculator

    or manually when computer is there. Every one wants his/her work

    to be done by computer automatically and displaying the result for

    further manipulations.

  • 7/28/2019 Dayof Birth

    5/13

    PROPOSED SYSTEM

    The following documentation is a project the Name of the term

    paper allotted. It is a detailed summary of all the drawbacks of the

    old system and how the new proposed system overcomes these

    shortcomings. The new system takes into account the various

    factors while designing a new system. It keeps into the account the

    Economical bandwidth available for the new system. The foremost

    thing that is taken care of is the Need and Requirements of the

    User.

    DESCRIPTION

    Before developing software we keep following things in mind that

    we can develop powerful and quality software

    PROBLEM STATEMENT

    o Problem statement was to design a module:

    o Which is user friendly

    o Which will restrict the user from accessing other users data?

    o Which will help user in viewing his data and privileges?

    o Which will help the administrator to handle all the changes?FUNCTIONS TO BE PROVIDED:

    The system will be user friendly and completely menu driven so

    that the users shall have no problem in using all options.

    o The system will be efficient and fast in response.

    o The system will be customized according to needs.

  • 7/28/2019 Dayof Birth

    6/13

    SYSTEM REQUIRMENTS

    Operating system: MS Windows XP or Windows Vista

    Language: C Language

    Processor: Pentium IV Processor

    RAM: 512 MB

    Hard disk: 5 GB

  • 7/28/2019 Dayof Birth

    7/13

    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 ofactivities, carried out by the analyst, designers and users to develop

    and implement a system. The systems that are present in the nature

    follow common life cycle pattern. For example consider the

    raining system. Initially the rain falls into the river, river flows into

    sea, the sea water evaporates to form vapors, the vapors form

    clouds which again bring rain. Similarly consider a man made

    system initially a system is analyzed, designed and made

    operational by the efforts of system analysis. After successfuloperation or a number of users, the system becomes less and less

    effective by change in the environment. So these changes have to

    be incorporated in to the system by minor modifications. So the

    general activities from the life cycle of the system are given below:

    Select ion and identification of the system to be studied

    Preliminary study

    Defining the system

    Design and development of the system Implementation of the system

    SYSTEM DESIGN

    Then we began with the design phase of the system. System design

    is a solution, a HOW TO approach to the creation of a newsystem. It translates system requirements into ways by which they

    can be made operational. It is a translational from a user oriented

    document to a document oriented programmers. For that, it

    provides the understanding and procedural details necessary for the

    implementation. Here we use Flowchart to supplement the working

  • 7/28/2019 Dayof Birth

    8/13

    of the new system. The system thus made should be reliable,

    durable and above all should have least possible maintenance

    costs. It should overcome all the drawbacks of the Old existing

    system and most important of all meet the user requirements.

    WELCOME TO PROGRAM

    ENTER

    DOB

    STOP

    START

    DATE MONTH YEAR

    Show the day of birth

  • 7/28/2019 Dayof Birth

    9/13

    SOURCE CODE

    #include

    #include#include

    main()

    {

    clrscr();

    int d,m,y,year,month,day,i,n;

    printf("Enter how many times you want to run this program : ");

    scanf("%d",&n);for(i=1;i31 || m>12 || (y>1900 || y

  • 7/28/2019 Dayof Birth

    10/13

    month = 4;

    break;

    case 7:

    case 4:

    month = 0;break;

    case 5:

    month = 2;

    break;

    case 6:

    month = 5;

    break;

    case 8:month = 3;

    break;

    case 9:

    case 12:

    month = 6;

    break;

    }

    year = year+month;year = year+d;

    day = year%7;

    switch(day)

    {

    case 0:

    printf("Day is SATURDAY");

    break;

    case 1:

    printf("Day is SUNDAY");break;

    case 2:

    printf("Day is MONDAY");

    break;

    case 3:

  • 7/28/2019 Dayof Birth

    11/13

    printf("Day is TUESDAY");

    break;

    case 4:

    printf("Day is WEDNESDAY");

    break;case 5:

    printf("Day is THURSDAY");

    break;

    case 6:

    printf("Day is FRIDAY");

    break;

    }

    }getch();

    return 0;

    }

  • 7/28/2019 Dayof Birth

    12/13

    TESTING

    Testing is the major control measure used during software

    development. Its basic function is to detect errors in the software.

    During requirement analysis and design, the output is a documentthat is usually textual and no executable. After the coding phase,

    computer programs are available that can be executed for testing

    purpose. This implies that testing not only, has to uncover errors

    introduced during coding, but also errors introduced during

    previous phase. Thus the goal of testing is to uncover the

    requirements, design and coding errors in the programs. So after

    testing the outputs of my project are as follows:

    Enter how many times do you want to run this program

    1

    Enter the date

    05-11-1989

    Day is SUNDAY.

  • 7/28/2019 Dayof Birth

    13/13

    FUTURE SCOPE OF THE PROJECT

    Our project will be able to implement in future after making some

    changes and modifications as we make our project at a very low

    level. So the modifications that can be done in our project are:

    If we use this program in big code program then we can get more

    good results than what will we get now? We can use this program

    in astrology or if we concentrate more on this project than we can

    also find the time of birth from this program.

    References:

    www.google.com

    www.sourcecodeworld.com