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
postnew [5]
3 years ago
11

Suppose we have two threads inserting keys using insert() at the same time. 1. (5 points) Describe the exact sequence of events

(i.e, the order that the statements in insert() would have to be run by each thread) that results in a key getting lost.
Computers and Technology
1 answer:
Leona [35]3 years ago
8 0

Answer:

Say you have a key in a dictionary, or a key in a 2-d list. When you insert(), you are destructively iterating the original list and modifying it to reflect the insert() component. In order for the key to get lost you would have to do say insert(len: :1) which would remove the second key and therefore cause it to get "lost" because it will be destructivsly removed from its assignment and replaced by whatever you choose to insert.

Rate positively and give brainlist

You might be interested in
Which descriptions offer examples of Correction Services workers? Select all that apply.
lutik1710 [3]

B.) Doug supervises Jailers and makes sure their work meets standards.

E.) Rudy monitors people who are on probation and parole.

F.) Nancy guards inmates in a prison.

4 0
3 years ago
Amy, a project manager, needs to make a plan that ensures consistent delivery of the right message to the right people at the ri
AleksAgata [21]
I would have to say the answer is D.) A communication plan. Hope this helps! :-)
7 0
3 years ago
Suppose we are comparing the implementations of insertion sort and merge sort on the same machine(You don’t need to know the alg
Anuta_ua [19.1K]

Answer:

123456789o0

Explanation:

4 0
3 years ago
What were the results of Dr.bjork's experiment
Mademuasel [1]

Answer:

Studying in different rooms seemed to improve a persons memory

8 0
2 years ago
How do you make the "Colorize" feature in GIMP consistent if you cannot connect the different places? Brainliest if you also exp
Brums [2.3K]

Ah, that's easy. You have to select certain parts by using the Free Select tool. Use colorize. Then select the next part and use colorize, but choose the latest used PRESET color to be consistent.

To cut out parts of the image, duplicate your layer without colorization and colorize the top layer. If you have already colorized, put the duplicate as the top layer and click Base Image on the edit history for your original, which is the bottom layer. Use Free Select then click Scissor Select and press the delete button on your keyboard to remove an area, then switch from top layer to bottom layer and use colorize.

6 0
3 years ago
Read 2 more answers
Other questions:
  • The inflexible, circular platters on ____ disks use magnetic particles to store data, instructions, and information.
    5·1 answer
  • What is the difference between images and pictures
    6·1 answer
  • After a file downloads, you can do any of the following except
    13·1 answer
  • A network on the internet has a subnet mask of 255.255.240.0. what is the maximum number of hosts it can handle
    5·1 answer
  • To provide both encryption and integrity protection, wpa2 uses aes encryption with:
    12·1 answer
  • To run a PHP application that has been deployed on your own computer, you can enter a URL in the address bar of your browser tha
    13·1 answer
  • (True/False). If the definition of an IS is the medium for recording and storing data, and disseminating information, this would
    12·2 answers
  • How do i cancle my account on brainly
    11·1 answer
  • Click/press _______ to remove the most recently typed text.
    12·2 answers
  • From the philosophical standpoint, especially in the discussion of moral philosophy or ethics, why do we consider “murder” or “k
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!