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
NNADVOKAT [17]
3 years ago
7

If a binary search is applied to an array with 1024 elements, in the worst case, the main loop executes, approximately, _____.

Computers and Technology
1 answer:
trasher [3.6K]3 years ago
7 0

Answer:

10.

Explanation:

Binary search divides the array to be search each in half according to the value of the element.

The worst case time complexity of binary search is O(logN).

In this case the time complexity will come out to be log₂(1024)=10.

So the binary search can divide this array in half maximum of 10 times.

Hence the main loop will executes 10 times.

You might be interested in
Computer ethis are crime done using computer technology (true )and(false)​
aliya0001 [1]

computer ethis are crime done using computer technology (true )and(false)

answer- true

8 0
3 years ago
Your worksheet contains confidential information in column C; to prevent others who use your worksheet from seeing the data, you
emmainna [20.7K]
To prevent others who use your worksheet from seeing the data you can hide column C
5 0
2 years ago
HELP ME PLEASE
rosijanka [135]

Answer:

Variable, operator, expression, value.

Explanation:

We could use variables, operators, expressions, and values in a mathematical formula, we're going to do an example with every part.

For this example we're going to use a simple sum formula:

First, we have 3 variables:

sum;

sum1;

sum2;

Second, we have 3 operators:

=, + and *

Third, we have our expression and 1 value:

sum = sum1 + (sum2 * 5);

(sum2 * 5) = expression;

5 = value;

We're going to see the result when we print the variable sum.

8 0
3 years ago
Read 2 more answers
Your job as a researcher for a college is going well. You have gained confidence and skill at pulling data and you are not makin
Georgia [21]

Answer:

Check the explanation

Explanation:

Following are the things to be implemented immediately

Database should be maintained centralized manner so that any one can access data. Number should be given at the time of admission it should contain year of admission,course of admission …etc in the form of code eg. 2015FW1001 means year 2015 Fashion studies Winter admission no 1001. At the time of admission only they have to give the details of military status. Department which taking care of this issue should only have the permission to modify and delete the data. All the departments should be connected to the server by internet/intranet/network. Students should be given user id and password

Same database should be connected and given access through internet also with limited privileges so that user can update their status of military by submitting proof. By these information uploaded centralized administrative department update the status if they satisfied with the documents uploaded.

We can overcome the problem of mil status by giving the freedom to the student update their military status by uploading the documents.

7 0
3 years ago
Which is not a characteristic of system testing?
alexandr1967 [171]

Answer:

Characteristics of system testing include;

1. It is the first full assessment of a complete software package.

2. It evaluates the functional, non-functional, and business requirements of a software package.

3. It is similar to black-box testing.

4. It is done by a team of specialized software testers.

5. It helps to ensure the optimal performance of the software after it is deployed.

Explanation:

System testing is a form of software testing that is done to evaluate the full software package before deployment. The testing is done on the basis of some standards and specifications that had been previously established. It is the first testing that is done in a series of software ware testing. This system testing ensures that the functional, business, and non-functional requirements of a software package are met.

It minimizes the problems that are likely to be experienced by a software program that goes unchecked. One such problem is troubleshooting. It is a very important test that should be performed on any developed software.

3 0
4 years ago
Other questions:
  • A. True
    6·1 answer
  • Why are businesses willing to provide more goods at higher prices
    13·1 answer
  • The cold war actually helped in the development of the internet true or false
    8·1 answer
  • Write a function called first_last that takes a single parameter, seq, a sequence. first_last should return a tuple of length 2,wh
    14·1 answer
  • 9. What is composition? Why is composition important?
    11·1 answer
  • A. Write a program that asks the user to enter an integer, then prints a list of all positive integers that divide that number e
    11·1 answer
  • Software is nothing but a piece of code or set of instructions written in a chip to run a hardware device on the Computer. O Tru
    14·1 answer
  • Select the correct answer.
    14·2 answers
  • Write a brief description of what the local authorities are recommending in the news people should do to protect themselves from
    8·1 answer
  • Which letter shows the ball when it has the maximum kinetic energy
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!