1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
artcher [175]
3 years ago
15

If an unsorted list of numbers is to be searched for a particular number only once, which of the following is more efficient (fa

ster)? Group of answer choices Do not sort the list. Do a bisection search. Sort the list first, then do a bisection search. Do not sort the list. Do a linear search. Sort the list first, then do a linear search.
Computers and Technology
1 answer:
Westkost [7]3 years ago
7 0

Answer:

Sort the list first, then do a bisection search

Explanation:

In bisection search method, we divide the array of numbers in two equal parts. Then we check that the number is exist in first half or second half. It is necessary to perform this operation that array should sorted. This is the fast searching algorithm as compared to Linear search. In linear search Algorithm we have to check every element in the array until we find the required number. The bisection search method is faster as compare to linear search. This follows following steps top complete the operation of searching.

  1. Sort the array
  2. Divide the total array in two equal parts
  3. Check that the required number that we want to search is in first half or second half
  4. If the number is found in first half then second half of array will be discarded.
  5. Then repeat step 2 and 3 until not found the required element.
You might be interested in
When might you use the Internet without accessing the World Wide Web?
harina [27]
Jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
5 0
3 years ago
A word feature that joins a data source and a main document to create a customized document is: combine documents. data merge. m
I am Lyosha [343]
Perhaps it is mail merge
5 0
4 years ago
A review of the sales, costs, and profit projections for anew product to find out whether these factors satisfy the company'sobj
soldier1979 [14.2K]

Answer: Business analysis

Explanation:

Business analysis is the review of the sales, costs, and profit projections for a new product to find out whether these factors satisfy the company's objectives.

Based on the business analysis a company is able to set a marketing strategy for a better promotion of its products. So this step is particularly very important.

7 0
3 years ago
Write down the pseudo code for a brute-force algorithm to compare elements in array A with elements in array B.
Thepotemich [5.8K]

Answer:

def brute_force(array1, array2):

   for item in array1:

       for element in array 2:

           if element == item:

               print(f"{element} and {item} are a match")

Explanation:

A brute-force algorithm is a direct-to-solution algorithm that searches and compares variables. It is like trying to unlock a safe but not knowing its four-digit combination, brute-force starts from 0000 through 9999 to get a match.

The python program implements the algorithm using two nested for loops. The first loop iterates over array1 while the second, over array2. For every item in the first array, the program loops through the length of the second array. For every match, the items are printed on the screen.

5 0
3 years ago
Q1. Which implementation of Network Access Control checks users' credentials to determine what level of access they should have
sesenic [268]

Answer:

3. RBAC

Explanation:

6 0
3 years ago
Other questions:
  • If the test statistic for a small sample difference of means test is t* = 2.045, we could reject the Null Hypothesis at alpha =
    9·1 answer
  • Identify characteristics of top-down programming design. Choose all that apply.
    13·1 answer
  • Write a function called matches that takes two int arrays and their respective sizes, and returns the number of consecutive valu
    6·1 answer
  • How does knowing the player type you are impact your game designing?
    6·1 answer
  • The loop body instructions in the _____ statement always are processed at least once.
    6·1 answer
  • 1. We want to add a button to the tally counter in Section 9.2 that allows an operator to undo an accidental button click. Provi
    8·1 answer
  • [5]Suppose a 1,600 kg car is traveling at 20.0 m/s. What average force is needed to stop the car in 4.0 s?
    8·2 answers
  • What is a list of things we use programming for??? longest gets brainly
    5·1 answer
  • HC - AL-Career Preparedness
    8·1 answer
  • Write and test a program that computes the area of a circle. This program should request a number representing a radius as input
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!