<span>Dispute who should be the leader of the Muslims after the death of Mohammed.<span> </span></span>
Answer:
The program only runs 5 five since the for loop statement is limited to loop only five times.
Explanation:
In programming, a for-loop statement is used to repeat a collection of events a definite number of times. The number of loops is specified and compared with a variable to execute a block of code.
The for-loop statement in the code above declares and initializes a variable "i" to zero, runs the block of code, and increments by one if it is less than 5.
To make it run eight times, the value five should be changed to 8 instead.
Answer:
(a) yes, this protocol allows only serializable schedules for transactions as due to this the system maintains it's consistency. As in this protocol a unique transaction id is being assigned and with the help of that transaction id the system would be able to identify the process which has taken place in what particular order. For example, in case of bank transfers
balance = 1000 transaction id 100
write ADD 200 transaction id 101
write SUB 1100 transaction id 102
write ADD 900 transaction id 103
in here with the help of transaction id we can check which operation has happened in which order, if not then some operation will not happen like 102 immediately after 100 and skipping 101
(b) the modified version of this protocol would be to also consider the time of transaction and take this factor in the consideration
Answer:
a) Generate a new public and private key
Explanation:
You encrypt a message using the recipient's public key and the recipient decrypts the message using his own private key. Only the public key can be known by an external agent. The private key is for the individual and is not expected to be shared. In the event that the recipient cannot decrypt the message, it is unsafe to send one's private key to him. He does not even need one's private key to decrypt the message, he needs his own private key.
The best thing to do is to generate another means of security by generating new public and private key so that the sender encrypts the message with the new public key and the receiver decrypts it using his new private key.
Option B is wrong because, if the encryption is removed, the aim, which is to secure the message from intruders is not achieved.
To add or remove space before or after a paragraph, users should select the Line and Paragraph Spacing icon.