Can you search the following array using binary search?
int[] A = {6,5,4,2,0,1,-1,-17};<...
![subject](/tpl/images/cats/informatica.png)
Computers and Technology, 07.04.2020 22:05 gracieorman4
Can you search the following array using binary search?
int[] A = {6,5,4,2,0,1,-1,-17};
a. No. Binary search can be applied to a sorted array only.
b. Yes. Binary search can be applied to any array.
c. Yes, but the algorithm runs slower because the array is in descending order.
d. No, negative numbers are not allowed because they indicate that a value is not present.
![ansver](/tpl/images/cats/User.png)
Answers: 3
![](/tpl/images/ask_question.png)
![](/tpl/images/ask_question_mob.png)
Another question on Computers and Technology
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:20
The guy wire bd exerts on the telephone pole ac a force p directed along bd. knowing the p must have a 720-n component perpendicular to the pole ac, determine the magnitude of force p and its component along line ac.
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 00:30
Asecurity policy is a a. set of guidlines b. set of transmission protocols c. written document d. set of rules based on standards and guidelines
Answers: 2
![question](/tpl/images/cats/informatica.png)
Computers and Technology, 24.06.2019 07:30
Aproject involves many computing systems working together on disjointed task towards a single goal what form of computing would the project be using
Answers: 3
You know the right answer?
Questions
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/en.png)
English, 29.09.2019 14:30
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 29.09.2019 14:30
![question](/tpl/images/cats/ekonomika.png)
![question](/tpl/images/cats/User.png)
SAT, 29.09.2019 14:30
![question](/tpl/images/cats/en.png)
![question](/tpl/images/cats/en.png)
English, 29.09.2019 14:30
![question](/tpl/images/cats/biologiya.png)
![question](/tpl/images/cats/en.png)
English, 29.09.2019 14:30
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 29.09.2019 14:30
![question](/tpl/images/cats/geografiya.png)
Geography, 29.09.2019 14:30
![question](/tpl/images/cats/obshestvoznanie.png)
Social Studies, 29.09.2019 14:30
![question](/tpl/images/cats/mat.png)
![question](/tpl/images/cats/geografiya.png)
Geography, 29.09.2019 14:30
![question](/tpl/images/cats/biologiya.png)
Biology, 29.09.2019 14:30
![question](/tpl/images/cats/pravo.png)
Law, 29.09.2019 14:30
![question](/tpl/images/cats/en.png)
English, 29.09.2019 14:30
![question](/tpl/images/cats/istoriya.png)
History, 29.09.2019 14:30
![question](/tpl/images/cats/mat.png)
Mathematics, 29.09.2019 14:30
![question](/tpl/images/cats/himiya.png)
Chemistry, 29.09.2019 14:30