Question 2: (30 points) Given the logic function F(A,B,C,D) = Σm(1,2,3,4,9,10,11,12)
i) Write the truth table of the logic function.
ii) Use the Karnaugh-map method to find the simplest sum-of-products (SOP) expression of function F.
iii) Implement the minimized function with NAND gates only.
iv) Show that the Boolean function F can be constructed using exclusive-OR gates.