1. Write a truth table for 3 1-bit inputs, A, B, and CI, adder circuit whose outputs are S and CO. Write a sum-of-products form expression for S and CO. Simplify the expressions as much as you can. Draw the circuit using AND, OR, and NOT gates.2. A 4-bit (X,Y,Z, and W) input to seven segment display circuit was discussed in the class. Write expressions for all the seven functions and simplify them as much as you can. Draw the circuits using AND, OR, and NOT gates.