Object-oriented programming aims to implement real-world entities like inheritance, hiding, polymorphism, etc in programming. The main aim of OOP is to bind together the data and the functions that operate on them so that no other part of the code can access this data except that function. OOPs Con...
ADHI COLLEGE OF ENGINEERING
AND
TECHNOLOGY
Sankarapuram, Near Walajabad, Kancheepuram Dist, Pin: 631605
DEPARTMENT
OF
INFORMATION TECHNOLOGY
STUDENT NAME :
REGISTER NO :
SUBJECT CODE : CS3381
SUBJECT NAME : OBJECT ORIENTED PROGRAMMING LABORATORY
YEAR / SEMESTER : II/III (2023- 2024)
1
, Sankarapuram, Near Walajabad, Kancheepuram Dist, Pin: 631605
DEPARTMENT OF INFORMATION TECHNOLOGY
LABORATORY RECORD NOTEBOOK
2023–2024
This is to certify that this is a bonafide record of the work done by
Mr./Ms. _____________________ of the year______________ B.E/B.Tech.,
Department of _________________ in the Laboratory in
the Semester during the year 2023-2024.
Staff In-Charge Head of the Department
Submitted to the University Examination held on _____________________.
INTERNAL EXAMINER EXTERNAL EXAMINER
2
, TABLE OF CONTENTS
PAGE
EX.NO DATE LISTOFEXPERIMENTS SIGN
NO
(a) SEQUENTIAL SEARCH
1
(b) BINARY SEARCH
(c) SELECTION SORT
(d) INSERTION SORT
10 TO DEVELOP APPLICATIONS USING JAVAFX
CONTROLS,LAYOUTS & MENUS
3
, Ex. No: 1(a)
SEQUENTIAL SEARCH
Date:
AIM
To develop a Java application using sequential search,binary search and quadratic sorting
algorithms.
PROCEDURE
1. Calculate the mid element of the collection.
2. Compare the key items with the mid element.
3. If key = middle element, then we return the mid index position for the key found.
4. Else If key > mid element, then the key lies in the right half of the collection. Thus repeat
steps 1 to 3 on the lower (right) half of the collection.
5. Else key < mid element, then the key is in the upper half of the collection. Hence you
need to repeat the binary search in the upper half.
4
The benefits of buying summaries with Stuvia:
Guaranteed quality through customer reviews
Stuvia customers have reviewed more than 700,000 summaries. This how you know that you are buying the best documents.
Quick and easy check-out
You can quickly pay through credit card for the summaries. There is no membership needed.
Focus on what matters
Your fellow students write the study notes themselves, which is why the documents are always reliable and up-to-date. This ensures you quickly get to the core!
Frequently asked questions
What do I get when I buy this document?
You get a PDF, available immediately after your purchase. The purchased document is accessible anytime, anywhere and indefinitely through your profile.
Satisfaction guarantee: how does it work?
Our satisfaction guarantee ensures that you always find a study document that suits you well. You fill out a form, and our customer service team takes care of the rest.
Who am I buying these notes from?
Stuvia is a marketplace, so you are not buying this document from us, but from seller saikarthick2004. Stuvia facilitates payment to the seller.
Will I be stuck with a subscription?
No, you only buy these notes for £7.11. You're not tied to anything after your purchase.