(i) Given the Boolean function F(A,B,C,D) = ∑(2, 3, 6, 7, 8, 10, 12, 14, 15).
  (a) Reduce the above expression by using 4-variable Karnaugh map, showing 
  the various groups (i.e., octal, quads and pairs).
  (b) Draw the logic gate diagram for the reduced expression. Assume that the 
  variables and their complements are available as inputs. 
  (ii) Given the Boolean function F(A,B,C,D) = π(0, 1, 2, 4,5, 8, 10, 15, 14, 15),
  (a) Reduce the above expression by using 4-variable Karnaugh map, showing
  the various groups (i.e., octal, quads and pairs).
  (b) Draw the logic gate diagram for the reduced expression. Assume that the
  variables and their complements are available as inputs 
                    
                    
            
            Solution
                 
  (i) 
  
     
  
  
  
     
  
  (ii)
  
     
  
  
  
     
  
   
  
  
            
            
  
  (ii)