JAVA Project Report--Network Card Troubleshooter

Embed Size (px)

Citation preview

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    1/38

    Project ReportOn

    N/W CARD TROUBLESHOOTER

    Submitted in the partial fulfillment of the requirement for the award of degreeof

    Bachelors of Technologyin

    Computer Science and Engineering

    Under the Guidance of Submitted by

    Department of Computer Science & Engineering

    Swami Vivekanand Institute of Engineering & Technology Banur

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    2/38

    T !"B#ES$!!TE

    Acknowledgement

    %t the very outset I am highly inde'ted to SVIET Banur for giving me an opportunity

    to carry out my pro(ect on N/W CARD TROUBLESHOOTER at their esteemedorgani)ation * I would specially thank +ro(ect ,uide for giving time and guidance

    throughout my pro(ect without whom it would have 'een impossi'le to attain success*

    I own my regards to the entire faculty of the department of computer science and

    information technology at SWA I VIVE!ANAND INSTITUTE O" EN##$ %

    TECHNOLO#& from where I have learnt the 'asics of Information Technology and

    whose informal discussions and a'le guidance was a 'ecome light for me in the entireduration of this work*

    I would also like to thank my team mem'ers who worked with me and our com'ined

    efforts lead to the completion of the pro(ect*

    -

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    3/38

    T !"B#ES$!!TE

    A'(t)*ct

    T)o+'le(,oot-ng is a form of pro'lem solving often applied to repair failed

    products or processes* It is a logical systematic search for the source of a pro'lem sothat it can 'e solved and so the product or process can 'e made operational again*

    Trou'leshooting is needed to develop and maintain comple. systems where the

    symptoms of a pro'lem can have many possi'le causes* Trou'leshooting is used in

    many fields such as engineering system administration electronics automotive

    repair and diagnostic medicine* Trou'leshooting re/uires identification of the

    malfunction0s1 or symptoms within a system* Then e.perience is commonly used to

    generate possi'le causes of the symptoms* Determining which cause is most likely isoften a process of elimination 2 eliminating potential causes of a pro'lem* 3inally

    trou'leshooting re/uires confirmation that the solution restores the product or

    process to its working state*

    In general trou'leshooting is the identification of or diagnosis of 4trou'le4 in the

    management flow of a corporation or a system caused 'y a failure of some kind* The

    pro'lem is initially descri'ed as symptoms of malfunction and trou'leshooting is

    the process of determining and remedying to the causes of these symptoms*

    % system can 'e descri'ed in terms of its e.pected desired or intended 0usually for

    artificial systems its purpose1* Events or inputs to the system are e.pected to

    generate specific results or outputs* 03or e.ample selecting the 4print4 option from

    various computer applications is intended to result in a hardcopy emerging from

    some specific device1* %ny une.pected or undesira'le 'ehavior is a symptom*

    Trou'leshooting is the process of isolating the specific cause or causes of thesymptom* 3re/uently the symptom is a failure of the product or process to produce

    any results* 05othing was printed for e.ample1*

    6

    http://en.wikipedia.org/wiki/Problem_solvinghttp://en.wikipedia.org/wiki/Engineeringhttp://en.wikipedia.org/wiki/System_administrationhttp://en.wikipedia.org/wiki/Electronicshttp://en.wikipedia.org/wiki/Automotivehttp://en.wikipedia.org/wiki/Diagnostic_medicinehttp://en.wikipedia.org/wiki/Process_of_eliminationhttp://en.wikipedia.org/wiki/Diagnosishttp://en.wikipedia.org/wiki/Hardcopyhttp://en.wikipedia.org/wiki/Problem_solvinghttp://en.wikipedia.org/wiki/Engineeringhttp://en.wikipedia.org/wiki/System_administrationhttp://en.wikipedia.org/wiki/Electronicshttp://en.wikipedia.org/wiki/Automotivehttp://en.wikipedia.org/wiki/Diagnostic_medicinehttp://en.wikipedia.org/wiki/Process_of_eliminationhttp://en.wikipedia.org/wiki/Diagnosishttp://en.wikipedia.org/wiki/Hardcopy
  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    4/38

    T !"B#ES$!!TE

    .RE"ACE

    This pro(ect was undertaken at SVIET during 7 th Sem* to automate the system *The

    pro(ect is named as N/W CARD TROUBLESHOOTER$

    The purpose of this report is to assem'le under one cover a sufficient 'ody of knowledge

    a'out management and development a successful E.pert System pro(ect* The following

    /uotes outlines the 'asic idea 'ehind this technical report* This report assem'les various

    functions like planning, organizing, designing, testing, and maintenance of the software

    developed during this Semester*

    This report is a'out the adaptation of the techni/ues of pro(ect development and reflects

    the practice and methods of E.pert System pro(ect This report is intended for8

    9 Project managers :The report delivers the necessary information of the process a

    E.pert System pro(ect*

    9 Project coordinators :The tutorial presents the state of the practice in E.pert System

    software development and management techni/ues*

    9 Software engineers, programmers, analysts, and other computer personnel :The

    report contains a general description of:and pro'lems in:E.pert System pro(ect

    development plus a num'er of methodologies and techni/ues for managing a E.pert

    System software development pro(ect*

    D$ SHAHID

    ;

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    5/38

    T !"B#ES$!!TE

    INDEXTo -c Page No.

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    6/38

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    7/38

    T !"B#ES$!!TE

    .RO0ECT OVERVIEW

    .RO0ECT NA E 6 5?@ C% D T !"B#ES$!!TE

    INSTITUTE 6 S-I*)

    .RO0ECT T&.E 6 E.pert System

    "RONT END

    BAC!END

    6

    6

    Aava

    5?%

    TOOL 6 5otepad Editor

    7

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    8/38

    T !"B#ES$!!TE

    INTRODUCTION

    The pro(ect is 'ased on TROUBLESHOOTER$ This pro(ect is carried out at

    SVIET +%TI%#%* This a 5otepad using Aava Swing and %@T*In modern civili)ation has 'ecome so complicated and sophisticated that to survive

    one has to 'e competitive* This program helps person to trou'leshoot the pro'lem of

    network card* It is not possi'le for every company to availa'le at every time this

    trou'leshooters will interact with the user directly and has all the possi'le pro'lems

    solutions that can take place in a network card*

    The suita'le of computeri)ation for an application may 'e determined as follows8Com +te)-7ed (ol+t-on( (,o+ld 'e co(t 8+(t-9-*'le6 oney time saving and

    efficiency (ustify the cost of preparing writing and e.ecuting a program 5ow2

    computer devices are availa'le every where*

    CAUSE

    If a computer is una'le to connect to a network or see other computers on a network

    it may 'e necessary to trou'leshoot the network* % network may not work 'ecause

    of any of the 'elow reasons*

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    9/38

    T !"B#ES$!!TE

    .ROBLE DE"INITION

    If you can t connect to a computer on your home network or on a corporate network

    there might 'e a pro'lem with your computer s network adapter* The networkadapter might need to 'e reset or the adapter driver might need to 'e updated* Try

    using the 5etwork %dapter trou'leshooter to fi. the pro'lem* In era it is not possi'le

    that every time you get a pro'lem e.pert should 'e there* This trou'leshooter

    interact with you and directly and as per your re/uirement you can find the solution*

    %s this is directly interacting with the user it act as a e.pert system*

    There are the two ma(or areas in which the manual system affects costs8

    "navaila'ility of e.pert*

    The system needs la'our and is space intensive*

    The process is highly time consuming and thus e.pensive in 'oth human capital and

    processing costs*

    T-me con(+m-ng

    If a person has got some minor pro'lem then too it take some time to come to the

    e.pert to trou'leshoot the pro'lem which will cost the person as well as takes time

    too*

    Co(t

    Traditionally if your network adapter will have a minor pro'lem then too you will

    have to pay to the e.pert that will cost you unnecessary*

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    10/38

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    11/38

    T !"B#ES$!!TE

    .RO0ECT .LANS

    Te*m St)+ct+)e

    Team will 'e comprising of - mem'ers*

    !ur very a'le and helpful pro(ect guide s* Suppandeep Haur

    %vinash Shahid Swami Vivekanand Institute of Engineering &

    Technology a(pura

    De

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    12/38

    T !"B#ES$!!TE

    S S)*/ D*-* P/* ) I%* ! ! * / D* 2SD ! / D* 3

    This is also known as Classic #ife Cycle odel 0or1 #inear Se/uential odel 0or1

    @aterfall ethod* This has the following activities*

    * aintenance

    S;(tem/In9o)m*t-on Eng-nee)-ng *nd odel-ng

    %s software is always of a large system 0or 'usiness1 work 'egins 'y esta'lishing

    re/uirements for all system elements and then allocating some su'set of these

    re/uirements to software* This system view is essential when software must interface

    with other elements such as hardware people and other resources* System is the

    'asic and very critical re/uirement for the e.istence of software in any entity* So if

    the system is not in place the system should 'e engineered and put in place* In some

    cases to e.tract the ma.imum output the system should 'e re2engineered and

    spruced up* !nce the ideal system is engineered or tuned the development team

    studies the software re/uirement for the system*

    So9tw*)e Re=+-)ement An*l;(-(

    This is also known as feasi'ility study* In this phase the development team visits the

    customer and studies their system* They investigate the need for possi'le software

    automation in the given system* By the end of the feasi'ility study the team

    furnishes a document that holds the different specific recommendations for the

    candidate system* It also includes the personnel assignments costs pro(ect schedule

    and target dates* The re/uirements gathering process is intensified and focused

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    13/38

    T !"B#ES$!!TE

    specially on software* To understand the nature of the program0s1 to 'e 'uilt the

    system engineer 04analyst41 must understand the information domain for the

    software as well as re/uired function 'ehavior performance and interfacing* The

    essential purpose of this phase is to find the need and to define the pro'lem thatneeds to 'e solved*

    S;(tem An*l;(-( *nd De(-gn

    In this phase the software development process the software s overall structure and

    its nuances are defined* In terms of the client?server technology the num'er of tiers

    needed for the package architecture the data'ase design the data structure design etc

    are all defined in this phase* % software development model is created* %nalysis andDesign are very crucial in the whole development cycle* %ny glitch in the design

    phase could 'e very e.pensive to solve in the later stage of the software

    development* uch care is taken during this phase* The logical system of the

    product is developed in this phase*

    Code gene)*t-on

    The design must 'e translated into a machine2reada'le form* The code generation

    step performs this task* If the design is performed in a detailed manner code

    generation can 'e accomplished without much complication* +rogramming tools like

    Compilers Interpreters and De'uggers are used to generate the code* Different high

    level programming languages like C C +ascal and Aava are used for coding*

    @ith respect to the type of application the right programming language is chosen*

    Te(t-ng

    !nce the code is generated the software program testing 'egins* Different testing

    methodologies are availa'le to unravel the 'ugs that were committed during the

    previous phases* Different testing tools and methodologies are already availa'le*

    Some companies 'uild their own testing tools that are tailor made for their own

    development operations*

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    14/38

    T !"B#ES$!!TE

    *-nten*nce

    Software will definitely undergo change once it is delivered to the customer* There

    are many reasons for the change* Change could happen 'ecause of some une.pected

    input values into the system* In addition the changes in the system could directly

    affect the software operations* The software should 'e developed to accommodate

    changes that could happen during the post implementation period*

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    15/38

    T !"B#ES$!!TE

    0AVA

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    16/38

    T !"B#ES$!!TE

    Introduction:

    Aava is an o'(ect2oriented programming language with a 'uilt2in application

    programming interface 0%+I1 that can handle graphics and user interfaces and that can 'e

    used to create applications or applets* Because of its rich set of %+I s similar to

    acintosh and @indows and its platform independence Aava can also 'e thought of as a

    platform in itself* Aava also has standard li'raries for doing mathematics*

    uch of the synta. of Aava is the same as C and C * !ne ma(or difference is that Aava

    does not have pointers* $owever the 'iggest difference is that you must write o'(ect

    oriented code in Aava* +rocedural pieces of code can only 'e em'edded in o'(ects* In the

    following we assume that the reader has some familiarity with a programming language*

    In particular some familiarity with the synta. of C?C is useful*

    In Aava we distinguish 'etween applications which are programs that perform the same

    functions as those written in other programming languages and applets which are

    programs that can 'e em'edded in a @e'page and accessed over the Internet* !ur initial

    focus will 'e on writing applications* @hen a program is compiled a 'yte code is

    produced that can 'e read and e.ecuted 'y any platform that can run Aava*

    C,*)*cte)-(t-c(6

    >? .l*t9o)m Inde endent

    Aava is a platform for application development* % platform is a loosely defined computer

    industry 'u))word that typically means some com'ination of hardware and system

    software that will mostly run all the same software*

    Aava 'yte code is e.actly the same on every platform** Aava programs that have 'eencompiled into 'yte code still need an interpreter to e.ecute them on any given platform*

    The interpreter reads the 'yte code and translates it into the native language of the host

    machine on the fly* Since the 'yte code is completely platform independent only the

    interpreter and a few native li'raries need to 'e ported to get Aava to run on a new

    computer or operating system*

    %ll these pieces the (avac compiler the (ava interpreter the Aava programming languageand more are collectively referred to as Aava*

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    17/38

    T !"B#ES$!!TE

    @?O'8ect O)-ented

    In o'(ect2oriented programs data is represented 'y o'(ects* !'(ects have two sections

    fields 0instance varia'les1 and methods* 3ields tell you what an o'(ect is* ethods tellyou what an o'(ect does* These fields and methods are closely tied to the o'(ect s real

    world characteristics and 'ehavior* @hen a program is run messages are passed 'ack and

    forth 'etween o'(ects* @hen an o'(ect receives a message it responds accordingly as

    defined 'y its methods*

    4? Ro'+(t

    Aava implements a ro'ust e.ception handling mechanism to deal with 'oth e.pected and

    une.pected errors* The worst that an applet can do to a host system is 'ringing down the

    runtime environment* It cannot 'ring down the entire system*

    ost importantly Aava applets can 'e e.ecuted in an environment that prohi'its them

    from introducing viruses deleting or modifying files or otherwise destroying data and

    crashing the host computer* % Aava ena'led we' 'rowser checks the 'yte codes of an

    applet to verify that it doesn t do anything nasty 'efore it will run the applet*

    ? +lt-t,)e*ded

    Aava is inherently multi2threaded* % single Aava program can have many different threads

    e.ecuting independently and continuously* Three Aava applets on the same page can run

    together with each getting e/ual time from the C+" with very little e.tra effort on the

    part of the programmer*

    3? H-g, e)9o)m*nce

    Aava 'yte codes can 'e compiled on the fly to code that rivals C in speed using a 4(ust2

    in2time compiler*4 Several companies are also working on native2machine2architecture

    compilers for Aava* These will produce e.ecuta'le code that does not re/uire a separate

    interpreter and that is indistinguisha'le in speed from C *

    ? D;n*m-c

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    18/38

    T !"B#ES$!!TE

    Aava programs carry with them su'stantial amounts of run2time type information that is

    used to verify and resolve accesses to o'(ects at run2time* This makes it possi'le to

    dynamically link code in a safe and e.pedient manner* The (ava programming language

    is unusual than other programming languages it first compiles and then interprets the program* Compile first translate the program into intermediate language called

    intermediate language called (ava 'yte code* Aava 'yte code is platform independent

    code which is further interpreted 'y the interpreter on the (ava platform* Interpreter

    parses and run each (ava 'yte code instruction on the computer* Compilation occurs only

    once interpretation occurs each time when the program is e.ecuted*

    Java !te code "e#p$ in %a&ing t"e progra% '(rite once) run an!("ere*. +"e progra% can e co%pi#ed into

    !te code ! an! p#at,or% t"at i$ "aving t"e java co%pi#er- t"e co%pi#ed java !te code progra% i$ read! to

    run on an! %ac"ine "aving t"e java virtua# %ac"ine J/0 . J/0 i$ an interpreter ,or !te code.

    Java is too effective:

    Java's Cool

    Aava has caused more e.citement than any development on the Internet since osaic*

    Aava was the first way to include inline sound and animation in a we' page* Aava also lets

    users interact with a we' page* Instead of (ust reading it and perhaps filling out a form

    users can now play games calculate spreadsheets chat in real2time get continuously

    updated data and much much more*

    $ere are (ust a few of the many things Aava can do for a we' page8

    Inline sounds that play in real2time whenever a user loads a page

    usic that plays in the 'ackground on a page

    Cartoon style animations

    eal2time video

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    19/38

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    20/38

    T !"B#ES$!!TE

    -*AV is a standardi)ed hypothetical computer which is emulated inside your computer

    'y a program*

    +"e Java PI i$ a #arge co##ection o, read!3%ade $o,t(are co%ponent$ t"at provide %an! u$e,u#

    capa i#itie$) $uc" a$ grap"ica# u$er inter,ace 5I . +"e java PI i$ grouped into #i rarie$ o, re#ated c#a$$e$

    and inter,ace$ t"e$e #i rarie$ are &no(n a$ pac&age$.

    -G

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    21/38

    T !"B#ES$!!TE

    Programming language:

    1) Java language fundamentals

    Aava is purely o'(ect2oriented programming language*

    Aava is neither a superset nor a su'set of C ? C *

    "! Java and C Aava does not include keywords like goto si)eof and typedef*

    Aava does not contain data types like struct union and enum*

    Aava does not define the type modifiers keywords like auto register signed*

    Aava does not support an e.plicit pointer type*

    Aava does not have preprocessor*

    Aava does not support varia'les arguments to functions*

    Aava adds many features re/uired for !'(ect2!riented +rogramming*

    &! Java and C..

    Aava does not support operator overloading*

    Aava does not support multiple inheritances*

    Aava does not support glo'al varia'les*

    Aava has replaced the destructor function with a finali)e01 function* Aava is a true o'(ect2oriented language while C is 'asically C with o'(ect2oriented

    e.tension*

    Aava does not provide the access to the pointers*

    ,eneral Style8

    Aava is case2sensitive language*

    In Aava uppercase and lowercase letters are not the same*

    -

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    37/38

    T !"B#ES$!!TE

    67

  • 8/12/2019 JAVA Project Report--Network Card Troubleshooter

    38/38