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
ddd [48]
3 years ago
6

Suppose we are sorting an array of eight integers using quicksort, and we have just finished the first partitioning with the arr

ay looking like this: 2 5 1 7 9 12 11 10, which statement is correct?
a. The pivot could be 7, but it is not 9.
b. The pivot could be 9 but not 7.
c. The pivot could be either 7 or 9.
d. Neither 7 nor 9 is the pivot.
Computers and Technology
1 answer:
Mila [183]3 years ago
6 0

Answer:

c. The pivot could be either 7 or 9.

Explanation:

Since we are trying to sort an array of eight integers using quick sort, from the first partitioning it shows that the pivot or the central point can either be 7 or 9. When you look at the array, it is only 7 and 9 that are placed correctly in the sorted array. Every element to the left of 7 and 9 are smaller and every element on the right of 7 and 9 are integers higher than them. Hence this shows that the pivot lies between 7 or 9.

You might be interested in
Pls answer this
trapecia [35]

Answer:

It looks like an Acme thread.

Explanation:

5 0
3 years ago
You can italicize a word by selecting it and clicking the Italics icon. What keyboard shortcut could you use instead of clicking
bogdanovich [222]
If I were you, I would just try each of these. But the actual answer is C. Ctrl+U
The first one is used to copy the text (C-Copy)
The second one bolden your text (B-bold)
The last one is used to manage the scale.


7 0
3 years ago
Which of the following best describes a hacktivist? Select one: a. An individual who attempts to destroy the infrastructure comp
brilliants [131]

Answer: (B) An individual who hacks computers or Web sites in an attempt to promote a political ideology

Explanation:

 Hacktivist is the defined as an individual that basically hacks the various types of web sites and computer system for promoting the various political ideologies. The hacktivists is the method which include the DDOS attacks (Distributed denial of services).

It basically causes various website and the email with the congestion of traffic with the computer virus and by the data stealing. The denial of services attacks typically considered federal crime and illegal in united state.  

4 0
4 years ago
Which action does not happen in each iteration of the repeat loop in the
iren2701 [21]

B. The number of sharks decreases. Explanation: hope it's help i learned about it and you too

7 0
3 years ago
Please tell fast plzzzzz​
taurus [48]

Answer:

it can be anything from attachments/images or links

Explanation:

8 0
3 years ago
Read 2 more answers
Other questions:
  • A user has a PC with RAID configuration and reports slow computer performance. A technician uses the manufacture’s diagnostic so
    12·1 answer
  • Define a public class named Sample with two instance variables: an int called count and a String called name. Provide a complete
    7·1 answer
  • Maggie is preparing a business report. Which types of keys will she use to type out words and numbers?
    9·1 answer
  • What are the pros and cons of using the internet in a medical office setting?
    7·1 answer
  • What security principle does a firewall implement with traffic when it does not have a rule that explicitly defines an action fo
    13·1 answer
  • When computing the cost of the basket of goods and services purchased by a typical consumer, which of the following changes from
    11·1 answer
  • What are the 6 major forms that Energy can be grouped into?
    10·1 answer
  • Conduct research to determine the best network design to ensure security of internal access while retaining public website avail
    9·1 answer
  • A website for a certain political party or candidate is likely to have unbiased
    6·1 answer
  • With _________, it is easy to target a specific geographic location. Which answer completes the blank in the sentence?
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!