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
i'm actually really smart so if u need help just ask me or leave me a comment. im 16 and my name is lexi
kicyunya [14]
Umm okay...

The density of water is 1.0 g/cm^3
Which will float in water

A.) Ice (Density = 0.92 g/cm^3) Float or sink

B.) Wood (Density = 0.45 g/cm^3) Float or sink

C.) Bone (Density = 1.7 g/cm^3) Float or sink

If you help answer this it will be much appreciated thank you
8 0
3 years ago
Read 2 more answers
Debate whether social networking is harmful or helpful to society.
Dmitriy789 [7]

Answer:

I believe that Social Networking <em>IS </em>helpful to society, but, people use it for wrong stuff.

5 0
2 years ago
TVBCA has just occupied an old historic building in downtown Pittsburgh in which 15 employees will work.
7nadin3 [17]

Answer:

A. The proposed solution delivers the required result and both optional desired results.

Explanation:

The IEEE 802.11a is the standard code of the wireless communication technology known as WIFI, it is wireless as it requires no cable to connect to a network device. The data transmission rate of the IEEE 802.11a is 1.5 - 54Mbps (mega bit per second). So, the employees in the TVBCA building can wireless connect to the network, which allows them to be mobile and they can also send large CAD files among themselves.

6 0
3 years ago
how do you make a 3d project im a huge programer and I need to know how to do it or all I do will be considered retro gaming
aivan3 [116]
Bacon, go to the bacon! WORSHIP THE BACON!!!!!!!
6 0
3 years ago
fill in the missing dtd so that an xml file containing this dtd would allow for multiple day tags within a channel and the const
alexira [117]

The DTD makes specific declarations about which elements and attributes may exist in a document and how they should be nested using a brief formal syntax.

A XML language can be defined in a variety of ways. Simple prose, a so-called Schema language, or eventually a combination of the two could be used to specify an XML vocabulary. The XML Standard defines DTDs, the most basic schema language.

The term "Document Type Definition" is used. A DTD is a language made up of rules (also known as a schema) that describes an XML application, also known as an XML vocabulary. For instance, the grammar for the XHTML 1 web markup language is formally defined in the file xhtml1-transitional.dtd, which is accessible through the XHTML 1.0 specification page.

The DTD itself is typically the most crucial component of a DTD-based markup language, but additional constraints can be included as well.

To know more about DTD click here:

brainly.com/question/17438821

#SPJ4

8 0
1 year ago
Other questions:
  • Why should you limit what information is in your digital footprint?
    12·1 answer
  • In this mode, your presentation will fill up the entire screen. Auto Default Standard Window
    6·2 answers
  • You find that you are missing a very important file. After much searching, you have determined that it is no longer on your comp
    13·2 answers
  • To check spelling errors in a document, the Word application uses the _____ to determine appropriate spelling.
    7·2 answers
  • What is the ability for a system to respond to unexpected failures or system crashes as the backup system immediately and automa
    8·1 answer
  • use the internet to research the SYSTEM account. Why is it nessesary to include this account with full control on a directory
    13·1 answer
  • Does anyone play genshin impact here?
    12·2 answers
  • Ano ang dalawang paraan sa paggawa ng abono?​
    6·1 answer
  • Which of these tools stick to the edge of an image, thus making it easy to select the shape of an image (adobe Photoshop)
    5·1 answer
  • How is information sent across the internet binary
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!