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
Minchanka [31]
3 years ago
9

can anyone sub to my youttube channel pls, its called Yakobu, and Im trying to reach 100 subs by the end of the month :)

Computers and Technology
1 answer:
allsm [11]3 years ago
3 0

Answer:

Sure

Explanation:

You might be interested in
5.14 Describe how the compare and swap() instruction can be used to provide mutual exclusion that satisfies the bounded-waiting
Naddik [55]

Answer:

Explained below

Explanation:

Compare and Swap(C&S) is simply an atomic operation whereby the compare and swap operations are automatically executed.

Now compare and Swap basically needs 3 arguments namely:

- 2 old values which we will label X and Y

- 1 new value which is written in X that we will call Z

Thus, we now have; C & S = {X, Y, Z}

To explain this well, let X be a variable where X has a value of 7.

Now, if a programmer gives a program me that X be multiplied by 2,then what C&S operation will do is;

I) Y = X where Y is a new variable.

II) Result = C&S(X, Y, X*7)

Variable X is global and this means that mere than one process and more than 1 thread can see the variable X.

Now, if a process named P1 wants multiply the variable X by 7 using C&S operation, it will first make a local copy of variable X (which in this case is now the new variable Y). After that it will atomically compare X & Y and if they are equal, it will replace X with 10X.

However, if they are not equal, P1 will re-read value of X into Y and carry of C&S instruction again.

8 0
3 years ago
having one password for all accounts is an easy way to remember passwords, but it will expose you to what risk?
VLD [36.1K]
If all accounts you have have the same password, then if someone gets the password to one account, then that person has access to all your accounts.
4 0
3 years ago
The variable strFirst's scope is _____.
sp2606 [1]
Pretty sure it’s d, hope this helps
3 0
3 years ago
What is the default letter assigned for the primary hard drive?
SVETLANKA909090 [29]

d drive i think unless ssd

8 0
3 years ago
Consider a drive that states: LBA = 976,562,500. Demonstrate, in writing, how you would calculate the total capacity of this dri
yarga [219]

I guess the correct answer is 465.66 GB

Solution,

1024x1024x1024 = 1073741824 Bytes per gigabyte

976562500x512 = 500,000,000,000

500,000,000,000/1073741824 = 465.66 GB

7 0
3 years ago
Other questions:
  • What type of data visual would you use to illustrate trends over time? Gantt chart Bar graph Line chart Scatter diagrams
    5·1 answer
  • Given a int variable named yesCount and another int variable named noCount and an int variable named response write the necessar
    6·1 answer
  • The number of square units required to cover a surface.
    13·1 answer
  • What helped Taylor through her tough time with being bullied
    7·1 answer
  • Rick needs to find the lowest number in a set of numbers that includes decimals. Which statistical function in a spreadsheet wil
    9·2 answers
  • Respecting yourself and others, educating yourself and connecting with others, and protecting yourself and others are all aspect
    11·1 answer
  • Cheri needs to write a small program that interacts with the user. What step will allow her to do this?
    14·2 answers
  • What number system that has 16 numerals
    11·2 answers
  • Who is tim berners-lee
    14·2 answers
  • Can someone take away your points
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!