SlideShare a Scribd company logo
10.1) #3
Will linear search work on any input array? Explain.
Solution
Will linear search work on any input array
yes, It works any input array: sorted and un-sorted array
In linear search, we start searchinf from first(begining) element of the array and we keep on
searching
until we do not find till end. So order of element in array does not matter for linear search.

More Related Content

More from infoeyecare

What is ransomware How can these cyber-attacks result in data loss.pdf
What is ransomware How can these cyber-attacks result in data loss.pdfWhat is ransomware How can these cyber-attacks result in data loss.pdf
What is ransomware How can these cyber-attacks result in data loss.pdf
infoeyecare
 
What are the 3 ways a Java method must match with its definition and.pdf
What are the 3 ways a Java method must match with its definition and.pdfWhat are the 3 ways a Java method must match with its definition and.pdf
What are the 3 ways a Java method must match with its definition and.pdf
infoeyecare
 
Using the Internet, compare and contrast two commercially available .pdf
Using the Internet, compare and contrast two commercially available .pdfUsing the Internet, compare and contrast two commercially available .pdf
Using the Internet, compare and contrast two commercially available .pdf
infoeyecare
 
uetator Periodic Table Question 6 of 30 Incorrect Incorrect DA Saplin.pdf
uetator Periodic Table Question 6 of 30 Incorrect Incorrect DA Saplin.pdfuetator Periodic Table Question 6 of 30 Incorrect Incorrect DA Saplin.pdf
uetator Periodic Table Question 6 of 30 Incorrect Incorrect DA Saplin.pdf
infoeyecare
 
The starship Epidemiology Team has cone many missions exploring the u.pdf
The starship Epidemiology Team has cone many missions exploring the u.pdfThe starship Epidemiology Team has cone many missions exploring the u.pdf
The starship Epidemiology Team has cone many missions exploring the u.pdf
infoeyecare
 
Question 3)Perform a regression analysis using compa as the depend.pdf
Question 3)Perform a regression analysis using compa as the depend.pdfQuestion 3)Perform a regression analysis using compa as the depend.pdf
Question 3)Perform a regression analysis using compa as the depend.pdf
infoeyecare
 
Problems in PYTHON3.5 1. Define a function sumOfDigits that has one .pdf
Problems in PYTHON3.5 1. Define a function sumOfDigits that has one .pdfProblems in PYTHON3.5 1. Define a function sumOfDigits that has one .pdf
Problems in PYTHON3.5 1. Define a function sumOfDigits that has one .pdf
infoeyecare
 
Only a very small percentage of organisms actually fossilize. Based o.pdf
Only a very small percentage of organisms actually fossilize. Based o.pdfOnly a very small percentage of organisms actually fossilize. Based o.pdf
Only a very small percentage of organisms actually fossilize. Based o.pdf
infoeyecare
 
package lab7; import java.util.Scanner; Sammy Student, Program.pdf
package lab7; import java.util.Scanner; Sammy Student, Program.pdfpackage lab7; import java.util.Scanner; Sammy Student, Program.pdf
package lab7; import java.util.Scanner; Sammy Student, Program.pdf
infoeyecare
 
Odin and Zeus travel to the outermost reaches of our galaxy using wa.pdf
Odin and Zeus travel to the outermost reaches of our galaxy using wa.pdfOdin and Zeus travel to the outermost reaches of our galaxy using wa.pdf
Odin and Zeus travel to the outermost reaches of our galaxy using wa.pdf
infoeyecare
 
Many new species of desert have arisen from a population which was .pdf
Many new species of desert  have arisen from a  population which was .pdfMany new species of desert  have arisen from a  population which was .pdf
Many new species of desert have arisen from a population which was .pdf
infoeyecare
 
List and analyze some of the most salient social factors of group un.pdf
List and analyze some of the most salient social factors of group un.pdfList and analyze some of the most salient social factors of group un.pdf
List and analyze some of the most salient social factors of group un.pdf
infoeyecare
 
J. A. Moore investigated the inheritance of spotting patterns in leop.pdf
J. A. Moore investigated the inheritance of spotting patterns in leop.pdfJ. A. Moore investigated the inheritance of spotting patterns in leop.pdf
J. A. Moore investigated the inheritance of spotting patterns in leop.pdf
infoeyecare
 
In making your determination with the BP oil spill, what were the pr.pdf
In making your determination with the BP oil spill, what were the pr.pdfIn making your determination with the BP oil spill, what were the pr.pdf
In making your determination with the BP oil spill, what were the pr.pdf
infoeyecare
 
I need to write a java program about translating the DNA sequenc.pdf
I need to write a java program about translating the DNA sequenc.pdfI need to write a java program about translating the DNA sequenc.pdf
I need to write a java program about translating the DNA sequenc.pdf
infoeyecare
 
How vacancies in silicon affect its electronic propertySolution.pdf
How vacancies in silicon affect its electronic propertySolution.pdfHow vacancies in silicon affect its electronic propertySolution.pdf
How vacancies in silicon affect its electronic propertySolution.pdf
infoeyecare
 
How do people usually respond to externalities regarding public good.pdf
How do people usually respond to externalities regarding public good.pdfHow do people usually respond to externalities regarding public good.pdf
How do people usually respond to externalities regarding public good.pdf
infoeyecare
 
Does mitosis favor genetic diversity or not. And whySolutionM.pdf
Does mitosis favor genetic diversity or not. And whySolutionM.pdfDoes mitosis favor genetic diversity or not. And whySolutionM.pdf
Does mitosis favor genetic diversity or not. And whySolutionM.pdf
infoeyecare
 
Explain how the case of Lehman Brothers illustrates how it is diffic.pdf
Explain how the case of Lehman Brothers illustrates how it is diffic.pdfExplain how the case of Lehman Brothers illustrates how it is diffic.pdf
Explain how the case of Lehman Brothers illustrates how it is diffic.pdf
infoeyecare
 
During phagocytosis, what may fuse with the vacuole to further degrad.pdf
During phagocytosis, what may fuse with the vacuole to further degrad.pdfDuring phagocytosis, what may fuse with the vacuole to further degrad.pdf
During phagocytosis, what may fuse with the vacuole to further degrad.pdf
infoeyecare
 

More from infoeyecare (20)

What is ransomware How can these cyber-attacks result in data loss.pdf
What is ransomware How can these cyber-attacks result in data loss.pdfWhat is ransomware How can these cyber-attacks result in data loss.pdf
What is ransomware How can these cyber-attacks result in data loss.pdf
 
What are the 3 ways a Java method must match with its definition and.pdf
What are the 3 ways a Java method must match with its definition and.pdfWhat are the 3 ways a Java method must match with its definition and.pdf
What are the 3 ways a Java method must match with its definition and.pdf
 
Using the Internet, compare and contrast two commercially available .pdf
Using the Internet, compare and contrast two commercially available .pdfUsing the Internet, compare and contrast two commercially available .pdf
Using the Internet, compare and contrast two commercially available .pdf
 
uetator Periodic Table Question 6 of 30 Incorrect Incorrect DA Saplin.pdf
uetator Periodic Table Question 6 of 30 Incorrect Incorrect DA Saplin.pdfuetator Periodic Table Question 6 of 30 Incorrect Incorrect DA Saplin.pdf
uetator Periodic Table Question 6 of 30 Incorrect Incorrect DA Saplin.pdf
 
The starship Epidemiology Team has cone many missions exploring the u.pdf
The starship Epidemiology Team has cone many missions exploring the u.pdfThe starship Epidemiology Team has cone many missions exploring the u.pdf
The starship Epidemiology Team has cone many missions exploring the u.pdf
 
Question 3)Perform a regression analysis using compa as the depend.pdf
Question 3)Perform a regression analysis using compa as the depend.pdfQuestion 3)Perform a regression analysis using compa as the depend.pdf
Question 3)Perform a regression analysis using compa as the depend.pdf
 
Problems in PYTHON3.5 1. Define a function sumOfDigits that has one .pdf
Problems in PYTHON3.5 1. Define a function sumOfDigits that has one .pdfProblems in PYTHON3.5 1. Define a function sumOfDigits that has one .pdf
Problems in PYTHON3.5 1. Define a function sumOfDigits that has one .pdf
 
Only a very small percentage of organisms actually fossilize. Based o.pdf
Only a very small percentage of organisms actually fossilize. Based o.pdfOnly a very small percentage of organisms actually fossilize. Based o.pdf
Only a very small percentage of organisms actually fossilize. Based o.pdf
 
package lab7; import java.util.Scanner; Sammy Student, Program.pdf
package lab7; import java.util.Scanner; Sammy Student, Program.pdfpackage lab7; import java.util.Scanner; Sammy Student, Program.pdf
package lab7; import java.util.Scanner; Sammy Student, Program.pdf
 
Odin and Zeus travel to the outermost reaches of our galaxy using wa.pdf
Odin and Zeus travel to the outermost reaches of our galaxy using wa.pdfOdin and Zeus travel to the outermost reaches of our galaxy using wa.pdf
Odin and Zeus travel to the outermost reaches of our galaxy using wa.pdf
 
Many new species of desert have arisen from a population which was .pdf
Many new species of desert  have arisen from a  population which was .pdfMany new species of desert  have arisen from a  population which was .pdf
Many new species of desert have arisen from a population which was .pdf
 
List and analyze some of the most salient social factors of group un.pdf
List and analyze some of the most salient social factors of group un.pdfList and analyze some of the most salient social factors of group un.pdf
List and analyze some of the most salient social factors of group un.pdf
 
J. A. Moore investigated the inheritance of spotting patterns in leop.pdf
J. A. Moore investigated the inheritance of spotting patterns in leop.pdfJ. A. Moore investigated the inheritance of spotting patterns in leop.pdf
J. A. Moore investigated the inheritance of spotting patterns in leop.pdf
 
In making your determination with the BP oil spill, what were the pr.pdf
In making your determination with the BP oil spill, what were the pr.pdfIn making your determination with the BP oil spill, what were the pr.pdf
In making your determination with the BP oil spill, what were the pr.pdf
 
I need to write a java program about translating the DNA sequenc.pdf
I need to write a java program about translating the DNA sequenc.pdfI need to write a java program about translating the DNA sequenc.pdf
I need to write a java program about translating the DNA sequenc.pdf
 
How vacancies in silicon affect its electronic propertySolution.pdf
How vacancies in silicon affect its electronic propertySolution.pdfHow vacancies in silicon affect its electronic propertySolution.pdf
How vacancies in silicon affect its electronic propertySolution.pdf
 
How do people usually respond to externalities regarding public good.pdf
How do people usually respond to externalities regarding public good.pdfHow do people usually respond to externalities regarding public good.pdf
How do people usually respond to externalities regarding public good.pdf
 
Does mitosis favor genetic diversity or not. And whySolutionM.pdf
Does mitosis favor genetic diversity or not. And whySolutionM.pdfDoes mitosis favor genetic diversity or not. And whySolutionM.pdf
Does mitosis favor genetic diversity or not. And whySolutionM.pdf
 
Explain how the case of Lehman Brothers illustrates how it is diffic.pdf
Explain how the case of Lehman Brothers illustrates how it is diffic.pdfExplain how the case of Lehman Brothers illustrates how it is diffic.pdf
Explain how the case of Lehman Brothers illustrates how it is diffic.pdf
 
During phagocytosis, what may fuse with the vacuole to further degrad.pdf
During phagocytosis, what may fuse with the vacuole to further degrad.pdfDuring phagocytosis, what may fuse with the vacuole to further degrad.pdf
During phagocytosis, what may fuse with the vacuole to further degrad.pdf
 

Recently uploaded

MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
goswamiyash170123
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
Celine George
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
ak6969907
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
EugeneSaldivar
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
ArianaBusciglio
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
Bisnar Chase Personal Injury Attorneys
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
IreneSebastianRueco1
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
AG2 Design
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Ashish Kohli
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
Nguyen Thanh Tu Collection
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
ArianaBusciglio
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
Peter Windle
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
Celine George
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
tarandeep35
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
RitikBhardwaj56
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
Thiyagu K
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
amberjdewit93
 

Recently uploaded (20)

MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdfMASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
MASS MEDIA STUDIES-835-CLASS XI Resource Material.pdf
 
How to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP ModuleHow to Add Chatter in the odoo 17 ERP Module
How to Add Chatter in the odoo 17 ERP Module
 
World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024World environment day ppt For 5 June 2024
World environment day ppt For 5 June 2024
 
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...TESDA TM1 REVIEWER  FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
TESDA TM1 REVIEWER FOR NATIONAL ASSESSMENT WRITTEN AND ORAL QUESTIONS WITH A...
 
Group Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana BuscigliopptxGroup Presentation 2 Economics.Ariana Buscigliopptx
Group Presentation 2 Economics.Ariana Buscigliopptx
 
Top five deadliest dog breeds in America
Top five deadliest dog breeds in AmericaTop five deadliest dog breeds in America
Top five deadliest dog breeds in America
 
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
RPMS TEMPLATE FOR SCHOOL YEAR 2023-2024 FOR TEACHER 1 TO TEACHER 3
 
Delivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and TrainingDelivering Micro-Credentials in Technical and Vocational Education and Training
Delivering Micro-Credentials in Technical and Vocational Education and Training
 
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
Aficamten in HCM (SEQUOIA HCM TRIAL 2024)
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
BÀI TẬP BỔ TRỢ TIẾNG ANH GLOBAL SUCCESS LỚP 3 - CẢ NĂM (CÓ FILE NGHE VÀ ĐÁP Á...
 
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Assignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docxAssignment_4_ArianaBusciglio Marvel(1).docx
Assignment_4_ArianaBusciglio Marvel(1).docx
 
A Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in EducationA Strategic Approach: GenAI in Education
A Strategic Approach: GenAI in Education
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
How to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold MethodHow to Build a Module in Odoo 17 Using the Scaffold Method
How to Build a Module in Odoo 17 Using the Scaffold Method
 
S1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptxS1-Introduction-Biopesticides in ICM.pptx
S1-Introduction-Biopesticides in ICM.pptx
 
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...The simplified electron and muon model, Oscillating Spacetime: The Foundation...
The simplified electron and muon model, Oscillating Spacetime: The Foundation...
 
Unit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdfUnit 8 - Information and Communication Technology (Paper I).pdf
Unit 8 - Information and Communication Technology (Paper I).pdf
 
Digital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental DesignDigital Artefact 1 - Tiny Home Environmental Design
Digital Artefact 1 - Tiny Home Environmental Design
 

10.1) #3Will linear search work on any input array Explain.So.pdf

  • 1. 10.1) #3 Will linear search work on any input array? Explain. Solution Will linear search work on any input array yes, It works any input array: sorted and un-sorted array In linear search, we start searchinf from first(begining) element of the array and we keep on searching until we do not find till end. So order of element in array does not matter for linear search.