SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Course Seminar on
“Linear Search Algorithm”
Presented By :-
Name : Ashish Anil Sadavarti
Course Name :- Object Oriented Programming & Data Structures
(PCCET304T)
Course In-charge :- Vivek Deshmukh Sir
Contents
 Definitions (Search & Linear Search)
 Example
 Pseudo Code
 Advantages & Disadvantages
 What is search?
Search is the process of looking for something.
 What is linear search?
linear search or sequential search is a method for
finding a target value within a list. It sequentially
checks each element of the list for the target value
until a match is found or until all the elements have
been searched.
Definitions Linear Search
Linear Search Example
 If you are asked to find the name of the
person having phone number say "1234
with the help of a telephone directory.
 Since telephone directory is sorted by
name not by numbers, we have to go
through each and every number of the
directory
 For all elements
Check if it is equal to element being searched for.
If it is, return its position.
Else continue.
Pseudo Code
Linear Search Advantages & Disadvantages
● Advantages ●
If the first number in the directory is the
number you were searching for ,then
lucky you!.
Since you have found it on the very first
page. Now its not important for you that
how many pages are there in the
directory.
● Disadvantages ●
It may happen that the number you are
searching for is the last number of
directory or if it is not in the directory at
all.
In that case you have to search the
whole directory.
THANK YOU

Weitere ähnliche Inhalte

Ähnlich wie Linear Search in Oops.pptx

Unit-5 Object Oriented Thinking.pdf
Unit-5 Object Oriented Thinking.pdfUnit-5 Object Oriented Thinking.pdf
Unit-5 Object Oriented Thinking.pdfYashPatel132112
 
Searching in c language
Searching in c languageSearching in c language
Searching in c languageCHANDAN KUMAR
 
27631722026_T._TAJESWAR_RAO_PCC-CS301_CSE(CS).pptx
27631722026_T._TAJESWAR_RAO_PCC-CS301_CSE(CS).pptx27631722026_T._TAJESWAR_RAO_PCC-CS301_CSE(CS).pptx
27631722026_T._TAJESWAR_RAO_PCC-CS301_CSE(CS).pptxAyanMandal44
 
Searching and Sorting Unit II Part I.pptx
Searching and Sorting Unit II Part I.pptxSearching and Sorting Unit II Part I.pptx
Searching and Sorting Unit II Part I.pptxDr. Madhuri Jawale
 
9781111530532 ppt ch14
9781111530532 ppt ch149781111530532 ppt ch14
9781111530532 ppt ch14Terry Yoast
 
Searching and Sorting Techniques in Data Structure
Searching and Sorting Techniques in Data StructureSearching and Sorting Techniques in Data Structure
Searching and Sorting Techniques in Data StructureBalwant Gorad
 
Searching in Data Structure(Linear search and Binary search)
Searching in Data Structure(Linear search and Binary search)Searching in Data Structure(Linear search and Binary search)
Searching in Data Structure(Linear search and Binary search)SURBHI SAROHA
 
programming in C
programming in Cprogramming in C
programming in CADITHYAM19
 
ODD EVEN BASED BINARY SEARCH
ODD EVEN BASED BINARY SEARCHODD EVEN BASED BINARY SEARCH
ODD EVEN BASED BINARY SEARCHIAEME Publication
 
Sequential & binary, linear search
Sequential & binary, linear searchSequential & binary, linear search
Sequential & binary, linear searchmontazur420
 
4.1 sequentioal search
4.1 sequentioal search4.1 sequentioal search
4.1 sequentioal searchKrish_ver2
 
Data Structure & Algorithms - Operations
Data Structure & Algorithms - OperationsData Structure & Algorithms - Operations
Data Structure & Algorithms - Operationsbabuk110
 
Data structures lectures no 1
Data structures lectures no 1Data structures lectures no 1
Data structures lectures no 1AzharIqbal710687
 
Searching techniques
Searching techniquesSearching techniques
Searching techniquesER Punit Jain
 
Artificial intelligence 2 Part 1
Artificial intelligence 2 Part 1Artificial intelligence 2 Part 1
Artificial intelligence 2 Part 1SURBHI SAROHA
 

Ähnlich wie Linear Search in Oops.pptx (20)

Unit-5 Object Oriented Thinking.pdf
Unit-5 Object Oriented Thinking.pdfUnit-5 Object Oriented Thinking.pdf
Unit-5 Object Oriented Thinking.pdf
 
Searching in c language
Searching in c languageSearching in c language
Searching in c language
 
27631722026_T._TAJESWAR_RAO_PCC-CS301_CSE(CS).pptx
27631722026_T._TAJESWAR_RAO_PCC-CS301_CSE(CS).pptx27631722026_T._TAJESWAR_RAO_PCC-CS301_CSE(CS).pptx
27631722026_T._TAJESWAR_RAO_PCC-CS301_CSE(CS).pptx
 
Searching and Sorting Unit II Part I.pptx
Searching and Sorting Unit II Part I.pptxSearching and Sorting Unit II Part I.pptx
Searching and Sorting Unit II Part I.pptx
 
seaching internal 2 ppt
seaching internal 2 pptseaching internal 2 ppt
seaching internal 2 ppt
 
9781111530532 ppt ch14
9781111530532 ppt ch149781111530532 ppt ch14
9781111530532 ppt ch14
 
Searching and Sorting Techniques in Data Structure
Searching and Sorting Techniques in Data StructureSearching and Sorting Techniques in Data Structure
Searching and Sorting Techniques in Data Structure
 
Searching in Data Structure(Linear search and Binary search)
Searching in Data Structure(Linear search and Binary search)Searching in Data Structure(Linear search and Binary search)
Searching in Data Structure(Linear search and Binary search)
 
programming in C
programming in Cprogramming in C
programming in C
 
ODD EVEN BASED BINARY SEARCH
ODD EVEN BASED BINARY SEARCHODD EVEN BASED BINARY SEARCH
ODD EVEN BASED BINARY SEARCH
 
Proposal
ProposalProposal
Proposal
 
Sequential & binary, linear search
Sequential & binary, linear searchSequential & binary, linear search
Sequential & binary, linear search
 
Algorithm and Programming (Searching)
Algorithm and Programming (Searching)Algorithm and Programming (Searching)
Algorithm and Programming (Searching)
 
4.1 sequentioal search
4.1 sequentioal search4.1 sequentioal search
4.1 sequentioal search
 
Chapter 14
Chapter 14Chapter 14
Chapter 14
 
Data Structure & Algorithms - Operations
Data Structure & Algorithms - OperationsData Structure & Algorithms - Operations
Data Structure & Algorithms - Operations
 
Data structures lectures no 1
Data structures lectures no 1Data structures lectures no 1
Data structures lectures no 1
 
Searching techniques
Searching techniquesSearching techniques
Searching techniques
 
Searching_Sorting.pptx
Searching_Sorting.pptxSearching_Sorting.pptx
Searching_Sorting.pptx
 
Artificial intelligence 2 Part 1
Artificial intelligence 2 Part 1Artificial intelligence 2 Part 1
Artificial intelligence 2 Part 1
 

Mehr von Ashish Sadavarti

Derivatives & Risk Management
Derivatives & Risk Management Derivatives & Risk Management
Derivatives & Risk Management Ashish Sadavarti
 
Stationary Store Management System
Stationary Store Management SystemStationary Store Management System
Stationary Store Management SystemAshish Sadavarti
 
STEPPER MOTOR CONTROLLER USING MICROCONTROLLER
STEPPER MOTOR CONTROLLER USING MICROCONTROLLERSTEPPER MOTOR CONTROLLER USING MICROCONTROLLER
STEPPER MOTOR CONTROLLER USING MICROCONTROLLERAshish Sadavarti
 
Develop a shadow sensor alarm using IC 741
Develop a shadow sensor alarm using IC 741Develop a shadow sensor alarm using IC 741
Develop a shadow sensor alarm using IC 741Ashish Sadavarti
 
BUILD A CIRCUIT FOR EVEN PARITY GENERATOR
BUILD A CIRCUIT FOR EVEN PARITY GENERATORBUILD A CIRCUIT FOR EVEN PARITY GENERATOR
BUILD A CIRCUIT FOR EVEN PARITY GENERATORAshish Sadavarti
 
build a circuit for battery charger for charging a battery of 6V, 4AH
build a circuit for battery charger for charging a battery of 6V, 4AHbuild a circuit for battery charger for charging a battery of 6V, 4AH
build a circuit for battery charger for charging a battery of 6V, 4AHAshish Sadavarti
 
SIMULATE AND BUILD CIRCUIT ON GENRAL PURPOSE PCB OF 4:1 MULTIPLEXER .pptx
SIMULATE AND BUILD CIRCUIT ON GENRAL PURPOSE PCB OF 4:1 MULTIPLEXER .pptxSIMULATE AND BUILD CIRCUIT ON GENRAL PURPOSE PCB OF 4:1 MULTIPLEXER .pptx
SIMULATE AND BUILD CIRCUIT ON GENRAL PURPOSE PCB OF 4:1 MULTIPLEXER .pptxAshish Sadavarti
 
BUILD A ROOM TEMPERATURE MEASURMENT CIRCUIT USING MICROCONTROLLER.pptx
BUILD A ROOM TEMPERATURE MEASURMENT CIRCUIT USING MICROCONTROLLER.pptxBUILD A ROOM TEMPERATURE MEASURMENT CIRCUIT USING MICROCONTROLLER.pptx
BUILD A ROOM TEMPERATURE MEASURMENT CIRCUIT USING MICROCONTROLLER.pptxAshish Sadavarti
 
DEVELOP A SOUND SENSOR USING LM 324 AND MICROPHONE.pptx
DEVELOP A SOUND SENSOR USING LM 324 AND MICROPHONE.pptxDEVELOP A SOUND SENSOR USING LM 324 AND MICROPHONE.pptx
DEVELOP A SOUND SENSOR USING LM 324 AND MICROPHONE.pptxAshish Sadavarti
 
BUILD CIRCUIT TO GENERATE FSK FREQUENCY SHIFT KEYING.pptx
BUILD CIRCUIT TO GENERATE FSK FREQUENCY SHIFT KEYING.pptxBUILD CIRCUIT TO GENERATE FSK FREQUENCY SHIFT KEYING.pptx
BUILD CIRCUIT TO GENERATE FSK FREQUENCY SHIFT KEYING.pptxAshish Sadavarti
 
DEVELOP A GAS LEAKAGE DETECTOR .pptx
DEVELOP A GAS LEAKAGE DETECTOR .pptxDEVELOP A GAS LEAKAGE DETECTOR .pptx
DEVELOP A GAS LEAKAGE DETECTOR .pptxAshish Sadavarti
 
BUILD DC TIME DELAY RELAY USING PUT ON ZERO (0) PCB .pptx
BUILD DC TIME DELAY RELAY USING PUT ON ZERO (0) PCB .pptxBUILD DC TIME DELAY RELAY USING PUT ON ZERO (0) PCB .pptx
BUILD DC TIME DELAY RELAY USING PUT ON ZERO (0) PCB .pptxAshish Sadavarti
 
PREPARE A CHART OF STEPPER MOTOR TO DISPLAY ITS FEATURES AND STEPS FOR ITS OP...
PREPARE A CHART OF STEPPER MOTOR TO DISPLAY ITS FEATURES AND STEPS FOR ITS OP...PREPARE A CHART OF STEPPER MOTOR TO DISPLAY ITS FEATURES AND STEPS FOR ITS OP...
PREPARE A CHART OF STEPPER MOTOR TO DISPLAY ITS FEATURES AND STEPS FOR ITS OP...Ashish Sadavarti
 
SIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptx
SIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptxSIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptx
SIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptxAshish Sadavarti
 
TO CONSTRUCT THE CIRCUIT FOR ONE BIT ERROR CORRECTION USING HAMMING CODE.pptx
TO CONSTRUCT THE CIRCUIT FOR ONE BIT ERROR CORRECTION USING HAMMING CODE.pptxTO CONSTRUCT THE CIRCUIT FOR ONE BIT ERROR CORRECTION USING HAMMING CODE.pptx
TO CONSTRUCT THE CIRCUIT FOR ONE BIT ERROR CORRECTION USING HAMMING CODE.pptxAshish Sadavarti
 

Mehr von Ashish Sadavarti (20)

Ministry of School
Ministry of SchoolMinistry of School
Ministry of School
 
RELIGION IN INDIA
RELIGION IN INDIARELIGION IN INDIA
RELIGION IN INDIA
 
5V_DC POWER Supply
5V_DC POWER Supply5V_DC POWER Supply
5V_DC POWER Supply
 
BUBBLESORT
BUBBLESORT BUBBLESORT
BUBBLESORT
 
Derivatives & Risk Management
Derivatives & Risk Management Derivatives & Risk Management
Derivatives & Risk Management
 
Stationary Store Management System
Stationary Store Management SystemStationary Store Management System
Stationary Store Management System
 
ARTIFICIAL INTELIGENCE
ARTIFICIAL INTELIGENCEARTIFICIAL INTELIGENCE
ARTIFICIAL INTELIGENCE
 
STEPPER MOTOR CONTROLLER USING MICROCONTROLLER
STEPPER MOTOR CONTROLLER USING MICROCONTROLLERSTEPPER MOTOR CONTROLLER USING MICROCONTROLLER
STEPPER MOTOR CONTROLLER USING MICROCONTROLLER
 
Develop a shadow sensor alarm using IC 741
Develop a shadow sensor alarm using IC 741Develop a shadow sensor alarm using IC 741
Develop a shadow sensor alarm using IC 741
 
BUILD A CIRCUIT FOR EVEN PARITY GENERATOR
BUILD A CIRCUIT FOR EVEN PARITY GENERATORBUILD A CIRCUIT FOR EVEN PARITY GENERATOR
BUILD A CIRCUIT FOR EVEN PARITY GENERATOR
 
build a circuit for battery charger for charging a battery of 6V, 4AH
build a circuit for battery charger for charging a battery of 6V, 4AHbuild a circuit for battery charger for charging a battery of 6V, 4AH
build a circuit for battery charger for charging a battery of 6V, 4AH
 
SIMULATE AND BUILD CIRCUIT ON GENRAL PURPOSE PCB OF 4:1 MULTIPLEXER .pptx
SIMULATE AND BUILD CIRCUIT ON GENRAL PURPOSE PCB OF 4:1 MULTIPLEXER .pptxSIMULATE AND BUILD CIRCUIT ON GENRAL PURPOSE PCB OF 4:1 MULTIPLEXER .pptx
SIMULATE AND BUILD CIRCUIT ON GENRAL PURPOSE PCB OF 4:1 MULTIPLEXER .pptx
 
BUILD A ROOM TEMPERATURE MEASURMENT CIRCUIT USING MICROCONTROLLER.pptx
BUILD A ROOM TEMPERATURE MEASURMENT CIRCUIT USING MICROCONTROLLER.pptxBUILD A ROOM TEMPERATURE MEASURMENT CIRCUIT USING MICROCONTROLLER.pptx
BUILD A ROOM TEMPERATURE MEASURMENT CIRCUIT USING MICROCONTROLLER.pptx
 
DEVELOP A SOUND SENSOR USING LM 324 AND MICROPHONE.pptx
DEVELOP A SOUND SENSOR USING LM 324 AND MICROPHONE.pptxDEVELOP A SOUND SENSOR USING LM 324 AND MICROPHONE.pptx
DEVELOP A SOUND SENSOR USING LM 324 AND MICROPHONE.pptx
 
BUILD CIRCUIT TO GENERATE FSK FREQUENCY SHIFT KEYING.pptx
BUILD CIRCUIT TO GENERATE FSK FREQUENCY SHIFT KEYING.pptxBUILD CIRCUIT TO GENERATE FSK FREQUENCY SHIFT KEYING.pptx
BUILD CIRCUIT TO GENERATE FSK FREQUENCY SHIFT KEYING.pptx
 
DEVELOP A GAS LEAKAGE DETECTOR .pptx
DEVELOP A GAS LEAKAGE DETECTOR .pptxDEVELOP A GAS LEAKAGE DETECTOR .pptx
DEVELOP A GAS LEAKAGE DETECTOR .pptx
 
BUILD DC TIME DELAY RELAY USING PUT ON ZERO (0) PCB .pptx
BUILD DC TIME DELAY RELAY USING PUT ON ZERO (0) PCB .pptxBUILD DC TIME DELAY RELAY USING PUT ON ZERO (0) PCB .pptx
BUILD DC TIME DELAY RELAY USING PUT ON ZERO (0) PCB .pptx
 
PREPARE A CHART OF STEPPER MOTOR TO DISPLAY ITS FEATURES AND STEPS FOR ITS OP...
PREPARE A CHART OF STEPPER MOTOR TO DISPLAY ITS FEATURES AND STEPS FOR ITS OP...PREPARE A CHART OF STEPPER MOTOR TO DISPLAY ITS FEATURES AND STEPS FOR ITS OP...
PREPARE A CHART OF STEPPER MOTOR TO DISPLAY ITS FEATURES AND STEPS FOR ITS OP...
 
SIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptx
SIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptxSIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptx
SIMULATE AND CIRCUIT ON GENERAL PURPOSE PCB OF HALF ADDER.pptx
 
TO CONSTRUCT THE CIRCUIT FOR ONE BIT ERROR CORRECTION USING HAMMING CODE.pptx
TO CONSTRUCT THE CIRCUIT FOR ONE BIT ERROR CORRECTION USING HAMMING CODE.pptxTO CONSTRUCT THE CIRCUIT FOR ONE BIT ERROR CORRECTION USING HAMMING CODE.pptx
TO CONSTRUCT THE CIRCUIT FOR ONE BIT ERROR CORRECTION USING HAMMING CODE.pptx
 

Kürzlich hochgeladen

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...ranjana rawat
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfKamal Acharya
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...Call Girls in Nagpur High Profile
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...ranjana rawat
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations120cr0395
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSSIVASHANKAR N
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlysanyuktamishra911
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur High Profile
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingrknatarajan
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Dr.Costas Sachpazis
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performancesivaprakash250
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINESIVASHANKAR N
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Bookingdharasingh5698
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingrakeshbaidya232001
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxupamatechverse
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls in Nagpur High Profile
 

Kürzlich hochgeladen (20)

The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
The Most Attractive Pune Call Girls Budhwar Peth 8250192130 Will You Miss Thi...
 
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service NashikCollege Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
College Call Girls Nashik Nehal 7001305949 Independent Escort Service Nashik
 
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdfONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
ONLINE FOOD ORDER SYSTEM PROJECT REPORT.pdf
 
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANJALI) Dange Chowk Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...Booking open Available Pune Call Girls Pargaon  6297143586 Call Hot Indian Gi...
Booking open Available Pune Call Girls Pargaon 6297143586 Call Hot Indian Gi...
 
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
(ANVI) Koregaon Park Call Girls Just Call 7001035870 [ Cash on Delivery ] Pun...
 
Extrusion Processes and Their Limitations
Extrusion Processes and Their LimitationsExtrusion Processes and Their Limitations
Extrusion Processes and Their Limitations
 
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur EscortsCall Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
Call Girls in Nagpur Suman Call 7001035870 Meet With Nagpur Escorts
 
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLSMANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
MANUFACTURING PROCESS-II UNIT-5 NC MACHINE TOOLS
 
KubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghlyKubeKraft presentation @CloudNativeHooghly
KubeKraft presentation @CloudNativeHooghly
 
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur EscortsRussian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
Russian Call Girls in Nagpur Grishma Call 7001035870 Meet With Nagpur Escorts
 
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur EscortsHigh Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
High Profile Call Girls Nagpur Meera Call 7001035870 Meet With Nagpur Escorts
 
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and workingUNIT-V FMM.HYDRAULIC TURBINE - Construction and working
UNIT-V FMM.HYDRAULIC TURBINE - Construction and working
 
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
Structural Analysis and Design of Foundations: A Comprehensive Handbook for S...
 
UNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its PerformanceUNIT - IV - Air Compressors and its Performance
UNIT - IV - Air Compressors and its Performance
 
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINEMANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
MANUFACTURING PROCESS-II UNIT-2 LATHE MACHINE
 
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 BookingVIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
VIP Call Girls Ankleshwar 7001035870 Whatsapp Number, 24/07 Booking
 
Porous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writingPorous Ceramics seminar and technical writing
Porous Ceramics seminar and technical writing
 
Introduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptxIntroduction to IEEE STANDARDS and its different types.pptx
Introduction to IEEE STANDARDS and its different types.pptx
 
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service NashikCall Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
Call Girls Service Nashik Vaishnavi 7001305949 Independent Escort Service Nashik
 

Linear Search in Oops.pptx

  • 1. Course Seminar on “Linear Search Algorithm” Presented By :- Name : Ashish Anil Sadavarti Course Name :- Object Oriented Programming & Data Structures (PCCET304T) Course In-charge :- Vivek Deshmukh Sir
  • 2. Contents  Definitions (Search & Linear Search)  Example  Pseudo Code  Advantages & Disadvantages
  • 3.  What is search? Search is the process of looking for something.  What is linear search? linear search or sequential search is a method for finding a target value within a list. It sequentially checks each element of the list for the target value until a match is found or until all the elements have been searched. Definitions Linear Search
  • 4. Linear Search Example  If you are asked to find the name of the person having phone number say "1234 with the help of a telephone directory.  Since telephone directory is sorted by name not by numbers, we have to go through each and every number of the directory
  • 5.  For all elements Check if it is equal to element being searched for. If it is, return its position. Else continue. Pseudo Code
  • 6. Linear Search Advantages & Disadvantages ● Advantages ● If the first number in the directory is the number you were searching for ,then lucky you!. Since you have found it on the very first page. Now its not important for you that how many pages are there in the directory. ● Disadvantages ● It may happen that the number you are searching for is the last number of directory or if it is not in the directory at all. In that case you have to search the whole directory.