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
White raven [17]
4 years ago
9

Suppose that, on average, a certain binary search algorithm takes one second to search through 1,000 items. Approximately how lo

ng will this algorithm take to search through 4,000 items?
Computers and Technology
1 answer:
spayn [35]4 years ago
4 0

Answer:

4 seconds

Explanation:

If the binary search algorithm takes one second to search through 1000 items then, to get the time taken to search through 4000 items should be one second multiplied by 4.

Since

1000 items = 1 second

4000 items = y

-we cross multiply, we have

1000 items x y =4000 items x 1 second

-divide both sides by 1000 items to obtain the value of y, we have

y = (4000 items x 1 second) / 1000 items

y = 4 seconds.

You might be interested in
What are 25 items that trees made?
alexandr1967 [171]

Answer:

(things,can't think of more

.......)

  • paper
  • charcoal
  • doors
  • chairs
  • jewelry
  • wood frames
  • broom handles
  • furniture made with wood
6 0
3 years ago
Read 2 more answers
55 POINTS, IN JAVA
ikadub [295]

public class JavaApplication82 {

   

   public static void main(String[] args) {

       

       for (int i = 1; i <= 9; i++){

           for (int w = 0; w < i; w++){

               System.out.print("*");

           }

           System.out.println("");

           

       }

   }

   

}

This works for me.

6 0
3 years ago
Which of the following is a typical feature of forums but not of review sites?
kkurt [141]
Actually, two options are correct:

They allow private messaging. -  this is your safest option, as review sites don't offer private messaging (many rewiews are anonymous, so that would kill the point), but all forums do.
<span>

You need to sign up to be a member
</span>Actually, this is also true, as many, if not most forums do require you to sign up, so that it is visible whenever a certain person posts again - otherwise you won't know if you're talking to the same person! however, many review sites, for example reviewing doctors, let you post without signing in.
6 0
4 years ago
Read 2 more answers
A slow response when opening applications or browsing the Internet, applications that do not work properly, an operating system
blagie [28]

Answer:

C. Symptoms of malware mutation

Explanation:

They are signs that could indicate that ones system is infected by virus.

Such signs includes:

1.Slow booting or startup.

2.Low space storage.

3.Blue screen of death.

4.Slow Internet performance.

5.Sending of spam messages.

6.Disabled security.

7.Browsing error.

8.Pop-up messages.

9.Renaming of files.

10.Loss of certain files, music, messages, etc.

3 0
3 years ago
Read 2 more answers
What modifier should you use on a class so that a class in the same package can access it but a class (including a subclass) in
7nadin3 [17]

Answer:

Option (B) is the correct answer of this question.

Explanation:

In the Private access modifier we can access the property and field within the package or class we cannot accessing the member outside the class .

  • We use private keyword for declaring the private access modifier.
  • In the public access modifier we accessing the property outside the class so it's a incorrect option .
  • In the protected access modifier we access the property of class package and subpackage both so it's a incorrect option.
  • The default modifier is incorrect it not follow the given scenario so it's incorrect.
4 0
4 years ago
Other questions:
  • What is output with the statement System.out.println(x+y); if x and y are int values where x=10 and y=5? Group of answer choices
    10·1 answer
  • Some people are unable to arrange six matches to form four equilateral triangles because they fail to consider a three - dimensi
    6·1 answer
  • To create a document, you start by selecting the _____ button or option.
    7·1 answer
  • Which of the following lists contains the five essential elements of a computer?
    5·1 answer
  • Which of the following statements about arrays are true?
    10·1 answer
  • To delete a row, you must first
    11·1 answer
  • ________ is a publicly accessible website that allows users to add and edit interlinked web pages and make contributions from th
    8·2 answers
  • If you play video games, please answer these questions it’s for a survey for my game development class!!
    5·1 answer
  • Computing is the provision of IT services on demand.
    9·1 answer
  • What type of light comes from reflections off other objects?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!