rc2802b33_final term paper of database management system_cse301_vinod

Upload: simran-chauhan

Post on 07-Apr-2018

215 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    1/9

    Topic- COMPUTER LAB MANAGEMENT SYSTEM

    SUBMITTED BY: Vinod

    ROLL NO: C2802b33

    Reg. No.-10804863

    SUBMITTED TO: Ms. Chavi

    Acknowledgement

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    2/9

    I devote all my achievements to the almighty GOD for granting me strength, art, skill and

    spirit to accomplish this project work .I am extremely thankful to Ms Chavi for guiding me

    about this project from time to time whenever I needed their help. He cleared my doubts to

    satisfaction, explaining each and every point in simplest possible way .I am also thankful to

    my Parents for their encouragement and kind cooperation throughout courses of this

    project .I am also thankful to my very good friends for helping me to get best ideas, for

    gathering data, for accumulation of information and other valuable things .They also assisted

    me to how I analyze, evaluate and present it in the best possible way under the available

    means.

    THANKS

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    3/9

    INTRODUCTION TO COMPUTER LAB MANAGEMENT SYSTEM

    "Computer lab management system can have several meanings: it can refer to software like

    Foolproof or Fortres which "locks down" the computer and only grants users access to limited

    software features. In the context of this article, however, "computer lab management software"

    refers to progams used by a teacher in the course of a lesson to maintain student attention andenhance instructional delivery. Screen sharing is a typical feature of lab management software,

    allowing the teacher's computer screen or another student's screen to be shared with every othercomputer in the lab. Effective use of computer lab management software can make a

    tremendous, positive difference when teachers use a computer lab for instruction.

    PURPOSE OF COMPUTER LAB MANAGEMENT SYSTEM

    To acquaint staff with basic lab procedures and management

    To promote the integration of technology into the curriculum

    To encourage staff to use computer labs effectively.

    Advanced Features

    Some management programs offer additional features with wonderful instructional

    benefits for classroom teachers and students.

    Shut down or restart computers: It can be time consuming at the end of the day to shut

    down all the computers in a lab or classroom, or to restart them before the next class.

    Some programs offer the ability to shut down or restart an entire lab simultaneously with

    a few mouse clicks on the instructor computer. Installed Network Interface Cards (NICs)in each computer must support this feature for it to work.

    Transfer a file to all student computers: If a school file server is available and a

    "shared folder" has been created allowing student as well as teacher access, files for a

    particular lesson can be opened from the network. Some lab management programs allowfor the distribution of files directly to the hard drive of every computer in the lab,

    however, and some can even retrieve modified and saved files from the studentcomputers to the instructor computer at the end of class.

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    4/9

    Chat: While some teachers may think this feature is superfluous and unneeded, chatcapability included with lab management software can be invaluable for a variety of

    reasons. First, most students love to chat on their computers: typing text messages to

    each other like they would in an online chat room. A major difference between an onlinechatroom and a chat environment provided by a lab management software program is

    that the participants are controlled: only those students physically in the room canparticipate in the chat. As a reward for staying on task or completing a lesson, students

    can be given five minutes of chat time at the end of the period. Students desperately needguidance and instruction on what is appropriate and safe to disclose in an online chat

    environment, so in addition to motivating students, chat sessions can also provide them

    with invaluable digital safety skills.

    E-R DIAGRAM

    ENTITIES USED ARE:

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    5/9

    1). STUDENT

    ATTRIBUTES

    StudentId primary key

    Firstname

    Lastname

    Studentgrade

    2).labsection

    ATTRIBUTES

    LabAssistant

    Class-multivalued attribute

    Year

    Semester

    Section

    catalogNumber

    DragExpWeek

    3).DragExpRun

    ATTRIBUTES

    RunNumber

    InitPosition

    Time

    distance

    INSERTING INTO TABLE:-

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    6/9

    Createtable lab(StudentId numeric(20),firstName varchar(20), team

    varchar(20),labAssistant varchar(20),class varchar(20),,RunNumber

    numeric(20),primarykey(studentId));

    Insertinto lab values('12','sneha','a1','ajay','Bca','2');

    Insertinto lab values('13','shruti','d1','ram','Btech','4');insertinto lab values('14','shristi','e1','shayam','Bca','5');

    insertinto lab values('15','priya','f1','mohan','Mca','6');

    insertinto lab values('16','nidhi','g1','sohan','Btech','7');

    insertinto lab values('17','yamini','h1','rohan','Mtech','8');

    select* from lab

    StudentId(primary key)

    FirstName Team labAssistant Class RunNumber

    12 Sneha C1 Ajay Btech 3

    13 Shruti D1 Ram Bca 4

    14 Shristi E1 Shayam Mca 5

    15 Priya G1 Mohan Mtech 6

    17 Nidhi H1 Sohan Mtech 7

    18 Upasana J1 Rohan Btech 8

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    7/9

    NORMALIZATION

    It is a technique for designing relational database tables to minimize duplication of information

    and thus increasing the logical consistency.It represents the database design in a normal form.It

    represents a good datao base design.It is used to eliminate various anomalies and inconsistencies.

    Normalization basically depends on the concept of dependencies as functional,partial,transitive

    or multi-valued dependency.

    1NORMAL FORM

    A relation is said to be in 1st normal form if:

    all the primary key attributes are defined.

    There is no repeating group in the table.

    All attributes are depend on primary key.

    =>As here is no repeating group present in the table so no need to find first normal form As it is

    already in first normal form.

    2 NORMAL FORM

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    8/9

    A relation is said to be in 2nd normal form if:-

    The relation is in first normal form.

    Every non key attributes which do not form primary key should be fully functionally

    dependent on the primary key.

    Before normalization:-

    StudentId(primar

    y key)

    FirstName Team labAssistant Class RunNumber

    12 Sneha C1 Ajay Btech 3

    13 Shruti D1 Ram Bca 4

    14 Shristi E1 Shayam Mca 5

    15 Priya G1 Mohan Mtech 6

    17 Nidhi H1 Sohan Mtech 7

    18 Upasana J1 Rohan Btech 8

    After normalization:-

    StudentId FirstName Team Class RunNumber

    12 Sneha C1 Btech 3

    13 Shruti D1 Bca 4

    14 Shristi E1 Mca 5

    15 Priya G1 Mtech 6

    17 Nidhi H1 Mtech 7

    18 Upasana J1 Btech 8

    Team labAssistant

    C1 Ajay

    D1 Ram

    E1 Shyam

    G1 Mohan

    H1 Sohan

    J1 Rohan

    VIEW

    createview lab1 asselect studentId,labAssistant from lab;

    select* from lab1

  • 8/3/2019 RC2802B33_Final Term Paper of Database Management System_CSE301_vinod

    9/9

    CURSOR

    DECLARECURSOR c is Select StudentId,LabAssistant from lab;

    REC c%ROWTYPE;

    BEGIN

    OPEN c;LOOP

    FETCH c into REC;

    EXIT when c%NOTFOUND;DBMS_OUTPUT.PUT_LINE(StudentId||REC.StudentId);

    DBMS_OUTPUT.PUT_LINE(labAssistant||REC.labAssistant);

    END LOOP;CLOSE c;

    END;