RANKING OBJECT DATA BASED ON

PREFERENCE QUERY
A PROJECT REPORT SUBMITTED IN PARTIAL FULFILMENT OF THE REQUIREMENTS FOR
THE AWARD OF THE DEGREE OF
BACHELOR OF TECHNOLOGY IN COMPUTER SCIENCE & ENGINEERING

By
B.V.J.NETRA(08JG1A0505)
CH.BHARATHI(08JG1A0515)
M.RAMYAKRISHNA(08JG1A0545)
P.GOWRI(08JG1A0554)

Department of Computer Science and Engineering
GAYATRI VIDYA PARISHAD COLLEGE OF ENGINEERING FOR
WOMEN

(Affiliated to Jawaharlal Nehru Technological
University, Kakinada)
2008-2012

Kakinada during the academic year 2011-2012.H.GAYATRI VIDYA PARISHAD COLLEGE OF ENGINEERING FOR WOMEN Department of Computer Science & Engineering CERTIFICATE This is to certify that the project report titled “RANKING OBJECT DATA BASED ON PREFERENCE QUERY” is a bonafide work of following IV/IV B.NETRA(08JG1A0505) M. B. K. C. in partial fulfilment of the requirement for the award of the degree of Bachelor of Technology of this university.J.BHARATHI(08JG1A0515) P.Rohini Assistant professor Computer Science and Engineering GVPCEW Prof.V.GOWRI(08JG1A0554) Internal Guide Head of the Department Mrs.Tech students in the Department of Computer Science & Engineering of JNT University. Srinivas Head of Department Computer Science Engineering GVPCEW External Examiner .RAMYA KRISHNA(08JG1A0545) C.

We thank our Vice Principal Prof.G. Principal and Asst. H. We thank our Management and Principal Dr. Visakhapatnam.Srinivas.Bhaskara Sharma. Department of Computer Science of GVP College of Engineering for Women.D of Computer Science and engineering Department Gayatri Vidya Parishad College of Engineering For Women for providing us an opportunity to do our projects work on “RANKING OBJECT DATA BASED ON PREFERENCE QUERY”. .Bhaskara Sharma. strength and help for everything. This project bears on imprint of many peoples.Prof. for providing the infrastructure required for our project.Tech degree in computer science & engineering. Professor C. We sincerely thank our project guide Asst.Sudheer for his outstanding contribution in inculcating confidence for the completion of the project. Last but not least we wish to avail our self of this opportunity to express a sense of gratitude and love to our friends and our beloved parents for their manual support. Visakhapatnam for guidance and encouragement in carrying out this project work. “RANKING OBJECT DATA BASED ON PREFERENCE QUERY” in partial fulfilment of the requirement for the award of B. We wish to express our sincere gratitude to Dr.O.Rohini. Professor K.Prof.ACKNOWLEDGEMENT We present this report.

publisher. reader of the book with a even more clear analysis about their book. Given a query location. cafes. . We implement this concept of ranking in the field of education.Abstract A preference query ranks objects based on the qualities of features in their neighbourhood. to know the rank. restaurants. defined after aggregating the qualities of other features (e. ranking is often associated to nearest neighbour (NN) retrieval. thus providing the author. we are interested in retrieving the set of nearest objects to it that qualify a condition. wherein. hospital. For example. Such a neighbourhood concept can be specified by the user via different functions. a provision of the ranking various books available under a particular category is provided and an analysis of the position of those books ranked is provided to the user displaying the rank of the book. the position of a particular item in that field. we rank tuples using an aggregate score function on their attribute values. using a real estate agency database of flats for lease. Ranking on the basis of nearest neighbour or branch bound. market. a customer may want to rank the flats with respect to the appropriateness of their location. we can apply distance bounds and traverse the index in a branch-and-bound fashion to obtain the answer. Object ranking is a popular retrieval task in various applications. Extensive evaluation of ranking methods on both real and synthetic data reveals that an optimized branch-and-bound solution is efficient and robust with respect to different parameters.. In relational databases. using spatial and non-spatial ranking can be applied in various fields of applications.) within their spatial neighbourhood. Assuming that the set of interesting objects is indexed by an R-tree.g. etc. In spatial databases.

..............................Error! Bookmark not defined..................................1........Error! Bookmark not defined..............................................................................................................Error! Bookmark not defined.....2...................................3............................2.Error! Bookmark not defined....html ...1......... LITERATURE SURVEY ......5 addcategory.....................Error! Bookmark not defined...............................................1......Error! Bookmark not defined.............Error! Bookmark not defined..............................................................3 Disadvantages Of Existing System .......html .. 4...............6 Deployment Diagram....6 rankchart..........................................................................Error! Bookmark not defined.....Error! Bookmark not defined....... 4............................Error! Bookmark not defined....4 Activity Diagram ...........................................Error! Bookmark not defined.......java .......... 2.......... 5........... 4...................................1 Class Diagram..... 5....................................................... 5................................................................ 1.............. 4................... 5.....Error! Bookmark not defined........................ 4....................................... 5...............................1 Sample Code .........................................1........................3 Userlogin..................2.....Error! Bookmark not defined...............2.................... 4.....................Error! Bookmark not defined...............................4 addvoteinsert..2 Functional requirements ............................Error! Bookmark not defined... 3.............Error! Bookmark not defined..................java ........................................................................ 3....................4 Proposed System .5 Component Diagram.....................Error! Bookmark not defined................................1................. 4............2 Unified Modelling Language .3 Software Requirement Specification ... IMPLEMENTATION ....... 2......................................... 5...............................................Error! Bookmark not defined................................2.........Table of Contents 1..............................2Introduction to R-tree...........................Error! Bookmark not defined.jsp ... ANALYSIS .......... 5.... 1.....1 Sequence Diagram ....................jsp ..........................................Error! Bookmark not defined.........Error! Bookmark not defined.1.Error! Bookmark not defined.................Error! Bookmark not defined.Error! Bookmark not defined.....Error! Bookmark not defined........................Error! Bookmark not defined...... 2.......................................................2....1 Index......................... .................2..................Error! Bookmark not defined................. 3.Error! Bookmark not defined.. 5............. DESIGN ....2 Use Case Diagram ..........Error! Bookmark not defined... 4............ 4...............2.................................Error! Bookmark not defined.................... INTRODUCTION.3 Module Design ............... Screen Shots ................ 2........................................Error! Bookmark not defined.....Error! Bookmark not defined...1 Index.1 Introduction .......................................... 2......Error! Bookmark not defined........3......................................Error! Bookmark not defined..........................1.........................................................1 Motivation ...........Error! Bookmark not defined..... 1.............7 Databaseconnectn.......................................2......................................................................... 5..........................................2 Book1......1 Introduction .... 4................jsp ............................ 4.....................2 Existing System ...........................3 Interaction Diagram .......jsp .......................... 5.................................................1 Introduction ..... 3.............. 5....3 Problem Definition.......

...... Conclusion ...........................................2.................Error! Bookmark not defined.......................2........................................2.................jsp ...................jsp ...4 Addurl.....................jsp ........Error! Bookmark not defined..........5................................................................... 6.............3 Adminpage........Error! Bookmark not defined..... 6..................... Test cases..Error! Bookmark not defined...... 5.. 5...............jsp ..............................Error! Bookmark not defined..........................................2....................................................2.....3.............Error! Bookmark not defined.... 6...........2........jsp..........2.............1 Test case 1 ........................................Error! Bookmark not defined.................................jsp .............14 R-tree ..................................4 Test case 4 ................. 6....................................... 6.............................2............3 Test case 3 ................................................Error! Bookmark not defined................................2 Black Box Testing ......................................... 5........................ 7......2.. 6.............2. 5...................2..2 Test case 2 ..............Error! Bookmark not defined...........................................12 Charts........3.. 5...................................................2.................1 Introduction ..................... 6................................................................jsp .......Error! Bookmark not defined.......................10 Vote.......13 Userpage...............................2 Test case 2 ..........2 Adminlogin.. 6..............................Error! Bookmark not defined.....................................................................jsp ... 5. 5....Error! Bookmark not defined..........................2.............................................................. 5................................................... 5...............11 Rankjsp.......Error! Bookmark not defined................................. TESTING ..................3..............Error! Bookmark not defined............. 6...................Error! Bookmark not defined...............8 Userlogin...5 Addranking.....................................6 Addcategory.........3 Test case 3 .....................................Error! Bookmark not defined...........Error! Bookmark not defined.........................Error! Bookmark not defined...Error! Bookmark not defined.....2......................3 White Box Testing ............. 5....9 Userinsert1............. 8......................................... 6.................... 5.Error! Bookmark not defined................................................Error! Bookmark not defined....Error! Bookmark not defined..........jsp ....................... 6...... REFERENCES ...................Error! Bookmark not defined....................... ......1 Test case 1 .........2.............................................. 5..............................jsp ..............jsp ....7 Addtype...........Error! Bookmark not defined....Error! Bookmark not defined.................................Error! Bookmark not defined.............Error! Bookmark not defined........2.....................................2..jsp ....

2.2.3.List Of Figures 4.jsp 5.4 White box test case1 .2 UseCase diagram 4.11 Rankjsp.jsp 5.3.12 Charts.jsp 5.2.Activity diagram 4.jsp 5.jsp 5.4 Addurl.1 Black box test case2 6.6 Deployment diagram 5.7 Addtype.jsp 5.3.2.1 Class diagram 4.5 Component diagram 4.2.2.jsp 5.2.3 White box test case1 6.2.1 Black box test case1 6.2 Black box test case2 6.2.jsp 5.jsp 5.8 Userlogin.jsp 5.2.1 White box test case1 6.3 Sequence diagram 4.9 Userinsert1.2.2.2.13 Userpage.2 Adminlogin.2.3.5 Addranking.2.2.2 White box test case1 6.14 R-tree 6.2.html 5.6 Addcategory.2.2.3 Adminpage.jsp 5.2.4.1 Index.2.jsp 5.2.2.2.10 Vote.