subject

1.An algorithm used to find a value in an array is called a . 2.A search algorithm returns the element that we’re searching for, rather than the index of the element we’re searching for.
A. True
B. False
3.Suppose we used our searching algorithm to look for a specific element in a list. The algorithm returned -1. What does this mean?

A. Our algorithm found the element we were looking for which is -1.
B. Our algorithm did not find the element we were looking for.
C. Our algorithm found the element, but could not determine the index.
D. Our algorithm found the element at index -1.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 14:40
You begin your first day of responsibilities by examining the recent is security breach at gearup to get ideas for safeguards you will take. at gearup, criminals accessed the company's improperly-secured wireless system and stole customers' credit card information as well as employee social security numbers. what kind of computer crime did gearup face?
Answers: 3
question
Computers and Technology, 22.06.2019 16:20
Octothorpe is another name for what common computer keyboard symbol?
Answers: 1
question
Computers and Technology, 22.06.2019 22:00
Competent nonverbal communication involves interacting with others in a manner that is appropriate for which of the following? select all that apply. situation task individuals
Answers: 3
question
Computers and Technology, 23.06.2019 05:00
Jason works as an accountant in a department store. he needs to keep a daily record of all the invoices issued by the store. which file naming convention would him the most?
Answers: 2
You know the right answer?
1.An algorithm used to find a value in an array is called a . 2.A search algorithm returns the elem...
Questions
question
History, 25.07.2019 13:00