Bob Kahn and Vint Cerf were both pioneers of the Internet, and Tim Berners-Lee was known for inventing the WWW.
The answer is a) It improves upon the two-phased commit by requiring that locks be acquired at the start of a transaction.
Reason: The 3PC is an extension or you can say developed from 2PC that avoids blocking of an operation. It just ensures that first n sites have intended to commit a transaction that means it acquires commits or locks before the start of any transaction to avoid any blocking.
Option b) is wrong as it does not allow coordination, it just let all the other sites do their transaction if any other site is blocked, so no coordination is there between sites that they will wait till their coordinator is corrected.
Option c) is wrong as lock operations are shared between other connections as when their coordinator fails, the new coordinator agrees to the old coordinator that they had shared locks before and they can start their transaction.
Option d) is wrong as option a) is correct.
If you like the answer, please upvote.
I think it’s number 1. Check the answer first.
C.apple domain is to use the personal sharing files from one computer to another computer
Answer:
The program to this question can be defined as follows:
Program:
num=int(input("Enter any number: ")) #defining variable num, that take value from user
val=0; #defining variable val
for i in range(num): #defining loop to calculate value in decreasing order
val=num-i; #holding value in variable
print(val) #print value
Output:
Enter any number: 3
3
2
1
Explanation:
In the above-given code, a variable "num" is declared, that uses input function to take value from the user end, in the next line a "val" variable is defined, that calculates values and print it in decreasing order.
- In the next step, a for loop is declared, inside the loop a "val" variable uses num and loop variable "i" to calculate the value in decreasing order.
- In the last print method is used that prints "val" variable value.