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:
        if (option1.equals(option2)){
            rsvp = true;
        }
        System.out.println(rsvp);
A full program is given in the explanation section
Explanation:
import java.util.Scanner;
public class Option {
    public static void main(String[] args) {
        boolean rsvp = false;
        int selection;
        String option1,option2;
        Scanner in = new Scanner(System.in);
        option1 = in.next();
        option2 = in.next();
        if (option1.equals(option2)){
            rsvp = true;
        }
        System.out.println(rsvp);
    }
}
 
        
             
        
        
        
Answer:
Explanation:
The study of the properties of solid materials and how those properties are determined by a material’s composition and structure is material science.
 
        
                    
             
        
        
        
If you include all zeroes, then it should be 1,000,000,000. Otherwise it’s 999,999,999. 
Think of how between 0-9 theres 10 numbers, and use that logic towards 000000000-999999999